/* Base */
*, *::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;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#hero-tag {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

#hero-line1 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

#hero-line2 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

#hero-line3 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

#hero-desc {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.1s;
}

#hero-cta {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.3s;
}

#scroll-indicator {
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.8s;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Menu Tabs */
.menu-tab {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.menu-tab.active {
    background: #d4a843;
    color: #0a1628;
}

.menu-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
}

/* Menu Items */
.menu-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeInUp 0.4s ease forwards;
}

.menu-item:hover h3 {
    color: #d4a843;
    transition: color 0.3s ease;
}

.menu-item:hover p {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

/* Nav Scroll State */
nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

nav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

/* Mobile Menu */
.mobile-link {
    font-family: 'Playfair Display', Georgia, serif;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .mobile-link {
    animation: fadeInUp 0.4s ease forwards;
}

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

/* Hamburger Animation */
.menu-line {
    display: block;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

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

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.25rem;
    margin-left: 0;
}

/* Parallax Hero Image */
#hero-img {
    will-change: transform;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 67, 0.6);
}

/* Selection */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fff;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}
