/* =========================
   HERO
========================= */
.hero {
    padding: 7rem 0 6rem;
}

.hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: #666;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    max-width: 620px;
    font-size: 1.05rem;
    color: #444;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3 {
    font-weight: 500;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

p {
    color: #444;
}

.section-intro {
    max-width: 640px;
    margin-bottom: 3rem;
}

/* =========================
   PHILOSOPHY
========================= */
.lead {
    font-size: 1.2rem;
    color: #555;
}

.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.principle .number {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #999;
}

.closing {
    max-width: 680px;
}

/* =========================
   SERVICES
========================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
}

.service-item p {
    font-size: 0.95rem;
}

/* =========================
   WORKFLOW
========================= */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.step-number {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.12em;
}

/* =========================
   WORKS
========================= */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.work-item {
    text-decoration: none;
    color: inherit;
<<<<<<< HEAD
}

.work-item span {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

/* =========================
   CONTACT
========================= */
.contact-form {
    max-width: 520px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    font-family: inherit;
}

.contact-form button {
    padding: 0.8rem 1.2rem;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.85;
=======
}

.work-item span {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

/* =========================
   CONTACT
========================= */
.contact-form {
    max-width: 520px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    font-family: inherit;
}

.contact-form button {
    padding: 0.8rem 1.2rem;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.85;
}
/* =========================
   DARK MODE (SYSTEM BASED)
========================= */
@media (prefers-color-scheme: dark) {

    body {
        background-color: #0f0f0f;
        color: #f2f2f2;
    }

    /* Header */
    .site-header {
        background: #0f0f0f;
        border-bottom: 1px solid #222;
    }

    .main-nav a {
        color: #787878;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        background: #f2f2f2;
    }

    /* Sections */
    .section-soft {
        background: #161616;
    }

    /* Typography */
    p,
    .hero-subtitle,
    .lead,
    .section-intro {
        color: #cfcfcf;
    }

    h1, h2, h3 {
        color: #ffffff;
    }

    .hero-eyebrow,
    .principle .number,
    .step-number {
        color: #8a8a8a;
    }

    /* Services / Cards */
    .service-item p {
        color: #cfcfcf;
    }

    /* Works */
    .work-item span {
        color: #cfcfcf;
    }

    /* Forms */
    input,
    textarea {
        background: #161616;
        border: 1px solid #333;
        color: #fff;
    }

    input::placeholder,
    textarea::placeholder {
        color: #777;
    }

    /* Button */
    .contact-form button {
        background: #fff;
        color: #111;
    }

    /* Footer */
    .footer {
        border-top: 1px solid #222;
        color: #888;
    }
    .works-grid::before {
        background: linear-gradient(
            to right,
            #000000 0%,
            rgba(15, 15, 15, 0) 100%
        );
    }

    .works-grid::after {
        background: linear-gradient(
            to left,
            #000000 0%,
            rgba(0, 0, 0, 0) 100%
        );
    }
}

/* =========================
   MICRO INTERACTION — PREMIUM
========================= */

/* Global transition */
a,
button,
input,
textarea {
    transition: color 0.2s ease,
                background-color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease,
                opacity 0.2s ease;
}

/* =========================
   NAVIGATION
========================= */
.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* =========================
   BUTTON
========================= */
.contact-form button:hover {
    transform: translateY(-1px);
}

/* =========================
   SERVICE ITEM
========================= */
.service-item {
    transition: transform 0.25s ease;
}

.service-item:hover {
    transform: translateY(-4px);
}

/* =========================
   WORK ITEM
========================= */
.work-item img {
    transition: transform 0.4s ease;
}

.work-item:hover img {
    transform: scale(1.03);
}

.work-item span {
    transition: opacity 0.25s ease;
}

.work-item:hover span {
    opacity: 0.7;
}

/* =========================
   FORM FOCUS
========================= */
input:focus,
textarea:focus {
    outline: none;
    border-color: #111;
}

/* =========================
   ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
/* =========================
   EDITORIAL SPACING PASS
========================= */

/* Section rhythm */
section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

/* Section header spacing */
section h1,
section h2 {
    margin-bottom: 1.2em;
}

.section-intro {
    margin-bottom: 4rem;
}

/* Hero refinement */
.hero h1 {
    max-width: 14ch;
}

.hero-subtitle {
    margin-top: 2rem;
}

/* Philosophy */
.philosophy-hero h1,
.philosophy-hero h2 {
    max-width: 20ch;
}

.lead {
    margin-top: 1.5rem;
}

.intro {
    max-width: 60ch;
    margin-bottom: 4rem;
}

/* Principles spacing */
.principles {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.principle h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
}

.principle p {
    max-width: 48ch;
}

/* Services */
.services-grid {
    margin-top: 4rem;
}

.service-item h3 {
    margin-bottom: 0.8rem;
}

/* Workflow */
.workflow-steps {
    margin-top: 4rem;
}

.step p {
    max-width: 32ch;
}

/* Works */
.works-grid {
    margin-top: 3.5rem;
}

.work-item span {
    margin-top: 1rem;
}

/* Contact */
.contact-form {
    margin-top: 3rem;
}

.contact-form textarea {
    min-height: 140px;
}

/* Footer breathing room */
.footer {
    margin-top: 6rem;
>>>>>>> f75ee9e0f3143bb020d689d42dc746bcf08fb114
}
/* =========================
   FLOATING SOCIAL & WHATSAPP — REFINED SIZE
========================= */

.floating-social {
    position: fixed;
    right: 24px;
    bottom: 86px;
    z-index: 999;
}

.floating-social a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-social img {
    width: 60px;      /* ⬅ lebih tegas */
    height: 60px;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-social img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* WhatsApp Floating (CTA utama) */
.floating-wa {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-wa img {
    width: 60px;      /* ⬅ jelas & percaya diri */
    height: 60px;
    transition: transform 0.2s ease;
}

.floating-wa:hover img {
    transform: translateY(-2px);
}

/* =========================
   MOBILE ADJUSTMENT
========================= */
@media (max-width: 768px) {
    .floating-social img {
        width: 60px;
        height: 60px;
    }

    .floating-wa img {
        width: 60px;
        height: 60px;
    }
}
/* =========================
   SELECTED WORKS — HORIZONTAL SCROLL
========================= */

.works-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 2rem;

    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.work-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Hide scrollbar (optional, tetap bisa scroll) */
.works-grid::-webkit-scrollbar {
    display: none;
}

.works-grid {
    scrollbar-width: none; /* Firefox */
}
/* =========================
   SELECTED WORKS — EDGE FADE
========================= */

/* Wrapper positioning */
.works-grid {
    position: relative;
}

/* Fade kiri & kanan */
.works-grid::before,
.works-grid::after {
    content: "";
    position: sticky;
    top: 0;
    width: 48px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Fade kiri */
.works-grid::before {
    left: 0;
    background: linear-gradient(
        to right,
        #000000 0%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* Fade kanan */
.works-grid::after {
    right: 0;
    background: linear-gradient(
        to left,
        #000000 0%,
        rgba(255, 255, 255, 0) 100%
    );
}
/* Desktop: tampilkan scrollbar agar jelas bisa digeser */
@media (min-width: 1024px) {
    .works-grid {
        scrollbar-width: thin; /* Firefox */
    }

    .works-grid::-webkit-scrollbar {
        height: 6px;
    }

    .works-grid::-webkit-scrollbar-track {
        background: transparent;
    }

    .works-grid::-webkit-scrollbar-thumb {
        background: #ccc;
    }
    .works-grid {
        cursor: grab;
    }

    .works-grid:active {
        cursor: grabbing;
    }
    
}
