/* --- Global Styles & Variables (Consistent with main design) --- */
:root {
    --gold: #D4AF37; /* Metallic gold from logo */
    --gold-dim: #BF9B30; /* Darker gold for hover states */
    --deep-blue: #0A1C2E; /* Deep navy blue background */
    --deep-blue-light: #162B40; /* Lighter shade of background */
    --teal: #147A8F; /* Accent teal for buttons and highlights */
    --white: #FFFFFF;
    --text-color: #E0E0E0; /* Slightly off-white for body text */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', serif; /* Professional serif */
    background-color: var(--deep-blue);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn-book, .btn-reservations, .btn-submit-booking {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none; /* Reset borders */
}

.btn-reservations {
    background-color: var(--teal);
    color: var(--white);
    border: 2px solid transparent;
}
.btn-reservations:hover {
    background-color: transparent;
    border-color: var(--teal);
    color: var(--teal);
}

.btn-book {
    background-color: var(--teal);
    color: var(--white);
}
.btn-book:hover {
    background-color: #106679;
}

.btn-submit-booking {
    background-color: var(--gold);
    color: var(--deep-blue);
    width: 100%;
    margin-top: 15px;
}
.btn-submit-booking:hover {
    background-color: var(--gold-dim);
}

/* --- Icons --- */
.gold-icon {
    color: var(--gold);
}

/* --- Header Styles (Consistent) --- */
header {
    background: linear-gradient(135deg, var(--gold) 0%, #BF9B30 100%);
    padding: 10px 0;
    position: fixed; /* Fixed header */
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.2rem;
    color: #1A3E5C;
    line-height: 1.1;
    font-weight: bold;
}

.logo-text p {
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #1A3E5C;
    font-weight: 600;
    font-size: 0.95rem;
}

nav ul li a:hover:not(.btn-reservations) {
    color: #333;
}

/* --- Booking Hero Section --- */
.booking-hero {
    height: 60vh;
    background-image: url('hotel-booking-hero.jpg'); /* REPLACE WITH A HERO IMAGE */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px; /* Offset fixed header */
}

.hero-image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dims hero image */
}

.hero-content {
    z-index: 10;
    text-align: center;
}

.hero-text-box h2 {
    color: var(--gold);
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-text-box p {
    font-size: 1.2rem;
    color: var(--white);
}

/* --- Booking Section --- */
.booking-section {
    padding: 60px 0;
    background-color: var(--deep-blue-light);
}

.booking-section h3 {
    color: var(--gold);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.booking-section > p {
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: var(--deep-blue);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Subtle gold border */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-details {
    padding: 25px;
}

.room-details h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-tag {
    font-size: 1.2rem;
    color: var(--teal);
    margin-bottom: 15px;
    font-weight: bold;
}

.room-details p:not(.price-tag) {
    font-size: 0.95em;
    color: #BBB;
    margin-bottom: 25px;
}

/* --- Pop-up Form (Modal) Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top of everything, including header */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Dims background */
}

.modal-content {
    background-color: var(--deep-blue-light);
    margin: 10% auto; /* 10% from top and centered */
    padding: 30px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    width: 90%; /* Responsive width */
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-button {
    color: var(--text-color);
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--gold);
}

.modal h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

#selectedRoomText {
    font-style: italic;
    color: var(--white);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    background-color: var(--deep-blue);
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--teal);
}

.form-note {
    font-size: 0.8rem;
    color: #BBB;
    text-align: center;
    margin-top: 20px;
}

/* --- Footer Styles (Consistent) --- */
footer {
    background-color: #1A3E5C;
    padding: 30px 0;
    color: var(--text-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: var(--gold);
}