/* ===== Custom Properties ===== */
:root {
    --plum-950: #2d0314;
    --plum-900: #500724;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
}

/* ===== Base Reset & Typography ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--plum-950);
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--amber-400);
    color: var(--plum-950);
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--amber-400);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--plum-500);
    bottom: 10%;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--amber-400);
    top: 40%;
    right: 5%;
    opacity: 0.03;
    animation: rotate-slow 30s linear infinite;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: var(--amber-400);
    top: 60%;
    left: 8%;
    opacity: 0.02;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-dots {
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, var(--amber-400) 1px, transparent 1px);
    background-size: 20px 20px;
    top: 70%;
    right: 10%;
    opacity: 0.05;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

#navbar.scrolled {
    background: rgba(45, 3, 20, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-400);
    transition: width 0.3s ease;
}

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

/* ===== Mobile Menu ===== */
.menu-line {
    transition: all 0.3s ease;
}

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

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

#menuBtn.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(4px, -4px);
}

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

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--amber-400);
    transition: width 0.3s ease;
}

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

/* ===== Feature Cards ===== */
.feature-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.1);
}

/* ===== Cabin Cards ===== */
.group:hover .absolute {
    /* Subtle overlay intensify on hover */
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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; }

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

::-webkit-scrollbar-track {
    background: var(--plum-950);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--amber-400);
}

/* ===== Form Styles ===== */
select option {
    background: var(--plum-900);
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-triangle-1 {
        display: none;
    }
    
    .geo-square-1 {
        width: 100px;
        height: 100px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .geo-shape,
    #navbar,
    .geo-shape { display: none; }
    
    body {
        background: white;
        color: black;
    }
}
