/* === Custom CSS for Prayagraj Kumbh Theme (Enhanced) === */
:root {
  --gold-1: #b3592b;
  --gold-2: #d07a4a;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.bg-soft {
  background: #fff6f0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* === HERO SECTION === */
.hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.35)
    ),
    url("https://images.unsplash.com/photo-1505480048478-1653e8b63d09?auto=format&fit=crop&w=2000&q=80")
      center/cover no-repeat;
  padding-top: 120px; /* accounts for fixed header */
}

.hero-inner {
  max-width: 900px;
  padding: 36px;
  animation: fadeInUp 1s ease;
}

.hero-pre {
  font-size: 18px;
  margin-bottom: 6px;
  opacity: 0.95;
}

.hero-h1 {
  font-size: clamp(28px, 5vw, 56px);
  margin: 6px 0 12px;
  font-weight: 900;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 240, 225, 0.95);
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.cta-primary {
  background: #fff;
  color: var(--gold-1);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s;
}

.cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 16px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s;
}

.cta-primary:hover,
.cta-outline:hover {
  transform: translateY(-2px);
}

/* === Transparent Header + Fade on Scroll === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(179, 89, 43, 0); /* transparent initially */
  color: #fff;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(6px);
}

.site-header.scrolled {
  background: #b3592b; /* orange when scrolled */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}

/* === Logo & Title Fix (Handles Empty Logo Gracefully) === */
.branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
}

.site-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.site-tagline {
  font-size: 13px;
  color: #ffe;
  margin-top: -4px;
}

/* === Navigation Links === */
.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
}

.site-nav a:hover {
  color: #ffe2d0;
  transform: translateY(-2px);
}

/* === Mobile Toggle === */
.mobile-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    margin-left: auto;
    cursor: pointer;
  }

  .site-nav {
    display: none;
  }
}

/* === Mobile Drawer Menu (Slide Animation) === */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: auto;
  background: #fff;
  z-index: 9998;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.35s ease;
}

.mobile-drawer.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer li {
  margin: 14px 0;
}

.mobile-drawer a {
  color: #b3592b;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.mobile-drawer a:hover {
  color: #7d3c1f;
}

/* === Responsive Header Height Fix === */
@media (max-width: 768px) {
  .site-logo {
    max-height: 36px;
  }
  .header-inner {
    padding: 8px 18px;
  }
}

/* === Simple fade-in animation === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Footer Styling === */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  padding: 24px 20px;
  background: #fff;
}

.muted {
  color: var(--muted);
}
/* === Mobile Header Height Fix (no logo uploaded) === */
@media (max-width: 768px) {
  .site-header {
    padding: 6px 0 !important;
  }

  .site-logo {
    max-height: 30px !important;
    width: auto !important;
    background: none !important;
    padding: 0 !important;
  }

  .branding {
    align-items: center;
  }

  .header-inner {
    padding: 6px 16px !important;
  }
}
.site-logo[src*="logo-placeholder"] {
  display: none !important;
}
/* === CTA Button Alignment Fix === */
.cta-primary, 
.cta-outline,
.card a[href^="https://wa.me"],
.card a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  min-width: 150px;
  line-height: 1.2;
  vertical-align: middle;
}

.card a[href^="https://wa.me"] {
  background: #25D366;
  color: #fff !important;
}

.card a[href^="tel:"] {
  background: #b3592b;
  color: #fff !important;
}

.card a[href^="https://wa.me"]:hover {
  background: #1da851;
  transform: translateY(-2px);
}

.card a[href^="tel:"]:hover {
  background: #8f3f21;
  transform: translateY(-2px);
}

/* Fix spacing between buttons */
.card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Mobile optimization */
@media (max-width: 600px) {
  .card a[href^="https://wa.me"],
  .card a[href^="tel:"] {
    flex: 1 1 45%;
    min-width: 130px;
  }
}

/* === Gradient & Themed CTA Buttons (Waterchem x Kumbh 2026 Style) === */

/* WhatsApp button — clean & familiar */
.card a[href^="https://wa.me"] {
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.35);
  color: #fff !important;
  border: none;
  transition: all 0.25s ease-in-out;
}
.card a[href^="https://wa.me"]:hover {
  background: linear-gradient(135deg, #1da851 0%, #128c56 100%);
  box-shadow: 0 5px 14px rgba(29, 168, 81, 0.4);
  transform: translateY(-2px);
}

/* Call Now button — in sync with site orange */
.card a[href^="tel:"] {
  background: linear-gradient(135deg, #b3592b 0%, #d07a4a 100%);
  box-shadow: 0 3px 8px rgba(179, 89, 43, 0.3);
  color: #fff !important;
  border: none;
  transition: all 0.25s ease-in-out;
}
.card a[href^="tel:"]:hover {
  background: linear-gradient(135deg, #8f3f21 0%, #b3592b 100%);
  box-shadow: 0 5px 14px rgba(143, 63, 33, 0.35);
  transform: translateY(-2px);
}

/* Shared button polish */
.card a[href^="https://wa.me"],
.card a[href^="tel:"] {
  border-radius: 10px;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
  min-width: 160px;
  font-weight: 600;
}

/* Responsive flex alignment fix */
.card div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}


