/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --slate: #4A4E54;    /* Matches building exterior */
    --gold: #C5A059;     /* Luxury accent */
    --bone: #Fdfbf7;     /* Soft warm white */
    --white: #FFFFFF;
    --black: #1A1A1A;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.7;
    overflow-x: hidden;
}

.bg-light { background-color: var(--bone); }

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: var(--white);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.4rem;
    letter-spacing: 4px;
    color: var(--slate);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--slate);
    margin: 0 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links li a:hover { color: var(--gold); }

/* Buttons & Links */
.btn-gold {
    background: var(--gold);
    color: var(--white);
    padding: 14px 28px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-gold:hover { background: var(--slate); }

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.btn-transparent {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-transparent:hover {
    background: var(--white);
    color: var(--black);
}

.link-gold {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.link-gold:hover { color: var(--slate); }

/* --- Glitch-Free Hero Slideshow (Fixed Washout) --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background-color: #1A1A1A; /* FIX: Prevents the white flash by giving it a dark base */
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hidden by default */
    animation: fadeSlides 20s infinite;
}

/* Adds the dark tint over the photos so the white text is readable */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

/* Staggering the fade-ins every 5 seconds */
.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 5s; }
.slide-3 { animation-delay: 10s; }
.slide-4 { animation-delay: 15s; }

/* FIX: Perfect crossfade math */
@keyframes fadeSlides {
    0%   { opacity: 0; }
    5%   { opacity: 1; }  /* Fades in quickly */
    25%  { opacity: 1; }  /* Stays visible */
    30%  { opacity: 0; }  /* Fades out smoothly while the next one fades in */
    100% { opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 { font-size: 4.5rem; margin-bottom: 15px; }
.hero-content p { font-size: 1.2rem; font-weight: 300; letter-spacing: 1px; }

/* Typography & Sections */
.section { padding: 120px 0; }
.text-center { text-align: center; display: block;}

.subtitle {
    display: block;
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.text-block { text-align: center; max-width: 800px; margin: 0 auto;}
.text-block h2 { font-size: 3rem; margin-bottom: 30px; color: var(--slate); }
.lead-text { font-size: 1.3rem; color: var(--slate); margin-bottom: 20px; font-weight: 400;}

/* Room Grid (The Showcase) */
.room-grid { display: flex; gap: 30px; margin-top: 60px; }
.room-card {
    flex: 1;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.room-card:hover { transform: translateY(-10px); }
.room-img { height: 250px; background-size: cover; background-position: center; }
.room-content { padding: 30px; }
.room-content h3 { font-size: 1.8rem; color: var(--slate); margin-bottom: 5px; }
.room-details { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.room-content p { font-size: 0.95rem; color: #555; margin-bottom: 25px; }

/* Video Ad Section */
.video-ad-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white);
}
.video-ad-section h2 { font-size: 3.2rem; margin-bottom: 50px; color: var(--slate); }
.video-player-placeholder {
    max-width: 900px;
    margin: 0 auto;
    height: 450px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?q=80&w=1000&auto=format&fit=crop') center/cover;
    border: 3px solid var(--bone);
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-player-placeholder::after {
    content: '\25B6'; /* Play Icon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.9;
}

/* Value Props Grid Section */
.value-props-section {
    padding: 120px 0;
}
.value-props-section h2 { font-size: 3.2rem; margin-bottom: 50px; text-align: center; color: var(--slate); }
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}
.prop-item { text-align: center; padding: 20px; transition: 0.3s; }
.prop-icon-placeholder {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1;
}
.prop-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--slate); margin-bottom: 10px; }
.prop-text { font-size: 0.95rem; color: #666; max-width: 300px; margin: 0 auto; }

/* Booking Form Styles (for reserve.html) */
.booking-container {
    max-width: 800px;
    margin: 150px auto 100px; 
    background: var(--white);
    padding: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.booking-header { text-align: center; margin-bottom: 40px; }
.booking-header h2 { font-size: 2.8rem; color: var(--slate); }
.booking-form { display: flex; flex-wrap: wrap; gap: 20px; }
.form-group { flex: 1 1 calc(50% - 20px); display: flex; flex-direction: column; }
.full-width { flex: 1 1 100%; }
.form-group label {
    font-size: 0.85rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}
/* --- UPGRADED FORM INPUTS (Bigger & Un-squished) --- */
.form-group {
    flex: 1 1 calc(50% - 20px);
    display: flex;
    flex-direction: column;
    margin-bottom: 20px; /* Adds breathing room between rows */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%; /* FIX: Forces them to stretch completely */
    padding: 18px 20px; /* FIX: Much bigger padding for a luxurious feel */
    font-size: 1.1rem; /* FIX: Larger text that is easier to read */
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #ddd;
    background-color: #fafafa;
    color: var(--black);
    outline: none;
    transition: 0.3s;
    border-radius: 4px; /* Subtle softening of the harsh edges */
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1); /* Subtle gold glow */
}

/* FIX: Phone Library Styling to match your big inputs */
.iti { width: 100%; display: block; }
.iti__flag-container { padding: 0 15px; } /* Spaces out the flag */
.iti input { padding-left: 65px !important; } /* Pushes text past the flag */
.options-group { background: var(--bone); padding: 20px; border-left: 3px solid var(--gold); }
.checkbox-item { display: flex; align-items: center; margin-bottom: 10px; }
.checkbox-item input[type="checkbox"] { margin-right: 15px; width: 18px; height: 18px; accent-color: var(--gold); }
.checkbox-item label { margin-bottom: 0; text-transform: none; letter-spacing: normal; font-size: 1rem; color: #444; }

/* Footer */
footer {
    background: var(--slate);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}
.location-footer { font-size: 0.85rem; opacity: 0.6; margin-top: 10px; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3rem; }
    .room-grid { flex-direction: column; }
    .value-props-grid { grid-template-columns: 1fr; }
    .video-player-placeholder { height: 250px; }
    .booking-container { padding: 30px; margin: 100px 20px 50px; }
    .form-group { flex: 1 1 100%; }
}
/* --- NEW STYLES FOR RESERVATION GUARDRAILS & FIXES --- */

/* Fixed Header Fix */
.solid-nav {
    background-color: var(--white) !important;
    border-bottom: 1px solid #eaeaea;
}

.nav-spacer {
    height: 80px; /* Pushes content down so it doesn't hide under the fixed navbar */
}

.booking-container {
    /* Adjusted margin since we now have the nav-spacer */
    margin: 60px auto 100px; 
}

/* Pricing Summary Box */
.summary-box {
    background-color: var(--slate);
    color: var(--white);
    padding: 30px;
    border-radius: 4px;
    margin-top: 20px;
}

.summary-box h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.summary-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.summary-details span {
    font-size: 1.2rem;
    font-weight: 500;
}

#total-price {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
}

.summary-note {
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
    margin-bottom: 0;
}

/* Disabled state for the submit button */
.btn-gold:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    color: #888;
}

input:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

/* --- SPOTLIGHT GALLERY STYLES --- */

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    padding: 0 20px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    transition: all 0.5s ease; /* Smooth, slow transition */
    cursor: pointer;
}

/* The Spotlight Effect */
/* 1. When hovering over the whole grid, dim ALL images slightly */
.gallery-container:hover .gallery-item {
    opacity: 0.4;
    filter: grayscale(30%);
}

/* 2. BUT, for the specific image you are hovering over, bring it back to full life */
.gallery-container .gallery-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05); /* Enlarges it */
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
/* --- FULL SCREEN LIGHTBOX STYLES --- */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999; 
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Deep black backdrop */
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--gold); /* Gold frame */
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 30px; right: 50px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--gold);
}
/* --- FORM VALIDATION & PHONE DROPDOWN STYLES --- */
.error-text {
    color: #d9534f; /* Premium Red */
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
    display: none; /* Hidden until they make a mistake */
    animation: zoomIn 0.3s ease;
}

.input-error {
    border-color: #d9534f !important;
    background-color: #fdf3f3 !important;
}

/* Fix for the phone library to match your big, luxurious inputs */
.iti { width: 100%; display: block; }
.iti__flag-container { padding: 2px; }
.iti input { padding-left: 50px !important; } /* Make room for the flag */