@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette - Modern Luxury */
    --clr-pearl: #FDFAF5;
    --clr-navy: #0B132B;
    --clr-gold: #C5A059;
    --clr-gold-light: #D4B982;
    --clr-white: #FFFFFF;
    --clr-gray-100: #F8F9FA;
    --clr-gray-200: #E9ECEF;
    --clr-gray-300: #DEE2E6;
    --clr-gray-600: #6C757D;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-pearl);
    color: var(--clr-navy);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* UI Utilities */
.text-gold {
    color: var(--clr-gold);
}

.bg-navy {
    background-color: var(--clr-navy);
    color: var(--clr-pearl);
}

.btn-luxury {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--clr-navy);
    color: var(--clr-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--clr-navy);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--clr-gold);
    transition: var(--transition-smooth);
    z-index: -1;
    transform: translate(-50%, -50%);
}

.btn-luxury:hover {
    color: var(--clr-white);
    border-color: var(--clr-gold);
}

.btn-luxury:hover::before {
    width: 105%;
    height: 350%;
}

.btn-outline-gold {
    display: inline-block;
    padding: 14px 34px;
    border: 1px solid var(--clr-gold);
    color: var(--clr-gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-outline-gold:hover {
    background-color: var(--clr-gold);
    color: var(--clr-white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    height: 80px;
    background: rgba(253, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--clr-gray-200);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--clr-pearl);
    /* Default to pearl for dark backgrounds */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.navbar.scrolled .nav-brand {
    color: var(--clr-navy);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    color: var(--clr-pearl);
    /* Default to pearl for dark backgrounds */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-links a {
    color: var(--clr-navy);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--clr-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
    width: 44px;
    /* Explicit touch target size */
    height: 44px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--clr-gold);
    /* Default to gold for visibility on dark */
    transition: var(--transition-smooth);
}

@media (max-width: 992px) {
    .navbar {
        padding: 0 30px;
        height: 80px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--clr-navy);
        /* Dark background for luxury feel */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
        padding: 40px;
    }

    .nav-links.active {
        right: 0;
        transform: translateX(0);
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered entrance */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.7s;
    }

    .nav-links a {
        font-family: var(--font-heading);
        font-size: 2rem;
        color: var(--clr-pearl) !important;
        letter-spacing: 5px;
    }

    .nav-links .mobile-only {
        display: block !important;
    }

    .hamburger {
        display: flex !important;
        /* Force display */
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 2000;
    }

    .hamburger span {
        background-color: #C5A059 !important;
        /* Force gold hex code */
        height: 3px !important;
        width: 32px !important;
        display: block !important;
    }

    .navbar.scrolled .hamburger span {
        background-color: var(--clr-navy) !important;
    }

    .hamburger.active span {
        background-color: var(--clr-pearl) !important;
    }

    .desktop-only {
        display: none !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Responsive */
    .hero-section h1 {
        font-size: 3rem !important;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    /* Grid Responsiveness */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Booking Hub */
.booking-hub-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 35px 45px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 0.8fr;
    gap: 25px;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(15px);
}

.booking-hub-container .input-group {
    border-right: 1px solid var(--clr-gray-200);
    padding-right: 15px;
}

.booking-hub-container .input-group:nth-child(4) {
    border-right: none;
}

.booking-hub-container label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--clr-gray-600);
}

.booking-hub-container input,
.booking-hub-container select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    outline: none;
    color: var(--clr-navy);
}

@media (max-width: 1100px) {
    .booking-hub-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }

    .booking-hub-container .btn-luxury {
        grid-column: span 2;
    }

    .booking-hub-container .input-group {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .booking-hub-container {
        grid-template-columns: 1fr;
    }

    .booking-hub-container .btn-luxury {
        grid-column: span 1;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

.text-shadow-premium {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
    padding: 80px 0 40px;
    background-color: var(--clr-navy);
    color: var(--clr-pearl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-desc {
    opacity: 0.6;
    font-size: 0.95rem;
    margin-top: 20px;
    line-height: 1.8;
}

.footer-heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--clr-gold);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--clr-gold);
    padding-left: 10px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(253, 250, 245, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Service Card Links */
#services a {
    transition: var(--transition-smooth);
}

#services a:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
}

#services a:hover h3 {
    color: var(--clr-gold);
}