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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: #0A0F0D;
    color: #F5F0E8;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A0F0D;
}
::-webkit-scrollbar-thumb {
    background: #C9A84C/30;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* Navbar */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: #D4AF37 !important;
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(10, 15, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Mobile menu */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.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; }

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

/* Mobile menu button animation */
.menu-btn-active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
.menu-btn-active span:nth-child(2) {
    opacity: 0;
}
.menu-btn-active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 6px;
}

/* Cabin Cards */
.cabin-card {
    position: relative;
}
.cabin-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, #D4AF37);
    transition: width 0.5s ease;
}
.cabin-card:hover::after {
    width: 100%;
}

/* Feature cards */
.feature-card {
    padding: 2rem 1.5rem;
    border: 1px solid rgba(245, 240, 232, 0.05);
    border-radius: 4px;
    transition: border-color 0.4s ease, background 0.4s ease;
}
.feature-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    background: rgba(15, 41, 30, 0.3);
}

/* Form elements */
input:focus,
select:focus,
textarea:focus {
    border-color: #C9A84C !important;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}

select option {
    background: #0F291E;
    color: #F5F0E8;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Decorative gold line animations */
@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}
.gold-line {
    animation: shimmer 3s ease-in-out infinite;
}
