/* ==========================================================================
   Varanasi Tour Guide - Main Stylesheet
   Refined Heritage Aesthetic: Maroon, Saffron, Gold, Cream, Charcoal & River Blue
   ========================================================================== */

:root {
  --primary: #7A1F1D;           /* Deep Heritage Maroon */
  --primary-dark: #5C1514;
  --primary-light: #9B2E2C;
  --secondary: #D96B27;         /* Sacred Saffron */
  --secondary-hover: #BF5A1B;
  --gold: #C59B27;              /* Temple Gold */
  --gold-light: #F4E8C1;
  --gold-soft: #FCF8EC;
  --cream: #FBF8F3;             /* Ganga Cream background */
  --river-blue: #1F4E5B;        /* Ganga River & Serenity Blue */
  --river-blue-light: #E8F2F5;
  --charcoal: #1A1D20;          /* Deep readable text */
  --charcoal-muted: #525860;
  --border-color: #E7DFD5;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 35px rgba(122, 31, 29, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s ease-in-out;
}

/* Base & Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky bottom bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6, .heading-serif {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: calc(1.8rem + 1.2vw); line-height: 1.25; }
h2 { font-size: calc(1.5rem + 0.8vw); line-height: 1.3; }
h3 { font-size: calc(1.25rem + 0.4vw); line-height: 1.35; }

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

a:hover, a:focus {
  color: var(--secondary);
}

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

/* Utility Badges & Tags */
.badge-heritage {
  background-color: var(--gold-soft);
  color: var(--primary);
  border: 1px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-saffron {
  background-color: rgba(217, 107, 39, 0.12);
  color: var(--secondary);
  border: 1px solid rgba(217, 107, 39, 0.25);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

.badge-river {
  background-color: var(--river-blue-light);
  color: var(--river-blue);
  border: 1px solid rgba(31, 78, 91, 0.2);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

/* Top Announcement Bar */
.top-notice-bar {
  background: var(--primary-dark);
  color: #F8EFEA;
  font-size: 0.825rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar a {
  color: #FFD494;
  text-decoration: none;
  font-weight: 600;
}

.top-notice-bar a:hover {
  text-decoration: underline;
}

/* Main Navigation */
.main-navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(122, 31, 29, 0.25);
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin: 0;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--charcoal-muted);
  display: block;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.nav-link {
  font-weight: 600;
  color: var(--charcoal) !important;
  font-size: 0.925rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background-color: var(--gold-soft);
}

.nav-link.highlight {
  color: var(--secondary) !important;
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  background: var(--white);
}

.dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
}

.dropdown-item:hover {
  background-color: var(--gold-soft);
  color: var(--primary);
}

/* Custom Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, #942523 100%);
  color: var(--white);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 12px rgba(122, 31, 29, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, #BF5A1B 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 107, 39, 0.3);
}

.btn-secondary-custom {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-secondary-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp-custom {
  background: #25D366;
  color: var(--white);
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
}

.btn-whatsapp-custom:hover {
  background: #20BD5A;
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%);
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(122, 31, 29, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats-badge {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Booking Card / Form Component */
.booking-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.booking-card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.form-control, .form-select {
  border: 1.5px solid #D8D1C7;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.925rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(122, 31, 29, 0.12);
  outline: none;
}

/* Checkbox tags */
.interest-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.interest-tag-label {
  font-size: 0.8rem;
  cursor: pointer;
  background: var(--cream);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  transition: var(--transition);
  user-select: none;
}

.interest-tag-input {
  display: none;
}

.interest-tag-input:checked + .interest-tag-label {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Trust Indicator Strip */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--gold-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid var(--gold-light);
}

/* Feature & Service Cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--gold-light);
}

.feature-card.primary-theme .feature-icon-box {
  background: rgba(122, 31, 29, 0.08);
  color: var(--primary);
}

.feature-card.river-theme .feature-icon-box {
  background: var(--river-blue-light);
  color: var(--river-blue);
}

.feature-card.saffron-theme .feature-icon-box {
  background: rgba(217, 107, 39, 0.1);
  color: var(--secondary);
}

/* AI Translation Special Section */
.ai-showcase-box {
  background: linear-gradient(135deg, #111D25 0%, #1A2833 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ai-step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  height: 100%;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.ai-step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.ai-step-number {
  width: 32px;
  height: 32px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Audio wave simulation */
.audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 24px;
}

.wave-bar {
  width: 3px;
  background: #E5B83A;
  border-radius: 3px;
  animation: wavePulse 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 24px; animation-delay: 0.3s; }
.wave-bar:nth-child(4) { height: 12px; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 18px; animation-delay: 0.5s; }

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Language Cards & Grid */
.lang-filter-tab {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}

.lang-filter-tab.active, .lang-filter-tab:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.lang-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lang-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.lang-native {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Package Pricing Cards */
.package-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.package-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--gold-soft) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-color);
}

.package-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-features li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.package-features li i, .package-features li .check-icon {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 2px;
}

/* Disclaimer / Transparency Box */
.disclaimer-alert {
  background: #FFF9E6;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: #6C5512;
}

.disclaimer-alert.info {
  background: #EBF5F8;
  border-left-color: var(--river-blue);
  color: #1A424E;
}

/* Real Guide Profile Placeholders */
.guide-profile-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.guide-profile-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.guide-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border: 2px solid var(--gold);
  margin-bottom: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

/* Accordion Customization */
.custom-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.custom-accordion .accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  box-shadow: none;
  padding: 1.1rem 1.25rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--gold-soft);
  color: var(--primary);
}

.custom-accordion .accordion-button:focus {
  border-color: var(--primary);
  box-shadow: none;
}

/* Footer */
.main-footer {
  background: #14171A;
  color: #D3D7DC;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--primary);
  font-size: 0.9rem;
}

.footer-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #A9B1BA;
  text-decoration: none;
  transition: var(--transition);
}

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

.parent-business-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

/* Mobile Bottom Action Bar (Fixed <= 768px) */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0.75rem;
  z-index: 1040;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  flex: 1;
  text-align: center;
}

.mobile-bottom-item svg, .mobile-bottom-item i {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.mobile-bottom-item.call {
  color: var(--primary);
}

.mobile-bottom-item.whatsapp {
  color: #25D366;
}

.mobile-bottom-item.book {
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.4rem 0.75rem;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

/* Floating WhatsApp button for desktop */
.floating-whatsapp-btn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1020;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .floating-whatsapp-btn {
    display: flex;
  }
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  color: var(--white);
}

/* SVG icons inline helper */
.icon-inline {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
}
