/* ============================================
   ZIMA EXPERIENCE — Digital Brand Agency
   Hybrid: Dark Hero + Light Content
   ============================================ */

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --cream: #f5f0ea;
    --warm-white: #faf8f5;
    --gold: #c4a265;
    --gold-dim: rgba(196, 162, 101, 0.3);
    --text-dark: #1a1a1a;
    --text-muted: #6b6560;
    --text-light: #f5f0ea;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Syne', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

/* ---- Section Utilities ---- */
.section-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1.5rem;
}

.section-tag--light {
    color: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
}

.section-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ---- Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream);
    position: relative;
    transition: opacity 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}

.nav-links a:hover {
    opacity: 0.8;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--cream);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 4px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -4px);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Hero Split Slideshow */
.hero-split {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 4px;
}

.hero-col {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.hero-col .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-col .hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.5) 0%,
        rgba(10, 10, 10, 0.2) 40%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 clamp(24px, 5vw, 80px);
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    transition-delay: 0.2s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 2rem;
}

.hero-title em {
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
}

.hero-line {
    display: block;
}

.hero-title .reveal {
    transition-delay: 0.4s;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    font-weight: 400;
    color: rgba(245, 240, 234, 0.6);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
    transition-delay: 0.6s;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ---- About ---- */
.about {
    padding: clamp(6rem, 12vw, 10rem) 0;
    background: var(--warm-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.about-text {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ---- Services Strip ---- */
.services-strip {
    background: var(--black);
    padding: 1.5rem 0;
    overflow: hidden;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-inner span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    flex-shrink: 0;
}

.marquee-inner .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Work / Portfolio ---- */
.work {
    padding: clamp(6rem, 12vw, 10rem) 0;
    background: var(--warm-white);
}

.work-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    display: block;
    cursor: pointer;
}

.work-card--large {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
}

.work-card-img {
    position: absolute;
    inset: 0;
}

.work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out), filter 0.6s ease;
    filter: brightness(0.85);
}

.work-card:hover .work-card-img img {
    transform: scale(1.06);
    filter: brightness(0.65);
}

.work-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 100%);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s var(--ease-out);
}

.work-card:hover .work-card-info {
    transform: translateY(-8px);
}

.work-card-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 0.3rem;
    transition: font-weight 0.3s ease, letter-spacing 0.3s ease;
}

.work-card:hover .work-card-info h3 {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.work-card-info span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---- Clients ---- */
.clients {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--cream);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.client-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* ---- Contact ---- */
.contact {
    padding: clamp(6rem, 12vw, 10rem) 0;
    background: var(--dark);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.contact-sub {
    font-size: 0.95rem;
    color: rgba(245, 240, 234, 0.45);
    line-height: 1.7;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(245, 240, 234, 0.08);
    transition: border-color 0.3s ease;
}

.contact-link:first-child {
    border-top: 1px solid rgba(245, 240, 234, 0.08);
}

.contact-link:hover {
    border-color: var(--gold-dim);
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-link-value {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    color: var(--cream);
    transition: color 0.3s;
}

.contact-link:hover .contact-link-value {
    color: var(--gold);
}

/* ---- Footer ---- */
.footer {
    padding: 2rem 0;
    background: var(--black);
    border-top: 1px solid rgba(245, 240, 234, 0.05);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.footer-logo-img:hover {
    opacity: 0.7;
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(245, 240, 234, 0.2);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card--large {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .hero-split {
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
