/* ===== ROOT VARIABLES ===== */
:root {
    --purple-50: #FAF5FF;
    --purple-100: #F3E8FF;
    --purple-200: #E9D5FF;
    --purple-300: #D8B4FE;
    --purple-400: #C084FC;
    --purple-500: #A855F7;
    --purple-600: #9333EA;
    --purple-700: #7C3AED;
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #A1A1AA;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-y: visible;
}

html, body {
    scroll-padding-top: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    position: relative;
}

/* ===== TYPOGRAPHY ===== */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--purple-600);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
#navbar {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
    top: 0;
    left: 0;
    right: 0;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo {
    color: var(--gray-900);
    transition: color 0.3s ease;
}

#navbar.scrolled .logo {
    color: var(--gray-900);
}

#navbar:not(.scrolled) .logo {
    color: var(--white);
}

.nav-link {
    position: relative;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

#navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--purple-600);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--purple-600);
}

#navbar:not(.scrolled) .nav-link:hover {
    color: var(--purple-300);
}

.nav-link:hover::after {
    width: 100%;
}

.reserve-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--purple-600);
    border: 1px solid var(--purple-600);
    border-radius: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#navbar:not(.scrolled) .reserve-btn {
    color: var(--white);
    border-color: var(--white);
}

.reserve-btn:hover {
    background: var(--purple-600);
    color: var(--white);
}

#navbar:not(.scrolled) .reserve-btn:hover {
    background: var(--white);
    color: var(--gray-900);
}

.menu-line {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gray-900);
    margin: 6px 0;
    transition: all 0.3s ease;
}

#navbar:not(.scrolled) .menu-line {
    background: var(--white);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.star-field {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.hero-title {
    color: var(--white);
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
}

.primary-btn {
    padding: 0.75rem 2rem;
    background: var(--purple-600);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn:hover {
    background: var(--purple-700);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.text-btn {
    background: transparent;
    color: var(--white);
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.text-btn:hover {
    color: var(--purple-300);
}

.play-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-icon i {
    font-size: 12px;
    margin-left: 2px;
}

.text-btn:hover .play-icon {
    border-color: var(--purple-300);
    background: rgba(168, 85, 247, 0.1);
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

.scroll-hint span {
    display: block;
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    margin: 8px auto 0;
    animation: scroll-animation 2s ease-in-out infinite;
}

@keyframes scroll-animation {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--gray-50);
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    color: var(--purple-600);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.experience-card:hover {
    border-color: var(--purple-300);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--purple-50);
    color: var(--purple-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 20px;
    transition: all 0.3s ease;
}

.experience-card:hover .card-icon {
    background: var(--purple-600);
    color: var(--white);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.card-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--purple-600);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--purple-700);
}

.card-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

/* ===== DARK SECTIONS WITH STARRY SKY ===== */
.bg-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.dark-section {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    overflow: hidden;
}

/* Ensure all content in dark sections appears above stars */
.bg-dark > .container,
.dark-section > .container {
    position: relative;
    z-index: 10;
}

/* Gradient overlay for better readability */
.dark-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

/* ===== ASTRONOMY SIMULATOR STARFIELD ===== */
@keyframes subtle-drift {
    from {
        transform: translateX(0) translateY(0);
    }
    to {
        transform: translateX(-30px) translateY(-20px);
    }
}

@keyframes subtle-twinkle {
    0%, 100% {
        opacity: 0.4;
        filter: brightness(0.9);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.1);
    }
}

.star-layer {
    transform-origin: center;
}

.destinations-container {
    display: grid;
    gap: 2rem;
}

.destination-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.destination-item:hover,
.destination-item.active {
    border-color: var(--purple-600);
    background: rgba(168, 85, 247, 0.05);
}

.destination-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.destination-details {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--purple-300);
}

.destination-details i {
    margin-right: 0.5rem;
}

.destination-image {
    height: 300px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-item:hover .destination-image img {
    transform: scale(1.05);
}

/* ===== AMENITIES SECTION ===== */
.amenity-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.amenity-icon {
    width: 40px;
    height: 40px;
    background: var(--purple-50);
    color: var(--purple-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.amenity-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--purple-50) 0%, var(--purple-100) 100%);
    border: 1px solid var(--purple-200);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hologram {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--purple-400) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===== BOOKING SECTION ===== */
.form-input-dark {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.form-input-dark::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input-dark:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--purple-400);
}

.form-input-dark option {
    background: var(--gray-800);
    color: var(--white);
}

.form-input-dark[type="date"] {
    color-scheme: dark;
}

.submit-btn-dark {
    padding: 0.75rem 2rem;
    background: var(--purple-600);
    color: var(--white);
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.submit-btn-dark:hover {
    background: var(--purple-700);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

/* ===== CONTACT SECTION ===== */
.contact-item {
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--purple-50);
    color: var(--purple-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--purple-600);
    color: var(--white);
}

/* Keep existing luxury-input styles below for potential future use */
.luxury-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.925rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.luxury-input:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.luxury-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.1);
}

.luxury-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.luxury-input option {
    background: var(--gray-900);
    color: var(--white);
    padding: 0.5rem;
}

/* Date input specific */
.luxury-input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}

.luxury-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Textarea specific */
.luxury-input[resize] {
    resize: vertical;
}

/* Labels */
label {
    display: block;
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* Submit button */
.luxury-submit {
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.luxury-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.luxury-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
}

.luxury-submit:hover::before {
    left: 100%;
}

.luxury-submit:active {
    transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--purple-400);
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--purple-400);
    color: var(--purple-400);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .destination-item {
        grid-template-columns: 1fr;
    }
    
    .destination-image {
        height: 200px;
    }
    
    .floating-card {
        width: 250px;
        height: 300px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.opacity-0 { opacity: 0; }
.transition-all { transition: all 0.3s ease; }
/* ===== METRICS BAR (BLACK BAR) ===== */
.metrics-bar {
    background: #000000;
    border-top: 1px solid var(--gray-900);
}

.metric-item {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 300;
    color: #FFFFFF;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* ===== PARTNER SHOWCASE CARDS ===== */
.partner-showcase-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.partner-showcase-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.partner-logo-item {
    transition: transform 0.3s ease;
}

.partner-logo-item:hover {
    transform: scale(1.05);
}

/* ===== PARTNER CARDS ===== */
.partner-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.partner-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ===== MOBILE NAVIGATION MENU - FULL SCREEN OVERLAY ===== */
@media (max-width: 768px) {
    /* Full screen mobile menu */
    #navbar .md\:flex {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
        backdrop-filter: blur(20px);
        padding: 5rem 2rem 3rem;
        flex-direction: column;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 1.5rem;
        z-index: 40;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #navbar .md\:flex.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    #navbar .md\:flex:not(.hidden) {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Navigation links styling */
    #navbar .md\:flex a,
    #navbar .md\:flex .location-dropdown {
        width: auto;
        padding: 1rem 0;
        border-bottom: none;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 1.25rem;
        font-weight: 400;
        letter-spacing: 0.05em;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
    }

    #navbar .md\:flex a::after {
        content: '';
        position: absolute;
        bottom: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--purple-400);
        transition: width 0.3s ease;
    }

    #navbar .md\:flex a:hover::after {
        width: 80%;
    }

    #navbar .md\:flex a:hover {
        color: var(--purple-300) !important;
        transform: translateY(-2px);
    }

    /* Reserve button styling */
    #navbar .md\:flex .reserve-btn {
        width: auto;
        text-align: center;
        margin-top: 1rem;
        padding: 1rem 3rem;
        background: var(--purple-600);
        color: white !important;
        border: 2px solid var(--purple-600);
        border-radius: 4px;
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    #navbar .md\:flex .reserve-btn::after {
        display: none;
    }

    #navbar .md\:flex .reserve-btn:hover {
        background: transparent;
        color: var(--purple-300) !important;
        border-color: var(--purple-400);
        transform: translateY(-2px);
    }

    /* Location dropdown for mobile */
    #navbar .md\:flex .location-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    #navbar .md\:flex .location-dropdown > a {
        pointer-events: auto;
        cursor: pointer;
    }

    #navbar .md\:flex .location-dropdown .dropdown-menu {
        position: static;
        display: none;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0.5rem;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    #navbar .md\:flex .location-dropdown.active .dropdown-menu {
        display: flex;
        max-height: 300px;
        opacity: 1;
    }

    #navbar .md\:flex .location-dropdown .dropdown-menu a {
        font-size: 1rem;
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    #navbar .md\:flex .location-dropdown .dropdown-menu a:hover {
        color: var(--purple-300) !important;
    }

    /* Menu toggle button - always visible on mobile */
    #menu-toggle {
        position: relative;
        z-index: 50;
        width: 32px;
        height: 32px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    #menu-toggle .menu-line {
        transition: all 0.3s ease;
    }

    /* Hamburger to X animation */
    #menu-toggle.active .menu-line:first-child {
        transform: rotate(45deg) translate(6px, 6px);
        background: white !important;
    }

    #menu-toggle.active .menu-line:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
        background: white !important;
    }

    /* Ensure navbar stays at top when menu is open */
    #navbar {
        background: rgba(255, 255, 255, 0.95);
    }

    #navbar:not(.scrolled) {
        background: transparent;
    }

    /* When menu is open, make navbar solid */
    #navbar:has(.md\:flex:not(.hidden)) {
        background: rgba(10, 10, 10, 0.98) !important;
    }
}
