/* Base styles */
* {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #2e0315;
}
::-webkit-scrollbar-thumb {
    background: #831443;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(46, 3, 21, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(131, 20, 67, 0.3);
}

/* Hero geometric shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(157, 23, 77, 0.3) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(245, 158, 11, 0.08);
    top: 20%;
    right: 10%;
    border-radius: 2rem;
    transform: rotate(15deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(157, 23, 77, 0.15);
    top: 30%;
    left: 2%;
    transform: rotate(-20deg);
}

.shape-dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(245, 158, 11, 0.4) 1px, transparent 1px);
    background-size: 16px 16px;
    bottom: 25%;
    right: 35%;
    opacity: 0.6;
}

/* Cabin card hover effects */
.cabin-card {
    will-change: transform;
}

/* FAQ toggle animation */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.open {
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Mobile menu */
.mobile-menu-open {
    overflow: hidden;
}

/* Scroll reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }
    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }
    .shape-rect-1 {
        width: 100px;
        height: 100px;
    }
    .shape-triangle {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid rgba(157, 23, 77, 0.15);
    }
    .shape-dot-grid {
        width: 60px;
        height: 60px;
        background-size: 12px 12px;
    }
}
