/* ========================================= */
/*      UNIFIED STYLESHEET FOR ALL PAGES     */
/* ========================================= */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #2D1764; 
  background-color: #F6F6F6; /* Default background for home page */
}

/* Page-specific backgrounds */
body.contact-page { background: linear-gradient(135deg, #f7f7fb, #e8e0f0); }
body.booking-page { background-color: #F5F4FC; }

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

/* ========================================= */
/*      CONSISTENT NAVIGATION STYLES         */
/* ========================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; }
.brand-name { font-size: 24px; font-weight: bold; color: #e63946; }

.hamburger-menu {
  display: none;
  font-size: 2rem;
  color: #2D1764;
  cursor: pointer;
  z-index: 1001;
}

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: #2D1764; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: #E62926; }

/* ========================================= */
/*        STYLES FOR BOOKING & CONTACT PAGES */
/* ========================================= */

.page-content-wrapper {
    padding-top: 80px; /* Space to clear the fixed navbar */
}

/* Booking Page Specific Styles */
.booking-section {
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}
.booking-container {
  background-color: #fff;
  border-radius: 20px;
  padding: 3rem;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.booking-container h2 { text-align: center; color: #2D1764; margin-bottom: 2rem; font-size: 1.8rem; }
.room-gallery { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; }
.room-card { flex: 1 1 40%; text-align: center; } /* Adjusted flex-basis */
.room-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.room-card h4 { margin-top: 0.5rem; color: #2D1764; font-size: 1rem; }
.booking-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.form-group { flex: 1 1 45%; display: flex; flex-direction: column; min-width: 200px; } /* Added min-width */
.form-group label { font-weight: 600; margin-bottom: 0.5rem; color: #333; }
.booking-form input, .booking-form select { padding: 0.75rem; border-radius: 10px; border: 1px solid #ccc; font-size: 1rem; background: #fff; color: #2D1764; }
.booking-form input:focus, .booking-form select:focus { border-color: #2D1764; outline: none; box-shadow: 0 0 0 3px rgba(45, 23, 100, 0.1); }
.book-btn { background-color: #E62926; color: #fff; padding: 1rem; font-size: 1.1rem; border: none; border-radius: 12px; cursor: pointer; transition: background 0.3s ease; font-weight: 600; }
.book-btn:hover { background-color: #C2181B; }

/* Contact Page Styles (from previous step) */
.contact-section { /* ... your contact styles ... */ }

/* ========================================= */
/*       MOBILE RESPONSIVE MENU STYLES       */
/* ========================================= */
@media (max-width: 768px) {
  .hamburger-menu { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.5rem; }

  /* Booking page mobile adjustments */
  .room-gallery { flex-direction: column; }
  .form-row { flex-direction: column; gap: 1rem; }
}