:root {
    --gold: #C5A059;
    --dark-green: #1D3B2F;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
#mainNav {
    padding: 20px 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

#mainNav.scrolled {
    background: var(--dark-green);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo-img {
    height: 50px;
    filter: brightness(0) invert(1); /* Makes logo white for hero section */
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.booking-btn {
    background-color: var(--gold);
    border-radius: 4px;
    padding: 8px 20px !important;
}

/* Video Hero */
.video-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Booking Bar (Floating Style) */
.booking-bar-container {
    position: absolute;
    bottom: -40px;
    width: 100%;
    z-index: 10;
}

.booking-bar {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
}

.booking-bar label {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--dark-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.border-end-custom {
    border-right: 1px solid #eee;
}

.btn-search {
    background-color: var(--dark-green);
    color: white;
    padding: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-search:hover {
    background-color: var(--gold);
    color: white;
}

/* General Sections */
.section-title {
    color: var(--dark-green);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn-outline-dark-green {
    border: 2px solid var(--dark-green);
    color: var(--dark-green);
    font-weight: 600;
    padding: 10px 25px;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .booking-bar-container { position: relative; bottom: 0; margin-top: -30px; }
    .border-end-custom { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 10px; }
    .hero-content { padding: 0 20px; }
}

/* --- FIXED BOOKING BAR STYLES --- */

.video-hero {
    position: relative;
    height: 100vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure the bar can overflow the hero section */
    overflow: visible !important; 
    margin-bottom: 80px; /* Space for the floating bar */
}

.booking-bar-container {
    position: absolute;
    bottom: -50px; /* Adjust this to move the bar up/down */
    left: 0;
    right: 0;
    z-index: 999;
}

.booking-bar {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px; /* Outer padding */
    border: 1px solid rgba(0,0,0,0.05);
}

.field-group {
    padding: 15px 25px;
    border-right: 1px solid #eee;
}

/* Remove border from the last field before the button */
.col-lg-2.field-group:nth-child(4) {
    border-right: none;
}

.booking-bar label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-green);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.booking-bar .form-control, 
.booking-bar .form-select {
    border: none !important;
    padding: 0;
    font-weight: 500;
    color: #333;
    background: transparent;
    box-shadow: none;
    height: auto;
}

/* Styling the Search Button */
.btn-search {
    background-color: var(--dark-green) !important;
    color: white !important;
    height: 60px; /* Tall button like Ginger */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: 0.3s all ease;
}

.btn-search:hover {
    background-color: var(--gold) !important;
    transform: translateY(-2px);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .video-hero {
        margin-bottom: 0;
    }
    .booking-bar-container {
        position: relative;
        bottom: 0;
        margin-top: 20px;
        padding: 0 15px;
    }
    .field-group {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px;
    }
}

/* --- Fix for Section Overlap --- */

.video-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important; /* Critical for the booking bar to show */
}

/* Add a large top padding to the section following the hero */
#rooms {
    padding-top: 120px !important; /* This creates space for the floating bar */
    background-color: #fff;
    position: relative;
    z-index: 1;
}

/* Fix for the white box/video on the right */
.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa; /* Placeholder color */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ensure text doesn't touch the top */
.section-title {
    margin-top: 20px;
    font-weight: 700;
}

/* Mobile Fix */
@media (max-width: 991px) {
    #rooms {
        padding-top: 50px !important;
    }
    .booking-bar-container {
        position: relative;
        bottom: 0;
        transform: translateY(-50%); /* Pulls it up halfway over the video */
        margin-bottom: -40px;
    }
}


.sight-sound-section {
    background-color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.amberlySwiper {
    width: 100%;
    padding: 50px 0 !important; /* Space for the scaled-up center card */
}

.swiper-slide {
    width: 50% !important; /* Adjust this to make cards smaller/wider */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(0.8); /* Side cards are small and pushed back */
    z-index: 1;
}

/* THE CENTER CARD: Big and Upfront */
.swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1.1) !important; /* Grows bigger than side cards */
    z-index: 10 !important; /* Brings it to the very front */
}

.gallery-card {
    position: relative;
    width: 100%;
    height: 400px; /* Controlled height */
    border-radius: 8px;
    overflow: hidden;
    /* Heavy shadow only on the active card to make it "pop" */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); 
    transition: box-shadow 0.6s ease;
}

.swiper-slide-active .gallery-card {
    box-shadow: 0 30px 60px rgba(29, 59, 47, 0.3); /* Green-tinted shadow for upfront feel */
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Green Caption Bar (Navbar Color) */
.caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1D3B2F; /* Your Dark Green */
    padding: 15px 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.caption-bar p {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .swiper-slide { width: 85% !important; }
    .gallery-card { height: 280px; }
    .swiper-slide-active { transform: scale(1.05) !important; }
}