/* ============================================
   The Experience Super Center — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #d46042;
    color: #fdfbf7;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #faf5ec;
}
::-webkit-scrollbar-thumb {
    background: #d46042;
    border-radius: 3px;
}

/* --- Section Label --- */
.section-label {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #d46042;
    display: block;
    margin-bottom: 0;
}

/* --- Hero Animations --- */
.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.95;
    animation: heroTitle 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(0);
    opacity: 1;
}

.hero-subtitle {
    animation: heroFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-eyebrow {
    animation: heroFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(10px);
}

.hero-cta {
    animation: heroFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-image {
    animation: heroImage 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroTitle {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroImage {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Scroll Line --- */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 12px; }
    50% { opacity: 1; height: 20px; }
}

/* --- Navbar --- */
.nav-text {
    color: #1c1917;
}

#navbar.scrolled .nav-text {
    color: #1c1917;
}

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* --- Reveal Animations --- */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up[data-revealed="false"] {
    opacity: 0;
    transform: translateY(40px);
}

/* --- Menu Items --- */
.menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item:hover h3 {
    color: #d46042;
    transform: translateX(8px);
}

.menu-item h3 {
    transition: all 0.3s ease;
}

/* --- Mobile Links --- */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* --- Vertical Text --- */
.writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* --- Image Hover --- */
img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up {
        opacity: 1;
        transform: none;
    }
    
    img {
        transition: none;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    #hero {
        padding-top: 80px;
    }
    
    .section-label {
        font-size: 9px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}
