/* --- CSS Reset & General (Inherited from Main Site) --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: #faf9f6; color: #333; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* Prevent body scroll when mobile menu is open */
body.no-scroll { overflow: hidden; }

a { text-decoration: none; color: inherit; }

/* --- Animations --- */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Top Bar & Navbar (Inherited) --- */
.top-bar { background-color: #0a0a0a; color: #eeeeee; font-size: 10px; letter-spacing: 1.5px; padding: 10px 30px; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; position: relative; z-index: 20; }
.top-bar-left { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.top-bar-left i { margin-right: 6px; color: #d4af37; }

.navbar-wrapper { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.3); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); transition: all 0.3s ease; }
.navbar { padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; max-width: 1600px; margin: 0 auto; position: relative; }
.nav-group { display: flex; align-items: center; flex: 1; }
.nav-group.left { justify-content: flex-start; }
.nav-group.right { justify-content: flex-end; gap: 30px; }
.nav-links { list-style: none; display: flex; gap: 25px; font-size: 11px; letter-spacing: 2px; font-weight: 500; }
.nav-links li a { position: relative; padding-bottom: 5px; transition: color 0.3s ease; }
.nav-links li a:hover { color: #d4af37; }
.nav-links li a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0; background-color: #d4af37; transition: width 0.3s ease; }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }

.brand-logo { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 10px; flex: 0 0 auto; animation: fadeInUp 0.8s ease-out; z-index: 1002; position: relative; }
.brand-logo h1 { font-weight: 400; font-size: 19px; letter-spacing: 3px; text-transform: uppercase; color: #111; }
.brand-logo span { font-size: 9px; letter-spacing: 8px; margin-top: 6px; color: #777; }

/* Modern Button */
.btn-reserve { border: 1px solid #111; background: transparent; color: #111; padding: 12px 28px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; transition: color 0.4s ease; font-family: 'Montserrat', sans-serif; font-weight: 600; white-space: nowrap; }
.btn-reserve::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: #111; transition: left 0.4s ease; z-index: -1; }
.btn-reserve:hover::before { left: 0; }
.btn-reserve:hover { color: #fff; border-color: #111; }

/* --- Hamburger Menu (Mobile) --- */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; cursor: pointer; z-index: 1002; padding: 0; }
.hamburger span { display: block; height: 2px; width: 100%; background-color: #111; transition: all 0.3s ease; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(15px); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Mobile Full Screen Menu --- */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 1001; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-menu.active { right: 0; }
.mobile-nav-links { list-style: none; text-align: center; margin-bottom: 40px; }
.mobile-nav-links li { margin: 25px 0; overflow: hidden; }
.mobile-nav-links li a { display: inline-block; font-size: 16px; font-weight: 500; letter-spacing: 4px; color: #111; text-transform: uppercase; transform: translateY(100%); opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); padding-bottom: 5px; position: relative;}

.mobile-menu.active .mobile-nav-links li a { transform: translateY(0); opacity: 1; }
.mobile-menu.active .mobile-nav-links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(6) a { transition-delay: 0.35s; }
.mobile-menu.active .mobile-nav-links li:nth-child(7) a { transition-delay: 0.4s; }

.mobile-nav-links li a:hover, .mobile-nav-links li a.active { color: #d4af37; }
.mobile-menu .btn-reserve { opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.mobile-menu.active .btn-reserve { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* --- Reservation Page Specific Styles --- */
.reservation-section {
    padding: 60px 20px 100px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 200px);
}

.booking-card {
    background: #ffffff;
    width: 100%;
    max-width: 850px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    padding: 50px;
    border: 1px solid #f0f0f0;
}

/* Card Header (Logo & Badge) */
.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    text-align: center;
}

.card-brand h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #111;
}

/* Location Info */
.location-info {
    text-align: center;
    margin-bottom: 40px;
}
.location-info h3 { font-size: 16px; font-weight: 600; color: #111; margin-bottom: 8px; }
.location-info p { font-size: 11px; color: #888; text-transform: lowercase; font-weight: 400; }

/* Filters Row */
.filters-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 20px;
    margin-bottom: 30px;
}
.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
    text-transform: uppercase;
}
.input-wrapper {
    position: relative;
}
.input-wrapper select, .input-wrapper input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    appearance: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.input-wrapper select:focus, .input-wrapper input:focus {
    border-color: #111;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.05);
}

.input-wrapper:not(.date-wrapper)::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #888;
    pointer-events: none;
}

/* Remove background arrow for date inputs as they have a native calendar icon */
.date-wrapper::after {
    display: none !important;
}

/* Accordion Structure */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}
.accordion-header:hover { color: #d4af37; }
.accordion-header i { transition: transform 0.3s ease; }
.accordion-header.open i { transform: rotate(180deg); }

.time-selection-content {
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 1000px; /* Open by default for time */
}

.section-title-small {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
}

/* --- New Slider Grid CSS --- */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 45px; /* Creates space for the arrows inside the container */
}

.slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, 1fr); /* Desktop: 3 rows */
    grid-auto-columns: calc((100% - (12px * 3)) / 4); /* Desktop: 4 columns visible, gap calculated */
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
    width: 100%;
    padding: 5px; /* Prevents box-shadow clipping on active items */
}

.slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #333;
    transition: all 0.3s ease;
}

.slider-arrow:hover { 
    background: #111; 
    color: #fff; 
    border-color: #111; 
}

.slider-arrow.left-arrow { left: 0; }
.slider-arrow.right-arrow { right: 0; }

.time-btn {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 14px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    width: 100%;
}

.time-btn:hover {
    border-color: #111;
    color: #111;
}

.time-btn.active {
    background: #111;
    border-color: #111;
    color: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Personal Details Form CSS --- */
.personal-details-form {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 30px;
}
.form-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.res-summary {
    margin-bottom: 40px;
}
.res-summary p {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: #111;
    outline: none;
}
.phone-input-group {
    display: flex;
    gap: 10px;
}
.phone-code {
    width: 120px;
    flex-shrink: 0;
    appearance: auto;
}
.form-link {
    font-size: 11px;
    color: #888;
    text-decoration: underline;
}
.terms-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}
.terms-text a {
    color: #d4af37;
    text-decoration: underline;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 30px;
}
.checkbox-group input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.checkbox-group label {
    font-size: 12px;
    color: #555;
    cursor: pointer;
}
.terms-subtext {
    font-size: 11px;
    color: #888;
    margin-bottom: 30px;
}
.terms-subtext a {
    color: #d4af37;
    text-decoration: underline;
}

/* Submit Button */
.btn-continue {
    width: 100%;
    padding: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: not-allowed;
    transition: all 0.4s ease;
    background-color: #d4e8d8; 
    color: #ffffff;
}

.btn-continue.ready {
    background-color: #050505;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-continue.ready:hover {
    background-color: #d4af37;
}

/* --- Modern Dark Footer (Inherited) --- */
.site-footer { background-color: #050505; color: #aaaaaa; padding: 80px 40px 30px; font-size: 11px; line-height: 1.8; overflow: hidden;}
.footer-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1; min-width: 220px; }
.footer-col.brand { flex: 1.5; }
.footer-col h4 { color: #ffffff; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; font-weight: 600; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 300; letter-spacing: 4px; color: #ffffff; margin-bottom: 20px; display: inline-block; text-transform: uppercase; }
.footer-logo span { display: block; font-size: 8px; letter-spacing: 6px; margin-top: 5px; color: #777; text-align: center; }
.footer-col p { margin-bottom: 15px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { transition: color 0.3s ease; text-transform: uppercase; font-size: 10px; letter-spacing: 1px; }
.footer-links a:hover { color: #d4af37; }
.footer-socials { display: flex; gap: 15px; margin-bottom: 30px; font-size: 16px; color: #ffffff; }
.footer-socials a:hover { color: #d4af37; }

/* Newsletter specific */
.newsletter-form { display: flex; align-items: center; border-bottom: 1px solid #333; padding-bottom: 5px; }
.newsletter-input { background: transparent; border: none; color: #fff; padding: 10px 0; font-size: 12px; font-family: 'Montserrat', sans-serif; width: 100%; outline: none; }
.newsletter-btn { background: transparent; border: none; color: #fff; cursor: pointer; transition: color 0.3s ease; }
.newsletter-btn:hover { color: #d4af37; }

.footer-bottom { border-top: 1px solid #1a1a1a; max-width: 1400px; margin: 60px auto 0; padding-top: 25px; text-align: center; font-size: 9px; letter-spacing: 1.5px; color: #555; text-transform: uppercase; }


/* ==========================================================================
   FORCE FOOTER VISIBILITY FIX
   This ensures the footer elements always show up on pages where the 
   intersection observer fails to trigger due to insufficient scroll height.
   ========================================================================== */
.site-footer .reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


/* --- Super Mobile Responsiveness --- */
@media (max-width: 1200px) {
    .nav-group { display: none; } /* Hide desktop links */
    .navbar { justify-content: center; position: relative; padding: 15px 25px; min-height: 75px; }
    .brand-logo { margin: 0 auto; z-index: 1002; max-width: calc(100% - 90px); }
    /* Absolute positioning keeps the logo perfectly centered while hamburger sits on the right */
    .hamburger { display: flex; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); }
}

@media (max-width: 768px) {
    .top-bar { flex-direction: column; gap: 8px; text-align: center; padding: 10px 15px; }
    .top-bar-left { justify-content: center; gap: 10px; }
    
    .navbar { padding: 12px 20px; min-height: 65px; }
    .hamburger { right: 20px; }
    .brand-logo h1 { font-size: 16px; letter-spacing: 2px; }
    .brand-logo span { font-size: 8px; letter-spacing: 5px; margin-top: 4px; }
    
    .booking-card { padding: 30px 20px; }
    .filters-row { grid-template-columns: 1fr; gap: 15px; }
    
    /* Slider Mobile Overrides: 4 Rows, 3 Columns */
    .slider-wrapper { padding: 0 35px; margin-bottom: 25px; }
    .slider-track {
        grid-template-rows: repeat(4, 1fr);
        grid-auto-columns: calc((100% - (10px * 2)) / 3); /* 3 columns visible */
        gap: 10px;
    }
    .time-btn { 
        font-size: 10px; /* Reduced font size on mobile */
        padding: 12px 0; 
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .card-header { padding-bottom: 20px; margin-bottom: 20px; }
    .card-brand h2 { font-size: 22px; }
    
    .form-grid { grid-template-columns: 1fr; gap: 15px; }

    .site-footer { padding: 60px 20px 30px; text-align: left; }
    .footer-container { flex-direction: column; gap: 30px; }
}

@media (max-width: 480px) {
    .brand-logo h1 { font-size: 14px; letter-spacing: 1.5px; }
    .brand-logo span { font-size: 7px; letter-spacing: 4px; }
    .mobile-nav-links li a { font-size: 14px; letter-spacing: 3px; }
    
    .accordion-header { font-size: 13px; }
    .slider-wrapper { padding: 0 30px; }
    .time-btn { padding: 10px 0; font-size: 9px; } /* Further reduced for very small screens */
}