/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Luxury Theme Additions --- */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Poppins:wght@300;400;600&display=swap");

:root {
  --burgundy: #8b1d30;
  --gold: #d4af37;
  --muted: rgba(139, 29, 48, 0.06);
  --text-dark: #222;
}

/* Base */
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings (luxury serif) */
h1,
h2,
h3,
h4 {
  font-family: "Cinzel", serif;
  color: var(--gold);
  letter-spacing: 0.6px;
  margin: 0.6em 0 0.3em;
}

/* Slight muted section background */
.section-muted {
  background: linear-gradient(90deg,
      rgba(139, 29, 48, 0.02),
      rgba(0, 0, 0, 0.01));
  padding: 36px 0;
}

/* Images: presentational, rounded with soft shadow + zoom on hover */
img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.5s ease, box-shadow 0.4s ease, opacity 0.35s ease;
}

img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

/* Button: rounded luxury button */
.btn {
  display: inline-block;
  background: #fff;
  color: var(--burgundy);
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.32s ease;
  box-shadow: 0 8px 20px rgba(139, 29, 48, 0.06);
}

.btn:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

/* Card overlay pattern for rooms/tiles */
.room-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.room-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 40%,
      rgba(139, 29, 48, 0.48) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.room-card:hover .overlay {
  opacity: 1;
}

.room-card .overlay a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.24);
}

/* Forms: focus glow */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 10px 28px rgba(139, 29, 48, 0.1);
  border-color: rgba(139, 29, 48, 0.3);
}

/* Back-to-top button */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: #fff;
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 20px;
}

/* Misc small responsive tweaks */
@media (max-width: 900px) {
  .btn {
    padding: 8px 16px;
  }

  img {
    border-radius: 10px;
  }
}

/* Transparent floating navbar */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 10;
}

.header .navbar a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}

.header .navbar a:hover {
  text-decoration: underline;
}

.header .logo {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  color: white;
}

/* Fullscreen slideshow hero */
.hero-overlay {
  position: relative;
  height: 100vh;
  /* Fallback for browsers that don't support dvh */
  height: 100dvh;
  /* Dynamic viewport height for mobile */
  overflow: hidden;
}

.hero-overlay .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-overlay .slide.active {
  opacity: 1;
}

/* Centered overlay text */
.hero-overlay .hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  max-width: 90%;
  margin: auto;
  padding: 20px;
}

.hero-overlay .hero-text h1 {
  font-family: "Cinzel", serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-overlay .hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-overlay .btn {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.hero-overlay .btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Mobile hero text adjustments */
@media (max-width: 768px) {
  .hero-overlay .hero-text {
    max-width: 95%;
    padding: 15px;
  }

  .hero-overlay .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-overlay .hero-text p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-overlay .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-overlay .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-overlay .hero-text p {
    font-size: 0.9rem;
  }

  .hero-overlay .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

/* Fade-in animation */
.fade-in {
  animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* === ABOUT SECTION === */
.about {
  padding: 60px 10%;
  background-color: #111;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--gold);
  /* Use gold from root */
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #ddd;
}

/* Mobile about section */
@media (max-width: 768px) {
  .about {
    padding: 40px 5%;
  }

  .about h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .about p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 30px 3%;
  }

  .about h2 {
    font-size: 1.4rem;
  }

  .about p {
    font-size: 0.95rem;
  }
}

/* BROCHURE-STYLE SECTION */
.brochure-section {
  width: 100%;
  padding: 2rem 1rem;
  box-sizing: border-box;
  background: #250101;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.brochure-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.brochure-left,
.brochure-middle,
.brochure-right {
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brochure-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.brochure-text,
.brochure-logo {
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .brochure-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .brochure-left,
  .brochure-middle,
  .brochure-right {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .brochure-section {
    padding: 1rem 0.5rem;
  }

  .brochure-image {
    border-radius: 6px;
  }
}

/* === FOOTER === */
.footer {
  background: linear-gradient(to bottom, #1a0505, #000000);
  color: #a0a0a0;
  padding: 80px 0 20px;
  font-family: "Poppins", sans-serif;
  border-top: 4px solid var(--gold);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h3 {
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section h4 {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
}

.footer-section p {
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-section ul li a:hover {
  color: var(--gold);
  transform: translateX(5px);
}

.footer-section ul li a::before {
  content: "›";
  margin-right: 8px;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-links a:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-icon {
  font-style: normal;
  font-size: 1.2rem;
}

/* Contact Info */
.contact-info p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-info strong {
  color: #fff;
  min-width: 80px;
  margin-right: 10px;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .social-links {
    justify-content: flex-start;
  }
}

/* ROOMS PAGE SPECIFIC STYLES */
.hero-rooms {
  height: 70vh;
  /* Adjust hero height for rooms page */
}

.hero-rooms .hero-text {
  transform: translateY(-30%);
  /* Adjust text position */
}

.hero-rooms .hero-text h1 {
  font-size: 2.8rem;
}

.hero-rooms .hero-text p {
  font-size: 1.1rem;
}

.rooms-section {
  padding: 60px 0;
  text-align: center;
}

.rooms-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--gold);
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.room-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.room-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  transition: transform 0.5s ease;
}

.room-card:hover img {
  transform: scale(1.05);
}

.room-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-card h3 {
  font-size: 1.6rem;
  margin: 0 0 10px;
  color: var(--burgundy);
  letter-spacing: 0.5px;
}

.room-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.room-price {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.room-availability {
  font-weight: 600;
  margin-bottom: 20px;
  padding: 5px 0;
  border-radius: 5px;
}

.room-availability.available {
  color: #28a745;
  /* Green for available */
}

.room-availability.booked {
  color: #dc3545;
  /* Red for booked */
}

.room-card .btn {
  align-self: flex-start;
  padding: 12px 25px;
  font-size: 1rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.room-card .btn:hover {
  background: var(--burgundy);
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(139, 29, 48, 0.3);
}

/* Responsive adjustments for rooms page */
@media (max-width: 992px) {
  .hero-rooms {
    height: 60vh;
  }

  .hero-rooms .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-rooms .hero-text p {
    font-size: 1rem;
  }

  .rooms-section h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .room-grid {
    gap: 25px;
  }

  .room-card h3 {
    font-size: 1.4rem;
  }

  .room-card p {
    font-size: 0.95rem;
  }

  .room-price {
    font-size: 1.1rem;
  }

  .room-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-rooms {
    height: 50vh;
  }

  .hero-rooms .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-rooms .hero-text p {
    font-size: 0.9rem;
  }

  .rooms-section {
    padding: 40px 0;
  }

  .rooms-section h2 {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .wrap {
    padding: 0 15px;
  }

  .room-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .room-card img {
    height: 180px;
  }

  .room-info {
    padding: 20px;
  }

  .room-card h3 {
    font-size: 1.2rem;
  }

  .room-card p {
    font-size: 0.9rem;
  }

  .room-price {
    font-size: 1rem;
  }

  .room-card .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-rooms {
    height: 40vh;
  }

  .hero-rooms .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-rooms .hero-text p {
    font-size: 0.8rem;
  }

  .rooms-section h2 {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .room-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .room-card img {
    height: 160px;
  }

  .room-info {
    padding: 15px;
  }

  .room-card h3 {
    font-size: 1.1rem;
  }

  .room-card p {
    font-size: 0.85rem;
  }

  .room-price {
    font-size: 0.95rem;
  }

  .room-card .btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}

/* Booking Page Background */
.booking-page {
  background: url("images/grandreceptioncloseup.jpeg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
  min-height: 100vh;
}

.booking-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
  /* Adds a dark overlay */
  z-index: 0;
}

/* Booking container styling so it's above background */
.booking-container {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 80px auto 20px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.8s ease;
  color: #fff;
}

.booking-container h1 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: #f5d6a3;
  text-align: center;
  margin-bottom: 20px;
}

.booking-container label {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.booking-container input,
.booking-container select,
.booking-container textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.booking-container input:focus,
.booking-container select:focus,
.booking-container textarea:focus {
  background: rgba(255, 255, 255, 0.25);
}

.booking-container .btn {
  margin-top: 25px;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #b38e2f);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.booking-container .btn:hover {
  background: linear-gradient(135deg, #b38e2f, #d4af37);
  transform: scale(1.03);
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dropdown room styling */
.booking-form select {
  font-weight: bold;
  color: #7b3f00;
  /* Luxury brown tone */
}

.booking-form select option {
  font-weight: bold;
  padding: 8px;
  background-color: #fff8f0;
  color: #333;
}

/* admin.css — very simple styles so it's readable */
body.admin-page {
  /* Added a class to target admin page specifically */
  font-family: Inter, Arial, sans-serif;
  background: #f3f3f3;
  color: #222;
  margin: 0;
}

.admin-page .wrap {
  max-width: 980px;
  margin: 28px auto;
  padding: 0 16px;
}

.admin-page header h1 {
  color: #8b1d30;
  margin-bottom: 12px;
}

.admin-page .card {
  background: white;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.admin-page input {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.admin-page button {
  background: #8b1d30;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.admin-page button:hover {
  opacity: 0.95;
}

.admin-page .muted {
  color: #666;
  font-size: 0.95rem;
}

.admin-page .room-row,
.admin-page .booking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.admin-page .small-btn {
  background: #d9534f;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Navbar base */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-family: "Poppins", sans-serif;
  /* Changed to Poppins for consistency */
}

/* Logo */
.logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-dark);
  /* Use dark text from root */
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  /* Ensure list style is removed */
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 1.05rem;
  font-weight: 600;
  /* Bolder text */
  transition: all 0.3s ease;
  padding: 10px 16px;
  border-radius: 50px;
  /* Rounded for all, fully visible on hover */
}

/* Hover effect for normal links */
.nav-links a:not([href="booking.html"]):hover {
  background: rgba(139, 29, 48, 0.1);
  color: var(--burgundy);
}

/* CTA properties for "Book Your Stay" */
.nav-links a[href="booking.html"] {
  background: var(--gold);
  color: #fff !important;
  padding: 12px 24px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  margin-left: 10px;
}

.nav-links a[href="booking.html"]:hover {
  background: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 29, 48, 0.4);
}

/* Mobile menu toggle (hamburger) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hamburger menu animation */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .navbar {
    padding: 0 15px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    gap: 30px;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 15px 25px;
    width: 200px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #333 !important;
    /* Force dark color on white background */
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1rem;
  }

  .nav-links a {
    font-size: 1rem;
    width: 180px;
  }
}

/* Default Light Theme - already applied in most of your styles */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #f5f5f5;
  }

  .header,
  .footer {
    background-color: #1e1e1e;
    color: #f5f5f5;
  }

  /* Fix for Navbar Visibility in Dark Mode */
  .navbar {
    background-color: #1e1e1e !important;
    border-bottom: 1px solid #333;
  }

  .logo {
    color: #f5f5f5 !important;
  }

  .mobile-menu-toggle span {
    background: #f5f5f5 !important;
  }

  /* Match the specificity of the main selector: .nav-links a */
  .nav-links a {
    color: #f5f5f5 !important;
  }

  /* Ensure CTA button keeps its specific style but adapts if needed */
  .nav-links a[href="booking.html"] {
    color: #fff !important;
    /* Keep white on gold button */
  }

  .room-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
  }

  .room-card h3 {
    color: #ffffff;
  }

  .room-card p {
    color: #cccccc;
  }

  .rooms {
    background: #181818;
  }

  /* Mobile menu dark background */
  @media (max-width: 768px) {
    .nav-links {
      background: rgba(30, 30, 30, 0.98);
      border-right: 1px solid #333;
    }
  }
}

/* Menu Preview Styles (for order.html) */
#menu-preview h2 {
  text-align: center;
  color: var(--burgundy);
  /* Use burgundy from root */
  margin-bottom: 20px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.menu-item {
  background: #fdfdfd;
  border: 1px solid #eee;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
}

.menu-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.menu-item h3 {
  margin: 5px 0;
}

.menu-item span {
  color: var(--burgundy);
  /* Use burgundy from root */
  font-weight: bold;
}

/* Order Form Styles (for order.html) */
body.order-page {
  /* Added a class to target order page specifically */
  font-family: "Segoe UI", sans-serif;
  background: #fefefe;
  color: #333;
  padding: 20px;
}

.order-page .container {
  max-width: 800px;
  margin: auto;
}

.order-page h1,
.order-page h2,
.order-page h3 {
  text-align: center;
  color: #bb8b06;
}

.order-page .tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.order-page .tablink {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background: #4b1f1f;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.order-page .tablink.active {
  background: #b58e53;
  color: #fff;
}

.order-page .tab-content {
  display: none;
}

.order-page .tab-content.active {
  display: block;
  padding: 1rem 0;
}

.order-page .menu-item {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.order-page .menu-item input {
  width: 50px;
  padding: 5px;
}

.order-page .order-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.order-page .order-form input,
.order-page .order-form textarea {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.order-page .order-form button {
  background: #b58e53;
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Reviews Section Specifics */
.reviews-section {
  padding: 80px 20px;
  background-color: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.review-card {
  background: #f8f6f3;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.review-stars {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 15px;
}

.review-text {
  flex-grow: 1;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.review-author {
  text-align: right;
}

.review-author strong {
  display: block;
  color: #333;
}

.review-author span {
  font-size: 0.9rem;
  color: #777;
}

.review-cta {
  text-align: center;
  padding: 40px 20px;
  background: #fdfdfd;
  border-radius: 10px;
  margin-top: 20px;
}

.review-cta-title {
  font-size: 2rem;
  color: #8b1d30;
  margin-bottom: 0.5rem;
}

.review-cta-subtitle {
  margin-bottom: 1.5rem;
  color: #666;
}

/* Review Modal - Minimal styles to make it work */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  /* Black w/ opacity */
  padding-top: 50px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px 30px;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* Review Form Theming */
.review-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1 1 calc(50% - 10px);
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex-basis: 100%;
}

.review-form label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.review-form input[type="text"]:focus,
.review-form input[type="email"]:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.review-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Interactive Star Rating */
.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}



.rating-input input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
  /* Use clip to ensure it takes no space but exists */
  clip: rect(0, 0, 0, 0);
}

.rating-input label {
  cursor: pointer;
  font-size: 2rem;
  color: #ccc;
  transition: color 0.2s ease-in-out;
}

.rating-input input:checked~label,
.rating-input label:hover,
.rating-input label:hover~label {
  color: var(--gold);
}

.form-actions {
  flex-basis: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.btn-submit {
  background-color: var(--burgundy);
}

.btn-submit:hover {
  background-color: #6b1524;
}

.btn-clear {
  background-color: #777;
  color: #fff;
  border: none;
}

.btn-clear:hover {
  background-color: #555;
  color: #fff;
}

/* Room Preview Modal */
.room-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #666;
  z-index: 1;
}

.close-btn:hover {
  color: #000;
}

.preview-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.preview-info {
  padding: 30px;
}

.preview-info h2 {
  color: var(--burgundy);
  margin-bottom: 15px;
  font-size: 2rem;
}

.preview-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.preview-price {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 25px;
}

.preview-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.preview-actions .btn {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 12px 20px;
}

.btn-primary {
  background: var(--burgundy);
  color: white;
}

.btn-primary:hover {
  background: #6b1524;
  color: white;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }

  .preview-image {
    height: 200px;
  }

  .preview-info {
    padding: 20px;
  }

  .preview-info h2 {
    font-size: 1.5rem;
  }

  .preview-price {
    font-size: 1.2rem;
  }

  .preview-actions {
    flex-direction: column;
  }

  .preview-actions .btn {
    min-width: auto;
  }
}