/* --- Root Styles --- */
body { 
    margin: 0; 
    font-family: 'Montserrat', sans-serif; 
    background-color: #fdfcf0; /* Vintage Cream */
    color: #333; 
    overflow-x: hidden; 
}

/* --- 1. Luxury Hero Slider --- */
.slider-container { 
    position: relative; 
    width: 100%; 
    height: 90vh; 
    overflow: hidden; 
}

.slides { 
    display: flex; 
    width: 300%; 
    height: 100%; 
    animation: slideAnim 15s infinite ease-in-out; 
}

.slide { 
    width: 33.33%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    position: relative;
    /* --- The Perfect Color Grade --- */
    /* Boosts saturation for the sea/sand and adds a tiny vintage sepia tint */
    filter: saturate(1.2) contrast(1.1) brightness(1.1) sepia(5%);
}

/* Cinematic Overlay: Rich Navy to Warm Sunset Gold */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(26, 48, 80, 0.4) 0%, 
        rgba(197, 160, 89, 0.15) 100%
    );
    z-index: 1;
}

/* Soft Vignette to draw eyes to the center text */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

/* Slide Backgrounds */
.slide1 { background-image: url('../images/slide1.jpg'); }
.slide2 { background-image: url('../images/slide2.jpg'); }
.slide3 { background-image: url('../images/slide3.jpg'); }

.slide-text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    color: #fdfcf0; /* Vintage Off-White */
    width: 90%;
    z-index: 10; /* Ensures text is above all overlays */
}

.slide-text p { 
    font-size: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    margin-bottom: 15px;
    font-weight: 700;
    color: #c5a059; /* Heritage Gold Accent */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-text h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(2.5rem, 8vw, 5rem); 
    margin: 0; 
    letter-spacing: 1px;
    line-height: 1.1;
    font-style: italic; /* Classy Heritage Look */
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

@keyframes slideAnim {
    0%, 25% { transform: translateX(0); }
    33%, 58% { transform: translateX(-33.33%); }
    66%, 91% { transform: translateX(-66.66%); }
    100% { transform: translateX(0); }
}

/* --- 2. Slim Horizontal Booking Bar --- */
.booking-bar {
    background: #fff;
    padding: 12px 10px; /* Slimmer vertical profile */
    width: 96%;
    max-width: 1350px; /* Slightly wider for the 6th column */
    margin: -50px auto 0; 
    position: relative;
    z-index: 100;
    border: 1px solid #c5a059;
    /* Clean Heritage Shadow */
    box-shadow: 10px 10px 0 #fdfcf0, 10px 10px 0 1px #c5a059;
}

.booking-form {
    display: flex; /* Force horizontal flow */
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0d9b4;
    padding: 0 10px; /* Balanced spacing for 5 inputs */
    min-width: 0; /* Prevents flex items from overflowing */
}

.form-group:last-of-type {
    border-right: none;
}

.guest-inputs {
    display: flex;
    gap: 4px;
}

.form-group label {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #c5a059;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 1px;
    white-space: nowrap; /* Prevents labels from breaking into two lines */
}

.form-group label i {
    margin-right: 4px;
}

.form-group input, 
.form-group select {
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem; /* Slightly smaller for better fit */
    color: #1a3050;
    background: transparent;
    outline: none;
    width: 100%;
    font-weight: 600;
    padding: 2px 0;
    cursor: pointer;
}

/* --- 2. Slim Horizontal Booking Bar --- */
.booking-bar {
    background: #fff;
    padding: 12px 10px;
    width: 96%;
    max-width: 1350px;
    margin: -50px auto 0; 
    position: relative;
    z-index: 100;
    border: 1px solid #c5a059;
    box-shadow: 10px 10px 0 #fdfcf0, 10px 10px 0 1px #c5a059;
}

.booking-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0d9b4;
    padding: 0 10px;
}

.form-group:last-of-type { border-right: none; }

.guest-inputs { display: flex; gap: 4px; }

.form-group label {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #c5a059;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.form-group input, .form-group select {
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #1a3050;
    background: transparent;
    outline: none;
    width: 100%;
    font-weight: 600;
}

.btn-submit {
    background: #1a3050;
    color: #fff;
    border: none;
    height: 48px;
    padding: 0 25px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.guest-inputs select {
    min-width: 75px; /* Ensures the boxes are visible even before JS fills them */
    cursor: pointer;
    background: transparent;
    border: none;
    font-weight: 600;
    color: #1a3050;
}

/* --- Mobile Responsive Booking Bar --- */
@media (max-width: 992px) {
    .booking-bar {
        width: 92%; /* Give more space on mobile */
        margin: -30px auto 20px; /* Adjust overlap for mobile hero */
        padding: 20px;
        box-shadow: 5px 5px 0 #fdfcf0, 5px 5px 0 1px #c5a059; /* Thinner shadow for mobile */
    }

    .booking-form {
        flex-direction: column; /* Stack elements vertically */
        align-items: stretch;
        gap: 15px;
    }

    .form-group {
        border-right: none; /* Remove horizontal dividers */
        border-bottom: 1px solid #e0d9b4; /* Add vertical dividers instead */
        padding: 0 0 10px 0;
        width: 100%;
    }

    .form-group:last-of-type {
        border-bottom: none;
    }

    .guest-inputs {
        justify-content: space-between;
    }

    .guest-inputs select {
        flex: 1; /* Make guest selects equal width on mobile */
        height: 40px;
    }

    .btn-submit {
        margin-left: 0;
        width: 100%; /* Full width button for easy tapping */
        justify-content: center;
        height: 50px;
    }
}

/* Extra small screens (Phones) */
@media (max-width: 480px) {
    .form-group label {
        font-size: 0.65rem; /* Slightly larger labels for readability */
    }
    
    .form-group input, 
    .form-group select {
        font-size: 0.9rem; /* Better tap targets for fingers */
    }
}
/* --- 3 & 4. Heritage & Dining Features --- */
.heritage-story, .dining-feature { padding: 120px 5%; background: #fdfcf0; }
.dining-feature { background: #fff; } /* Contrast background */

.story-container { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; }
.story-image { flex: 1; height: 500px; overflow: hidden; border: 1px solid #e0d9b4; padding: 12px; background: #fff; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-content { flex: 1; }

.sub-title { color: #c5a059; text-transform: uppercase; letter-spacing: 5px; font-weight: 700; font-size: 0.75rem; display: block; margin-bottom: 20px; }
.story-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 25px; color: #1a3050; }
.story-content p { line-height: 1.8; color: #666; margin-bottom: 30px; }

.link-btn { color: #2c2c2c; text-decoration: none; border-bottom: 2px solid #c5a059; font-weight: 700; padding-bottom: 5px; text-transform: uppercase; font-size: 0.8rem; }

/* --- 5. Luxury Suites Grid --- */
.rooms-visual { padding: 100px 20px; background: #fdfcf0; text-align: center; }
.section-head { margin-bottom: 60px; text-align: center; }
.section-head h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: #1a3050; margin: 0; }

.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.room-card-v2 { background: #fff; border: 1px solid #eee; transition: 0.4s ease; text-align: left; }
.room-card-v2:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.room-img { height: 240px; background-size: cover; background-position: center; border-bottom: 4px solid #c5a059; }
.room-info { padding: 25px; }

/* --- 7 & 8. Utility & Facilities --- */
.facility-elegant, .utility-bar { background: #1a3050; padding: 50px 0; color: #fff; }
.facility-elegant .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; max-width: 1200px; margin: 0 auto; }
.facility-item { text-align: center; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; }
.facility-item i { font-size: 2rem; color: #c5a059; display: block; margin-bottom: 10px; }

/* --- 9. Testimonials --- */
.luxury-slider { padding: 100px 0; background: #fdfcf0; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial-card { flex: 0 0 50%; padding: 20px; box-sizing: border-box; }
.guest-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.guest-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #c5a059; }
.testimonial-card p { font-family: 'Playfair Display', serif; font-style: italic; color: #555; border-left: 3px solid #e0d9b4; padding-left: 15px; }

/* --- 10. Call to Action --- */
.cta-bottom { 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; /* Parallax Effect */
}

/* Responsive */
@media (max-width: 992px) {
    .story-container { flex-direction: column !important; text-align: center; }
    .testimonial-card { flex: 0 0 100%; }
    .booking-bar { width: 95%; padding: 20px; margin-top: -40px; }
}


/* --- Common Hero Structure --- */
.common-hero {
    height: 60vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.common-hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(3rem, 10vw, 5rem); 
    font-style: italic; 
}

/* --- Page Specific Hero Backgrounds --- */
.hero-rooms { background-image: linear-gradient(rgba(26,48,80,0.6), rgba(26,48,80,0.6)), url('../images/rooms-hero.jpg'); }
.hero-about { background-image: linear-gradient(rgba(26,48,80,0.6), rgba(26,48,80,0.6)), url('../images/about-vintage.jpg'); }