/* 
  Meera Madhav Resort Vrindavan - Master Stylesheet (SVG Logo Integration & High Contrast Nav)
  Theme: Royal Spiritual Luxury (Gold, Deep Saffron, Temple Ivory, Emerald)
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-gold: #D4AF37;
  --primary-gold-light: #F3E5AB;
  --primary-gold-dark: #B8860B;
  --accent-saffron: #D97706;
  --accent-saffron-light: #FEF3C7;
  --accent-emerald: #064E3B;
  --bg-ivory: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-dark: #12100E;
  --text-dark: #1C1917;
  --text-muted: #57534E;
  --border-gold: rgba(212, 175, 55, 0.3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px -5px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.15);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-ivory);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
}

.text-gold { color: var(--primary-gold-dark); }
.text-saffron { color: var(--accent-saffron); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: #9A7B0A;
  border: 1px solid var(--border-gold);
}

.badge-saffron {
  background: var(--accent-saffron-light);
  color: var(--accent-saffron);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-rating {
  background: #FEF08A;
  color: #854D0E;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-gold);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #E2C044 0%, #C89617 100%);
}

.btn-secondary {
  background: #FFFFFF;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item i {
  color: var(--primary-gold);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-social a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.top-bar-social a:hover {
  color: var(--primary-gold);
}

/* ==========================================================================
   Navigation Bar & Official Logo Styling
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

/* Official Logo Container */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 62px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
  transition: var(--transition);
}

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

.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Nav Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2D2724;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #B8860B;
  background: rgba(212, 175, 55, 0.12);
}

/* Nav Book Button */
.nav-btn-wrapper {
  margin-left: 8px;
  flex-shrink: 0;
}

.nav-btn-wrapper .btn-primary {
  padding: 10px 20px;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(18, 16, 14, 0.65), rgba(18, 16, 14, 0.75)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
  color: #FFFFFF;
  padding: 80px 0;
}

.hero-content {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary-gold-light);
  margin-bottom: 16px;
  font-weight: 600;
  display: block;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Quick Booking Widget */
.booking-widget {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border: 1px solid var(--primary-gold-light);
  color: var(--text-dark);
  margin-top: 40px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) 180px;
  gap: 16px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #F9FAFB;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: #FFFFFF;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-bg-alt {
  background-color: #F4EFE6;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* About / Story Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-dark);
  color: var(--primary-gold);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-img-badge .number {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-img-badge .label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Rooms & Suites Section */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.room-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

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

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

.room-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.room-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18, 16, 14, 0.88);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid var(--border-gold);
}

.room-price-tag span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-gold);
}

.room-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.room-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.room-specs {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #F3F4F6;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.room-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.room-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* Dining Section */
.dining-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.dining-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
}

/* Wedding & Events Section */
.wedding-banner {
  background: linear-gradient(rgba(18, 16, 14, 0.75), rgba(18, 16, 14, 0.8)), url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1200&q=85') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.wedding-banner h2 {
  color: #FFFFFF;
  font-size: 2.6rem;
  margin-bottom: 16px;
}

/* Braj Darshan Guide & Distance Matrix */
.distance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.distance-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.distance-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
}

.distance-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-saffron-light);
  color: var(--accent-saffron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Reviews Section */
.reviews-summary-card {
  background: linear-gradient(135deg, #1C1917, #2D2724);
  color: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  border: 1px solid var(--border-gold);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #F59E0B;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #E5E7EB;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-sm);
}

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

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Google Map Embed Section */
.map-wrapper {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-gold);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 30px;
  border-top: 2px solid var(--primary-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h3 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary-gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

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

/* Modal Booking Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* Responsive Breakdown */
@media (max-width: 1180px) {
  .nav-menu {
    gap: 4px;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 6px 10px;
  }
}

@media (max-width: 992px) {
  .hero-title { font-size: 2.4rem; }
  .about-grid, .dining-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--primary-gold);
  }
  .nav-link {
    width: 100%;
    padding: 10px 16px;
  }
}

@media (max-width: 640px) {
  .hero-title { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
}
