/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-ground-950: #0a0a0a;
    --color-ground-900: #111111;
    --color-ground-800: #1a1a1a;
    --color-terracotta-400: #d1806a;
    --color-terracotta-500: #c86848;
    --color-sand-100: #f9eed9;
    --color-sand-300: #eac482;
    --color-sand-500: #d9a04e;
}

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

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-terracotta-400), var(--color-sand-500));
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--color-sand-300) !important;
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

#mobile-menu.open .mobile-link {
    animation: slideIn 0.3s ease forwards;
    opacity: 1;
}

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

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

.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.375rem;
}

/* ========== HERO ========== */
.hero-orb {
    animation: float 8s ease-in-out infinite;
}

.orb-1 { animation-delay: 0s; }
.orb-2 { animation-delay: -3s; }
.orb-3 { animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(18px, -20px) scale(1.03); }
    66% { transform: translate(-12px, 14px) scale(0.97); }
}

.hero-headline {
    animation: fadeUp 0.8s ease forwards;
    opacity: 1;
}

.hero-eyebrow {
    animation: fadeUp 0.6s ease forwards;
    opacity: 1;
}

.hero-subtitle {
    animation: fadeUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

/* ========== BUTTONS ========== */
.btn-gold {
    background: linear-gradient(135deg, #c86848 0%, #d9a04e 50%, #c86848 100%);
    background-size: 200% 200%;
    color: #0a0a0a;
    border: none;
    border-radius: 100px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(200, 104, 72, 0.25), 0 0 60px rgba(217, 160, 78, 0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d9a04e 0%, #c86848 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(200, 104, 72, 0.4), 0 0 80px rgba(217, 160, 78, 0.15);
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold span,
.btn-gold svg,
.btn-gold > * {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: #eac482;
    border: 1px solid rgba(234, 196, 130, 0.3);
    border-radius: 100px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    border-color: rgba(234, 196, 130, 0.6);
    background: rgba(234, 196, 130, 0.05);
    transform: translateY(-2px);
}

/* ========== SECTION HEADERS ========== */
.section-eyebrow {
    animation: fadeUp 0.6s ease forwards;
}

.section-title {
    animation: fadeUp 0.7s ease forwards;
}

.section-subtitle {
    animation: fadeUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
    border-right: 1px solid rgba(201, 162, 39, 0.06);
}

.feature-card:last-child {
    border-right: none;
}

/* ========== MENU ========== */
.menu-tab {
    background: transparent;
    color: #a08060;
    border: 1px solid rgba(201, 162, 39, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    color: #eac482;
    border-color: rgba(201, 162, 39, 0.35);
    background: rgba(201, 162, 39, 0.05);
}

.menu-tab.active {
    background: linear-gradient(135deg, rgba(200, 104, 72, 0.2), rgba(217, 160, 78, 0.15));
    color: #eac482;
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 0 20px rgba(200, 104, 72, 0.15);
}

.menu-item {
    animation: fadeUp 0.4s ease forwards;
    opacity: 1;
}

.menu-item:nth-child(1) { animation-delay: 0s; }
.menu-item:nth-child(2) { animation-delay: 0.05s; }
.menu-item:nth-child(3) { animation-delay: 0.1s; }
.menu-item:nth-child(4) { animation-delay: 0.15s; }
.menu-item:nth-child(5) { animation-delay: 0.2s; }
.menu-item:nth-child(6) { animation-delay: 0.25s; }

/* ========== GALLERY ========== */
.gallery-item {
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== FORM ========== */
.form-input {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: #f9eed9;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.form-input::placeholder {
    color: rgba(234, 196, 130, 0.3);
}

.form-input:focus {
    border-color: rgba(200, 104, 72, 0.5);
    background: rgba(26, 26, 26, 1);
    box-shadow: 0 0 0 3px rgba(200, 104, 72, 0.1);
}

.form-input option {
    background: #1a1a1a;
    color: #f9eed9;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c86848, #d9a04e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d1806a, #e2ad58);
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(200, 104, 72, 0.3);
    color: #f9eed9;
}

/* ========== PREFERS 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;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    .feature-card {
        border-right: none;
        border-bottom: 1px solid rgba(201, 162, 39, 0.06);
    }
    
    .feature-card:last-child {
        border-bottom: none;
    }
}
