/* ================================================================
   İNJİ ACCESSORIES — Cinematic Scroll Coming Soon
   Design System: Gold / Black / Luxury
   ================================================================ */

:root {
    --gold-100: #FBF3E0;
    --gold-200: #F5DEB3;
    --gold-300: #E8C97A;
    --gold-400: #D4A853;
    --gold-500: #C9A046;
    --gold-600: #B8860B;
    --gold-700: #8B6914;
    --gold-800: #6B4F10;
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-elevated: #1A1A1A;
    --text-primary: #F5F0E8;
    --text-secondary: rgba(245, 240, 232, 0.6);
    --text-muted: rgba(245, 240, 232, 0.35);
    --whatsapp-green: #25D366;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-ui: 'Inter', system-ui, sans-serif;
    --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--gold-600);
    color: var(--bg-primary);
}

/* ====== PARTICLES CANVAS ====== */
#particles-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ====== SCROLL PROGRESS ====== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-700), var(--gold-400), var(--gold-300));
    z-index: 1000;
    transition: none;
}

/* ====== SCENE NAV DOTS ====== */
.scene-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--gold-600);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-luxury);
    padding: 0;
}

.nav-dot span {
    width: 0;
    height: 0;
    background: var(--gold-400);
    border-radius: 50%;
    transition: all 0.4s var(--ease-luxury);
    display: block;
}

.nav-dot.active span {
    width: 6px;
    height: 6px;
}

.nav-dot.active {
    border-color: var(--gold-400);
    box-shadow: 0 0 12px rgba(212, 168, 83, 0.3);
}

.nav-dot:hover {
    border-color: var(--gold-300);
    transform: scale(1.3);
}

/* ====== SCENE BASE ====== */
.scene {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.scene__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ====== SCENE 0: HERO ====== */
.scene--hero {
    background: radial-gradient(ellipse at center bottom, rgba(184, 134, 11, 0.08) 0%, transparent 60%),
                var(--bg-primary);
}

.scene--hero .scene__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    text-align: center;
    gap: 3rem;
}

.hero__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero__line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    opacity: 0;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero__letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px);
    color: transparent;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-700), var(--gold-400));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite, heroFallback 0.8s ease-out forwards;
    animation-delay: 0s, calc(var(--i, 0) * 0.08s + 0.3s);
}

/* CSS fallback — if GSAP runs, it overrides these immediately */
.hero__letter:nth-child(1) { --i: 0; }
.hero__letter:nth-child(2) { --i: 1; }
.hero__letter:nth-child(3) { --i: 2; }
.hero__letter:nth-child(4) { --i: 3; }

@keyframes heroFallback {
    to { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
    font-family: var(--font-ui);
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.6em;
    color: var(--gold-400);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFallback 0.5s ease-out 0.8s forwards;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFallback 0.5s ease-out 1s forwards;
}

.hero__scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    position: absolute;
    bottom: 3rem;
}

.hero__scroll-cue span {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__scroll-cue svg {
    color: var(--gold-400);
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ====== STORY SCENES ====== */
.scene--story {
    background: var(--bg-primary);
}

.scene__content--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.scene--reverse .scene__content--split {
    direction: rtl;
}

.scene--reverse .scene__content--split > * {
    direction: ltr;
}

.scene__content--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    gap: 1.5rem;
}

.scene__chapter {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-600);
    opacity: 0;
    transform: translateY(20px);
}

.scene__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    color: var(--gold-300);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
}

.scene__title--large {
    font-size: clamp(3rem, 7vw, 6rem);
}

.scene__divider {
    width: 50px;
    height: 1px;
    background: var(--gold-600);
    margin: 1.5rem 0;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.scene__divider--center {
    transform-origin: center;
}

.scene__description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
}

.scene__description--center {
    max-width: 500px;
}

.scene__quote {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    font-style: italic;
    color: var(--gold-500);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(15px);
}

/* ====== IMAGE SYSTEM ====== */
.scene__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    opacity: 0;
    transform: scale(0.9);
}

.scene__image-wrapper--large {
    max-width: 500px;
}

.scene__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.scene__image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(30px);
    animation: glowPulse 4s ease-in-out infinite;
}

.scene__image-glow--intense {
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.25) 0%, transparent 70%);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ====== SCENE 4: FINALE ====== */
.scene--finale {
    background: radial-gradient(ellipse at center, rgba(184, 134, 11, 0.06) 0%, transparent 60%),
                var(--bg-primary);
}

.finale__brand {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.finale__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.25em;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-300));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s ease-in-out infinite;
}

.finale__subtitle {
    font-family: var(--font-ui);
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    font-weight: 300;
    letter-spacing: 0.6em;
    color: var(--gold-500);
    margin-top: 0.5rem;
}

.finale__coming {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
}

.finale__line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-600));
}

.finale__coming .finale__line:last-child {
    background: linear-gradient(90deg, var(--gold-600), transparent);
}

.finale__text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--gold-300);
}

/* ====== WHATSAPP BUTTON ====== */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--whatsapp-green);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-luxury);
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
    opacity: 0;
    transform: translateY(20px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn:active {
    transform: scale(0.97);
}

.whatsapp-btn__icon {
    flex-shrink: 0;
}

/* ====== CONTACT GRID ====== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    width: 100%;
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.12);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s var(--ease-luxury);
    cursor: pointer;
}

.contact-card:hover {
    background: rgba(212, 168, 83, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-3px);
}

.contact-card__icon {
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__info {
    text-align: center;
}

.contact-card__label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.contact-card__value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ====== FOOTER ====== */
.finale__footer {
    margin-top: 3rem;
    opacity: 0;
}

.finale__footer p {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .scene-nav {
        right: 1rem;
        gap: 1rem;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .nav-dot.active span {
        width: 4px;
        height: 4px;
    }

    .scene__content {
        padding: 1.5rem;
    }

    .scene__content--split {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .scene--reverse .scene__content--split {
        direction: ltr;
    }

    .scene--reverse .scene__visual {
        order: -1;
    }

    .scene__image-wrapper,
    .scene__image-wrapper--large {
        max-width: 280px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        flex-direction: row;
        text-align: left;
    }

    .contact-card__info {
        text-align: left;
    }

    .whatsapp-btn {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .hero__scroll-cue {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        letter-spacing: 0.15em;
    }

    .scene__title {
        font-size: 2rem;
    }

    .scene__title--large {
        font-size: 2.5rem;
    }
}

/* ====== REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
