/* =========================================
   1. RESET & BASICS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    min-height: 100%;
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Fix for anchor links landing too low due to sticky nav */
section {
    scroll-margin-top: 100px; /* Desktop default */
}

/* Fluid Layout */
img, input, textarea, button {
    max-width: 100%;
}

/* =========================================
   2. HERO & GLOBAL BACKGROUND
   ========================================= */

/* The Fixed Background Image (Behind Everything) */
#global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Hf-background-tall.png');
    background-position: center top; 
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1; 
    will-change: opacity;
    opacity: 1; /* Changed via JS */
}

/* Hero Content Area */
.hero-poster {
    position: relative; 
    height: 100vh; 
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    /* Soft shadow to make text pop over image */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 20px;
}

.content {
    width: 100%;
    max-width: 1400px;
    animation: fadeIn 2s ease-in;
}

.pre-header {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.names {
    font-family: 'Quattrocento', serif;
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    white-space: nowrap; 
}

/* --- DATE STYLING --- */
.date {
    font-family: 'Quattrocento', serif;
    font-size: 3.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    flex-wrap: wrap; 
    gap: 0 30px; 
    line-height: 1.2;
}

.date span {
    white-space: nowrap; 
    display: inline-block;
}

.spacer { height: 120px; }

.venue, .location-text {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    display:flex;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.8;
}

.location-text { margin-bottom: 40px; }

/* Hero Buttons */
.hero-buttons {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: fadeIn 3s ease-in; 
}

.btn-hero {
    background: transparent;
    border: 1.2px solid white;
    color: white;
    padding: 12px 30px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-hero:hover {
    background: white;
    color: black;
}

/* =========================================
   3. NAVBAR STYLES
   ========================================= */

/* Standard Homepage Navbar (Hidden initially) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    
    /* Animation settings */
    transition: transform 0.4s ease, opacity 0.4s ease;
    
    /* HIDDEN STATE */
    transform: translateY(-100%);
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

/* VISIBLE STATE (Added by JS on Homepage) */
.navbar.visible {
    transform: translateY(0);
    opacity: 1;
}

/* NAVBAR VARIATION (For Rooms Page / No Hero) */
.navbar-standard {
    /* Force Visibility immediately */
    transform: translateY(0) !important; 
    opacity: 1 !important; 
    
    /* Pin it to the top */
    position: fixed !important; 
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

/* Push content down ONLY on the Rooms page (bg-offwhite) so it doesn't hide behind the fixed menu */
body.bg-offwhite {
    padding-top: 80px; 
}

/* Navbar Contents */
.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-family: 'Quattrocento', serif;
    text-transform: uppercase;
    font-size: 1.3rem;
    color: #000;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.nav-links a:hover { color: #888; }

.btn-lang {
    background: none;
    border: 1px solid #ddd;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    padding: 8px 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    font-weight: 700; 
}

.btn-lang:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* MOBILE ADJUSTMENTS FOR NAVBAR */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column; 
        padding: 10px 15px;
        gap: 10px;
    }

    .logo { font-size: 1.1rem; }
    
    .nav-left { 
        width: 100%;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    
    .nav-links { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 12px;
        font-size: 0.75rem; 
        width: 100%;
        padding-bottom: 5px;
    }

    /* Mobile adjustment for the padding on Rooms page */
    body.bg-offwhite {
        padding-top: 120px; 
    }
}

/* =========================================
   4. LAYOUT & CARDS (The Boxed Look)
   ========================================= */

#location {
    margin-top: 60px;
}

@media (max-width: 900px) {
    #location {
        margin-top: 40px;
    }
}

/* The outer section is transparent to show the global background */
.section-pad {
    padding: 60px 0;
    width: 100%;
    background: transparent !important; 
}

/* The Container acts as the Card */
.container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    
    /* Box Styling */
    background-color: #ffffff; 
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Background Variations for the BOXES */

/* Standard White/Off-White Box */
.bg-offwhite .container { 
    background-color: #f9f9f7; 
}

/* Green Box (RSVP) */
.bg-vibrant-green .container { 
    background-color: #2E5E4E; 
    color: #fff;
}
.bg-vibrant-green .section-subtitle { color: #a2dcd0; }
.bg-vibrant-green .desc { color: #fff; }
.bg-vibrant-green h2 { border-color: #fff; }

/* Typography */
h2 {
    font-family: 'Quattrocento', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-family: 'Quattrocento', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

h4 {
    font-family: 'Quattrocento', serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
h5 {
    font-family: 'Quattrocento', serif;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
    margin-bottom: 10px;
}

.text-block, .hotel-block {
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.desc { margin-bottom: 20px; font-weight: 400; }

/* =========================================
   5. SPECIFIC COMPONENTS
   ========================================= */

/* Schedule Grid */
.schedule-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.schedule-day {
    flex: 1;
    padding: 30px 20px;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
    background: #fff;
}

.schedule-day:hover {
    border-color: #000;
    transform: translateY(-5px);
}

.day-date {
    display: block;
    font-family: 'Quattrocento', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 700;
}

.day-event {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    line-height: 1.6;
}

/* Hotel Links */
.overflow-block {
    margin-top: 60px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
}

.hotel-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-hotel {
    text-decoration: none;
    color: #555;
    border: 1px solid #ccc;
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    background: white;
}

.btn-hotel:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Travel Grid */
.travel-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}
.travel-col { flex: 1; text-align: left; }
.travel-col p { margin-bottom: 15px; }

.divider-small {
    height: 1px;
    background-color: #ddd;
    width: 50px;
    margin: 20px 0;
}

/* Text Link */
.btn-text {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: all 0.2s;
}

.btn-text:hover { color: #666; border-color: #666; }

/* Buttons Generic */
.btn-outline {
    display: inline-block;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    padding: 15px 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 30px;
    transition: all 0.3s ease;
}
.btn-outline:hover { background: #1a1a1a; color: #fff; }

/* =========================================
   6. FAQ SECTION STYLES
   ========================================= */
.faq-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.faq-item {
    flex: 1 1 40%;
    min-width: 300px;
}

.faq-item h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    color: #1a1a1a;
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* =========================================
   7. RSVP STYLES (Updated with Phone & Labels)
   ========================================= */
.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hidden { display: none !important; }

/* Animation */
.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-choice {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 12px 30px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}

.btn-choice:hover, .btn-choice.active {
    background: white;
    color: #2E5E4E;
}

/* Guest Count Squares */
.guest-count-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-count {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-count:hover, .btn-count.active {
    background: white;
    color: #2E5E4E;
    transform: translateY(-3px);
}

/* --- FORM LAYOUT & INPUTS --- */
.rsvp-form { animation: fadeIn 0.5s ease-in; }

.input-field {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
    color: #333;
}

.input-field:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 94, 78, 0.3);
}

/* Section Title inside form (Contact Info) */
.form-section-title {
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

/* Phone Group: Code + Number */
.phone-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.phone-code {
    flex: 0 0 90px; /* Fixed width for code selector */
    text-align: center;
    padding-left: 5px;
    cursor: pointer;
    margin-bottom: 0; /* Override default margin */
}

.phone-input {
    flex: 1; 
    margin-bottom: 0; /* Override default margin */
}

/* --- DYNAMIC GUEST BLOCKS --- */
.guest-block {
    margin-bottom: 30px;
}

.guest-header {
    color: #a2dcd0; /* Light Green Accent */
    font-family: 'Quattrocento', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: left;
    text-transform: uppercase;
}

.guest-row {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    gap: 0;
}

/* Reduce space between inputs inside the card */
.guest-row .input-field {
    margin-bottom: 15px;
}

/* Explicit Label for Age */
.input-label {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-align: left;
    opacity: 0.9;
}

/* Age Buttons Group */
.age-group {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 15px;
}

.age-group label {
    flex: 1; /* Even width */
}

.age-label {
    font-size: 0.75rem;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 0; /* Taller touch target */
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border-radius: 4px;
    display: block;
    width: 100%;
}

.age-group input[type="radio"] { display: none; }
.age-group input[type="radio"]:checked + .age-label {
    background: white;
    color: #2E5E4E;
    font-weight: bold;
}

/* Submit Button */
.btn-submit {
    display: inline-block;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-submit:hover {
    background: white;
    color: #2E5E4E;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    padding: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    background: #fafafa;
    border-top: 1px solid #eee;
}

/* =========================================
   9. MOBILE RESPONSIVENESS
   ========================================= */

/* Tablet & Smaller Desktop */
@media (max-width: 1200px) {
    .names {
        font-size: 4rem; 
        gap: 15px;
    }
    .date { font-size: 2.8rem; }
    .spacer { height: 60px; }
}

/* Mobile Phones & Vertical Tablets */
@media (max-width: 900px) {
    
    /* Global Background Adjustments */
    #global-bg {
        background-position: 20% top; /* Off-center for mobile */
    }

    /* 1. HERO SECTION ADJUSTMENTS */
    .hero-poster {
        height: auto;
        min-height: 100vh;
        
        /* Top spacing alignment */
        align-items: flex-start; 
        padding-top: 90px;      
        padding-bottom: 50px;    
    }

    .names { 
        font-size: 2.5rem; 
        line-height: 1.1;
        flex-direction: column;
    }
    
    .pre-header {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    /* Date Stacking */
    .date { 
        font-size: 1.6rem; 
        gap: 5px 0; 
        flex-direction: column; 
        margin-top: 15px;
    }
    .date span { width: auto; }
    
    .spacer { height: 20px; }

    .location-text { 
        margin-bottom: 20px; 
        font-size: 1rem;
    }
    
    .venue { font-size: 1rem; }

    /* Buttons Side-by-Side */
    .hero-buttons {
        margin-top: 30px; 
        flex-direction: row; 
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .btn-hero {
        padding: 12px 15px; 
        font-family: 'Lato', sans-serif;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    /* 2. NAVBAR & CARDS */
    /* Note: Mobile navbar handling is done in main block above */
    
    /* Taller scroll margin for stacked menu */
    section { scroll-margin-top: 150px; }

    /* Boxed layout adjustments for mobile */
    .container {
        width: 90%; 
        padding: 40px 20px;
    }
    
    .section-pad {
        padding: 40px 0;
    }

    /* 3. GRIDS TO STACKS */
    .schedule-grid, .travel-grid, .faq-grid { 
        flex-direction: column; 
        gap: 30px; 
    }
    
    .schedule-day {
        width: 100%;        
        max-width: 280px;   
        margin: 0 auto;     
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        border-radius: 4px; 
    }
    
    .travel-col, .faq-item { 
        text-align: center; 
        width: 100%;
        min-width: 0;
    }
    
    .divider-small { margin: 20px auto; }

    /* 4. RSVP MOBILE */
    .guest-row {
        flex-direction: column;
        align-items: stretch;
    }
    .guest-row input[type="text"] { width: 100%; margin-bottom: 10px; }
    .age-group { justify-content: space-between; }
    .btn-submit { width: 100%; }
}

/* =========================================
   10. LANGUAGES
   ========================================= */
.lang-es { display: none !important; }

/* When Spanish is active */
body.spanish-mode .lang-en { display: none !important; }

/* Generic rule: Show Spanish elements as Blocks */
body.spanish-mode .lang-es { display: block !important; }

/* Exception 1: List items and buttons should be Inline-Block */
body.spanish-mode li.lang-es { display: inline-block !important; }
body.spanish-mode .btn-hotel.lang-es { display: inline-block !important; }

/* Exception 2: The Date must remain Flex to stack correctly */
body.spanish-mode p.date.lang-es { display: flex !important; }

/* =========================================
   11. ROOMS PAGE STYLES
   ========================================= */

/* Grid for the Rooms (2 per row on desktop) */
.rooms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

/* Individual Room Card */
.room-card {
    /* CRITICAL FIX: Keeps the overlay TRAPPED inside the card */
    position: relative; 
    overflow: hidden; 
    
    flex: 1 1 45%; /* Take up roughly half width */
    min-width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #2E5E4E;
}

/* Header inside card (Name + Occupancy) */
.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center vertically */
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.room-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #1a1a1a;
    border: none;
    padding: 0;
}

/* NEW: Occupancy sits in the header now */
.occupancy-tag {
    background: #f0f0f0;
    color: #555;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Description Text */
.room-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Stats Row (Layout + Rate) */
.room-stats {
    display: flex;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-top: auto; 
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

/* NEW: Price is now emphasized in the footer */
.price-stat {
    color: #2E5E4E;
    font-size: 1.1rem; /* Make price slightly larger */
}
.price-stat small {
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .rooms-grid {
        flex-direction: column;
    }
    .room-card {
        width: 100%;
        min-width: 0; 
    }
}

/* =========================================
   12. BOOKING OVERLAY & MODAL
   ========================================= */

/* The Overlay (Hidden by default) */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Increased opacity for readability */
    backdrop-filter: blur(4px); 
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* FIX: Visibility ensures hidden overlay doesn't block clicks */
    opacity: 0;
    visibility: hidden; 
    transition: all 0.3s ease;
    
    z-index: 10;
    cursor: pointer;
}

/* Show overlay on hover */
.room-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}

/* The Book Button inside overlay */
.btn-book {
    background: #2E5E4E;
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    cursor: pointer;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.room-card:hover .btn-book {
    transform: translateY(0);
}

/* --- MODAL POPUP STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

.btn-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
}

.room-target-name {
    font-family: 'Quattrocento', serif;
    font-size: 1.5rem;
    color: #2E5E4E;
    margin: 10px 0 30px 0;
    font-weight: 700;
}

/* =========================================
   13. HEADER LINKS (External Site)
   ========================================= */
.header-link {
    text-decoration: underline;
    text-decoration-thickness: 1px; /* Elegant thin line */
    text-underline-offset: 6px;     /* Space between text and line */
    color: inherit;                 /* Start as black */
    transition: all 0.3s ease;
}

.header-link:hover {
    color: #2E5E4E;                 /* Turn Green on Hover */
    text-decoration-color: #2E5E4E; /* Turn Line Green */
    cursor: pointer;
}

.header-link span {
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 5px;
}