:root {
  --primary: #785D32;         /* Luxury Gold */
  --primary-dark: #3E160C;    /* Deep Mahogany / Rough */
  --secondary: #050A30;       /* Rich Off-Navy */
  --accent: #25d366;          /* WhatsApp Green */
  --light-bg: #E8D9C4;        /* Pale Background */
  --card-bg: #F4ECE1;         /* Warm Surface Light Pale */
  --text-main: #3E160C;       /* Dark Main Text */
  --text-muted: #6B5548;      /* Muted Warm Brown */
  --border-soft: #D5C2AB;     /* Soft Gold Border */
  --shadow-sm: 0 4px 15px rgba(5, 10, 48, 0.12);
  --shadow-lg: 0 12px 30px rgba(5, 10, 48, 0.22);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Premium Ultra-Modern Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 10, 48, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(120, 93, 50, 0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* White & Gold Icon inverted filter fix */
.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E8D9C4;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: #E8D9C4;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #E8D9C4;
}

/* Hero Section Fix */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(5, 10, 48, 0.72), rgba(62, 22, 12, 0.68)), url('./img/sanwariya-bhawan-favicon.webp') center/cover no-repeat;
  color: #E8D9C4;
  padding: 8rem 1.5rem 4rem;
}

.hero-content {
  max-width: 900px;
  animation: fadeIn 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.2rem;
  font-weight: 300;
  color: #E8D9C4;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: white;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
  background-color: #20ba5a;
}

/* Global Section Layout */
section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  color: var(--primary-dark);
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--primary);
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Feature Cards & Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.highlight-card {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--primary);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.highlight-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Rooms Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.room-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.room-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.room-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.room-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.amenity-box {
  background: var(--card-bg);
  padding: 1.8rem 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}

.amenity-box:hover {
  transform: translateY(-5px);
  background: #E8D9C4;
  border-bottom: 3px solid var(--primary);
}

.amenity-box i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.amenity-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-soft);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* Rating Badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(120, 93, 50, 0.25);
  border: 1px solid var(--primary);
  color: #ffffff;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.2rem 1.5rem;
  max-height: 250px;
}

.faq-item.active i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Location & Map Layout */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.map-frame {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.nearby-list {
  list-style: none;
}

.nearby-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: white;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(5, 10, 48, 0.35);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--secondary);
  color: #E8D9C4;
  padding: 3.5rem 1.5rem 1.5rem;
  text-align: center;
  border-top: 2px solid var(--primary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.footer-content h3 {
  color: #ffffff;
}

.footer-text {
  color: #D5C2AB;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-container {
    padding: 0.8rem 1.2rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--primary);
    gap: 1.2rem;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .about-container, .location-grid {
    grid-template-columns: 1fr;
  }
}

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