/**
 * Metro Lodge Booking Form Styles
 * Brand Colors: Green (#28a745, #20c997) and Black (#1a1a1a, #2d2d2d)
 */

:root {
    --ml-green: #28a745;
    --ml-green-light: #20c997;
    --ml-green-dark: #1e7e34;
    --ml-black: #1a1a1a;
    --ml-black-light: #2d2d2d;
    --ml-gray: #6c757d;
    --ml-light: #f8f9fa;
}

.metrolodge-booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: calc(100vh - 100px);
}

.metrolodge-booking-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* Force normal casing on ALL text elements - STRONGEST OVERRIDE */
.metrolodge-booking-form,
.metrolodge-booking-form *,
.metrolodge-booking-container,
.metrolodge-booking-container *,
#hotel-info-display,
#hotel-info-display *,
.hotel-info-text,
.hotel-info-text *,
.hotel-info-name,
#hotel-info-name,
.hotel-info-description,
#hotel-info-description,
body .metrolodge-booking-form,
body .metrolodge-booking-form *,
body .metrolodge-booking-container,
body .metrolodge-booking-container *,
html body .metrolodge-booking-form,
html body .metrolodge-booking-form *,
html .metrolodge-booking-form,
html .metrolodge-booking-form *,
html .metrolodge-booking-container,
html .metrolodge-booking-container * {
    text-transform: none !important;
    font-variant: normal !important;
    letter-spacing: normal !important;
    text-rendering: auto !important;
    font-style: normal !important;
}

/* EXTREME OVERRIDE - Target every possible element */
*[class*="metrolodge"],
*[id*="hotel-info"],
*[class*="booking"],
*[id*="booking"] {
    text-transform: none !important;
}

/* Force text content directly */
#hotel-info-name,
.hotel-info-name {
    text-transform: none !important;
    font-variant: normal !important;
    letter-spacing: normal !important;
}

/* Additional override for WordPress theme interference */
body .metrolodge-booking-form,
body .metrolodge-booking-container,
body #hotel-info-display {
    text-transform: none !important;
}

body .metrolodge-booking-form *,
body .metrolodge-booking-container *,
body #hotel-info-display * {
    text-transform: none !important;
}

/* Section Styles */
.booking-section {
    margin-bottom: 4px; /* Reduced to less than 5px */
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    position: relative; /* Ensure proper stacking */
    z-index: 1; /* Above background elements */
    background: #ffffff; /* Solid background to hide anything behind */
}

.booking-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.8em;
    color: var(--ml-green);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--ml-green);
    font-weight: 700;
    text-transform: none !important; /* Normal casing - force override */
    position: relative; /* Ensure proper stacking */
    z-index: 2; /* Above section background */
    background: #ffffff; /* Solid background */
}

/* NUCLEAR OPTION - Override ALL possible theme CSS for headings */
h1, h2, h3, h4, h5, h6,
.metrolodge-booking-container h1,
.metrolodge-booking-container h2,
.metrolodge-booking-container h3,
.metrolodge-booking-container h4,
.metrolodge-booking-container h5,
.metrolodge-booking-container h6,
.metrolodge-booking-form h1,
.metrolodge-booking-form h2,
.metrolodge-booking-form h3,
.metrolodge-booking-form h4,
.metrolodge-booking-form h5,
.metrolodge-booking-form h6,
body .metrolodge-booking-container h1,
body .metrolodge-booking-container h2,
body .metrolodge-booking-container h3,
body .metrolodge-booking-container h4,
body .metrolodge-booking-container h5,
body .metrolodge-booking-container h6,
body .metrolodge-booking-form h1,
body .metrolodge-booking-form h2,
body .metrolodge-booking-form h3,
body .metrolodge-booking-form h4,
body .metrolodge-booking-form h5,
body .metrolodge-booking-form h6,
html body .metrolodge-booking-container h1,
html body .metrolodge-booking-container h2,
html body .metrolodge-booking-container h3,
html body .metrolodge-booking-container h4,
html body .metrolodge-booking-container h5,
html body .metrolodge-booking-container h6,
html body .metrolodge-booking-form h1,
html body .metrolodge-booking-form h2,
html body .metrolodge-booking-form h3,
html body .metrolodge-booking-form h4,
html body .metrolodge-booking-form h5,
html body .metrolodge-booking-form h6 {
    text-transform: none !important;
    font-variant: normal !important;
    letter-spacing: normal !important;
    text-rendering: auto !important;
    font-style: normal !important;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* All booking details on one row */
.booking-details-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ml-black);
    font-size: 0.85em;
    text-transform: none !important; /* Normal casing - force override */
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.form-group-small label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ml-black);
    font-size: 0.85em;
    text-transform: none !important; /* Normal casing - force override */
    letter-spacing: 0.5px;
}

.form-group-small input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ml-green);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}


.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

/* Hotel Tiles */
.hotel-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.hotel-tile {
    position: relative;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.hotel-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.hotel-tile label {
    display: block;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    margin: 0;
}

.hotel-tile:hover {
    border-color: var(--ml-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

.hotel-tile input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--ml-green) 0%, var(--ml-green-light) 100%);
    color: white;
}

.hotel-tile input[type="radio"]:checked ~ label .hotel-name,
.hotel-tile input[type="radio"]:checked ~ label .hotel-code {
    color: white;
}

.hotel-name {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    text-transform: none; /* Normal casing */
}

.hotel-code {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--ml-green);
    letter-spacing: 1px;
}

/* Hotel Info Display - Image aligned with text, includes map */
.hotel-info-display {
    margin-top: 25px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid var(--ml-green);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15);
    text-transform: none !important; /* Ensure no uppercase inheritance */
}

.hotel-info-display * {
    text-transform: none !important; /* Force normal casing for all child elements */
}

.hotel-info-display h3,
.hotel-info-display .hotel-info-text h3 {
    text-transform: none !important; /* Normal casing for headings */
    color: var(--ml-green) !important; /* Ensure heading is visible */
}

.hotel-info-text {
    display: flex;
    flex-direction: column;
}

.hotel-info-text h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--ml-green) !important; /* Ensure heading is visible */
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: none !important; /* Normal casing */
}

.hotel-info-text #hotel-info-description,
#hotel-info-description,
.hotel-info-description {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333 !important; /* Dark text for visibility */
    margin: 0;
    text-transform: none !important; /* Normal casing - force override */
    font-variant: normal !important;
    letter-spacing: normal !important;
    text-rendering: auto !important;
}

/* Force normal casing on hotel name - ULTRA AGGRESSIVE */
#hotel-info-name,
.hotel-info-name,
.hotel-info-text h3,
body #hotel-info-name,
body .hotel-info-name,
html body #hotel-info-name,
html body .hotel-info-name,
.metrolodge-booking-container #hotel-info-name,
.metrolodge-booking-container .hotel-info-name {
    text-transform: none !important;
    font-variant: normal !important;
    letter-spacing: normal !important;
    text-rendering: auto !important;
    font-style: normal !important;
}

/* Force normal casing on ALL hotel info text - NUCLEAR OPTION */
#hotel-info-display,
#hotel-info-display *,
#hotel-info-display h3,
#hotel-info-display p,
#hotel-info-display div,
#hotel-info-display span,
body #hotel-info-display,
body #hotel-info-display *,
html body #hotel-info-display,
html body #hotel-info-display *,
.metrolodge-booking-container #hotel-info-display,
.metrolodge-booking-container #hotel-info-display * {
    text-transform: none !important;
    font-variant: normal !important;
    letter-spacing: normal !important;
    text-rendering: auto !important;
}

.hotel-info-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: start;
}

.hotel-info-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hotel-info-image {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

.hotel-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hotel-info-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
}

.hotel-info-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hotel-info-text {
    display: flex;
    flex-direction: column;
}

.hotel-info-text h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--ml-green);
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: none; /* Normal casing */
}

.hotel-info-text p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333 !important; /* Dark text for visibility */
    margin: 0 0 15px 0; /* Add spacing between paragraphs */
    text-transform: none !important; /* Normal casing - force override */
    font-variant: normal !important;
    letter-spacing: normal !important;
}

@media (max-width: 1024px) {
    .hotel-info-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hotel-info-left {
        order: 2;
    }
    
    .hotel-info-text {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hotel-info-image {
        min-height: 300px;
        max-height: 250px;
    }
    
    .hotel-info-map {
        height: 180px;
    }
    
    .hotel-info-text h3 {
        font-size: 1.5em;
    }
    
    .hotel-info-text p {
        font-size: 1em;
        text-transform: none !important; /* Normal casing - force override */
    }
}

/* Clean Filter Design - Works Together */
.room-filters-modern {
    margin: 25px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.filter-label {
    font-size: 0.9em;
    font-weight: 700;
    color: var(--ml-black);
    min-width: 120px;
    text-transform: none; /* Normal casing */
    letter-spacing: 0.5px;
}

.filter-buttons-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    min-height: 45px;
    align-items: center;
}

.filter-btn {
    padding: 10px 18px;
    border: 2px solid #d0d0d0;
    background: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--ml-black);
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-btn:hover {
    border-color: var(--ml-green);
    color: var(--ml-green);
    background: #f0fdf4;
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.2);
}

.filter-btn.active {
    background: var(--ml-green);
    border-color: var(--ml-green);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.btn-clear-filters {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #d0d0d0;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-clear-filters:hover {
    background: #e9ecef;
    border-color: #999;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Smaller guest inputs */
.guests-row {
    max-width: 400px;
}

.form-group-small {
    display: flex;
    flex-direction: column;
}

.form-group-small label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9em;
}

.form-group-small input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95em;
    width: 100%;
}

.dates-row {
    margin-bottom: 20px;
}

/* Room Cards */
.room-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.room-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: white;
}

.room-card:hover {
    border-color: var(--ml-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.room-card.selected {
    border-color: var(--ml-green);
    border-width: 3px;
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.3);
}

.room-card input[type="radio"] {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 20px;
    height: 20px;
}

.room-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.room-image .gallery-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
    pointer-events: none;
}

.room-image:hover .gallery-icon {
    opacity: 1;
}

.availability-badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ml-green);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-transform: none !important; /* Normal casing */
}

.room-card-content {
    padding: 20px;
}

.room-type-name {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--ml-black);
    margin-bottom: 10px;
    text-transform: none !important; /* Force normal casing */
    font-variant: normal !important;
    letter-spacing: normal !important;
}

.room-details {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.room-description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    min-height: 45px;
    display: block; /* Ensure description is always visible */
    text-transform: none !important; /* Force normal casing */
    font-variant: normal !important;
    letter-spacing: normal !important;
    white-space: pre-line; /* Preserve line breaks */
}

.room-price {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--ml-green);
    margin-bottom: 5px;
    text-transform: none !important; /* Normal casing */
}

.room-price-detail {
    font-size: 0.85em;
    color: #666;
    font-weight: 500;
    text-transform: none !important; /* Normal casing */
}

/* Price Summary */
.price-summary {
    background: #f0fff4;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--ml-green);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1em;
}

.price-row.total {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--ml-green);
    border-top: 2px solid var(--ml-green);
    padding-top: 10px;
    margin-top: 10px;
}

/* Buttons */
.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ml-green) 0%, var(--ml-green-light) 100%);
    color: white;
}

.btn-secondary {
    background: var(--ml-black);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--ml-black-light);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--ml-green-dark) 0%, var(--ml-green) 100%);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--ml-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Guest Lookup */
.guest-lookup {
    background: var(--ml-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--ml-green);
}

.guest-lookup p {
    margin: 0 0 15px 0;
    color: var(--ml-black);
}

#guest-lookup-result {
    margin-top: 15px;
}

#guest-lookup-result.success {
    padding: 15px;
    background: #d4edda;
    border: 1px solid var(--ml-green);
    border-radius: 5px;
    color: #155724;
}

#guest-lookup-result.returning-guest {
    padding: 15px;
    background: #d1ecf1;
    border: 1px solid #20c997;
    border-radius: 5px;
    color: #0c5460;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Messages */
.booking-messages {
    margin-top: 20px;
}

.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Responsive */
.filter-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.filter-section:last-of-type {
    margin-bottom: 0;
}

.filter-label {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--ml-black);
    min-width: 100px;
    color: var(--ml-black);
    min-width: 110px;
    text-transform: none; /* Normal casing */
    letter-spacing: 0.3px;
}

/* Bold formatting for key information in hotel descriptions */
#hotel-info-description strong,
.hotel-info-description strong,
.metrolodge-booking-form #hotel-info-description strong {
    font-weight: 700 !important;
    color: var(--ml-green-dark, #1e7e34) !important;
    text-transform: none !important;
}

.filter-buttons-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    min-height: 45px;
    align-items: center;
}

.filter-btn {
    padding: 8px 18px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--ml-black);
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--ml-green);
    color: var(--ml-green);
}

.filter-btn.active {
    background: var(--ml-green);
    border-color: var(--ml-green);
    color: white;
}

.btn-clear-filters {
    padding: 6px 16px;
    background: transparent;
    border: 1px solid var(--ml-gray);
    color: var(--ml-gray);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    margin-top: 10px;
    float: right;
}

.btn-clear-filters:hover {
    background: var(--ml-gray);
    color: white;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--ml-gray);
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-details-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .hotel-tiles {
        grid-template-columns: 1fr;
    }
    
    .room-types-grid {
        grid-template-columns: 1fr;
    }
    
    .metrolodge-booking-form {
        padding: 20px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
        min-width: 100%;
    }
    
    .filter-label {
        min-width: auto;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .guests-inputs {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.4em;
    }
}

/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.gallery-modal-content {
    position: relative;
    z-index: 10001;
    max-width: 90%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.gallery-main-image {
    max-width: 100%;
    max-height: 70vh;
    margin-bottom: 20px;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    max-width: 100%;
}

.gallery-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}

.gallery-thumbnails img:hover {
    opacity: 1;
}

.gallery-thumbnails img.active {
    opacity: 1;
    border-color: var(--ml-green);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-section {
    animation: fadeIn 0.5s ease-in-out;
}

/* ============================================
   BANNER IMAGE - NUCLEAR OPTION - TARGET EVERYTHING
   ============================================ */

/* NUCLEAR: Target EVERY possible header element and ALL parents */
body:has(.metrolodge-booking-container) header,
body:has(.metrolodge-booking-container) .site-header,
body:has(.metrolodge-booking-container) header.site-header,
body:has(.metrolodge-booking-container) #site-header,
body:has(.metrolodge-booking-container) header#masthead,
body:has(.metrolodge-booking-container) .header,
body:has(.metrolodge-booking-container) .site-header-wrapper,
body:has(.metrolodge-booking-container) .header-wrapper,
body:has(.metrolodge-booking-container) .main-header,
body:has(.metrolodge-booking-container) .wp-site-blocks > header,
body:has(.metrolodge-booking-container) .elementor-location-header,
body:has(.metrolodge-booking-container) [class*="header"],
body:has(.metrolodge-booking-container) [id*="header"],
body.metrolodge-booking-page header,
body.metrolodge-booking-page .site-header,
body.metrolodge-booking-page header.site-header,
body.metrolodge-booking-page #site-header,
body.metrolodge-booking-page header#masthead,
body.metrolodge-booking-page .header,
body.metrolodge-booking-page .site-header-wrapper,
body.metrolodge-booking-page .header-wrapper,
body.metrolodge-booking-page .main-header,
body.metrolodge-booking-page .wp-site-blocks > header,
body.metrolodge-booking-page .elementor-location-header,
body.metrolodge-booking-page [class*="header"],
body.metrolodge-booking-page [id*="header"] {
    background-image: url('https://dashboard.metrolodge.co.za/uploads/website/Durban%20SA%20-%20Metro%20Left.png') !important;
    /* Fit the FULL image into the banner (no cropping) */
    background-size: contain !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #87CEEB !important;
    min-height: 200px !important;
    height: 200px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 10px 0 !important;
    padding-bottom: 0 !important;
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
}

/* Also target any container that might be wrapping the header */
body:has(.metrolodge-booking-container) header > *,
body:has(.metrolodge-booking-container) .site-header > *,
body.metrolodge-booking-page header > *,
body.metrolodge-booking-page .site-header > * {
    max-width: 100% !important;
}

/* Force full width on parent containers that might constrain the header */
body:has(.metrolodge-booking-container) .site-header *,
body:has(.metrolodge-booking-container) header.site-header *,
body.metrolodge-booking-page .site-header *,
body.metrolodge-booking-page header.site-header * {
    max-width: none !important;
}

/* Override ALL container constraints - NUCLEAR OPTION */
body:has(.metrolodge-booking-container) .site-container,
body:has(.metrolodge-booking-container) .container,
body:has(.metrolodge-booking-container) .wrap,
body:has(.metrolodge-booking-container) .site-content,
body:has(.metrolodge-booking-container) .wp-site-blocks,
body:has(.metrolodge-booking-container) .site,
body:has(.metrolodge-booking-container) .page,
body:has(.metrolodge-booking-container) .content-area,
body:has(.metrolodge-booking-container) .main-content,
body.metrolodge-booking-page .site-container,
body.metrolodge-booking-page .container,
body.metrolodge-booking-page .wrap,
body.metrolodge-booking-page .site-content,
body.metrolodge-booking-page .wp-site-blocks,
body.metrolodge-booking-page .site,
body.metrolodge-booking-page .page,
body.metrolodge-booking-page .content-area,
body.metrolodge-booking-page .main-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove any padding/margin from body that might constrain header */
body:has(.metrolodge-booking-container),
body.metrolodge-booking-page {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove margin/padding below header - scoped */
body:has(.metrolodge-booking-container) .site-header + *,
body:has(.metrolodge-booking-container) header.site-header + *,
body:has(.metrolodge-booking-container) #site-header + *,
body.metrolodge-booking-page .site-header + *,
body.metrolodge-booking-page header.site-header + *,
body.metrolodge-booking-page #site-header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Responsive banner heights - scoped - KEEP COVER */
@media (max-width: 768px) {
    body:has(.metrolodge-booking-container) header,
    body:has(.metrolodge-booking-container) .site-header,
    body:has(.metrolodge-booking-container) header.site-header,
    body.metrolodge-booking-page header,
    body.metrolodge-booking-page .site-header,
    body.metrolodge-booking-page header.site-header {
        min-height: 150px !important;
        height: 150px !important;
        background-size: contain !important;
    }
}

@media (max-width: 480px) {
    body:has(.metrolodge-booking-container) header,
    body:has(.metrolodge-booking-container) .site-header,
    body:has(.metrolodge-booking-container) header.site-header,
    body.metrolodge-booking-page header,
    body.metrolodge-booking-page .site-header,
    body.metrolodge-booking-page header.site-header {
        min-height: 120px !important;
        height: 120px !important;
        padding: 8px 0 !important;
        background-size: contain !important;
    }
}

/* Add overlay for better text visibility - scoped */
body:has(.metrolodge-booking-container) .site-header::before,
body:has(.metrolodge-booking-container) header.site-header::before,
body.metrolodge-booking-page .site-header::before,
body.metrolodge-booking-page header.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15) !important;
    z-index: 1;
    pointer-events: none;
}

/* Ensure logo and navigation are above overlay - scoped */
body:has(.metrolodge-booking-container) .site-header > *,
body:has(.metrolodge-booking-container) header.site-header > *,
body.metrolodge-booking-page .site-header > *,
body.metrolodge-booking-page header.site-header > * {
    position: relative !important;
    z-index: 2 !important;
}

