@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --maroon:       #5C1010;
  --maroon-dark:  #3A0808;
  --maroon-deep:  #1A0404;
  --gold:         #C8960C;
  --gold-light:   #F5D76E;
  --saffron:      #E07B00;
  --saffron-glow: #FFA726;
  --cream:        #FDF6EC;
  --text-muted:   #DDD0C0;
}

/* ================================================
   LANGUAGE POPUP — small corner box
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --maroon:       #5C1010;
  --maroon-dark:  #3A0808;
  --maroon-deep:  #1A0404;
  --gold:         #C8960C;
  --gold-light:   #F5D76E;
  --saffron:      #E07B00;
  --saffron-glow: #FFA726;
  --cream:        #FDF6EC;
  --text-muted:   #DDD0C0;
}

/* ================================================
   LANGUAGE POPUP — small corner box
   ================================================ */

#lp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(1px);
}
#lp-overlay.open { display: block; }

#lp-box {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9995;
  width: 252px;
  background: linear-gradient(160deg, #2e0606 0%, #5C1010 100%);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  overflow: hidden;
  transform: translateY(10px) scale(0.97);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#lp-box.open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px 9px;
  border-bottom: 1px solid rgba(200,150,12,0.3);
}
.lp-head span {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.07em;
}
.lp-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lp-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

.lp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px 12px;
}
.lp-grid button {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.92rem;
  color: var(--cream);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,150,12,0.2);
  border-radius: 7px;
  padding: 7px 6px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lp-grid button:hover {
  background: rgba(200,150,12,0.18);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ================================================
   HEADER
   ================================================ */

#custom-header {
  background: linear-gradient(135deg, #3A0808 0%, #5C1010 55%, #7B1A1A 100%);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-strip {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--saffron-glow) 0px,  var(--saffron-glow) 12px,
    var(--gold)         12px, var(--gold)          24px,
    var(--maroon)       24px, var(--maroon)         36px
  );
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-brand a.custom-logo-link { display: flex; align-items: center; }
.header-brand img,
.header-brand .custom-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 10px rgba(200,150,12,0.55);
  transition: transform 0.35s, box-shadow 0.35s;
  display: block;
}
.header-brand img:hover {
  transform: rotate(6deg) scale(1.1);
  box-shadow: 0 0 20px rgba(200,150,12,0.9);
}
.site-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.55);
  transition: color 0.3s;
  white-space: nowrap;
}
.site-name:hover { color: #fff; }

/* Nav */
.header-nav .nav-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.header-nav .nav-links li a {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 7px 13px;
  border-radius: 4px;
  text-decoration: none;
  display: block;
  position: relative;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}
.header-nav .nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 65%; height: 2px;
  background: var(--saffron-glow);
  border-radius: 2px;
  transition: transform 0.3s;
}
.header-nav .nav-links li a:hover {
  color: var(--saffron-glow);
  background: rgba(255,255,255,0.07);
}
.header-nav .nav-links li a:hover::after,
.header-nav .nav-links li.current-menu-item > a::after,
.header-nav .nav-links li.current_page_item  > a::after {
  transform: translateX(-50%) scaleX(1);
}
.header-nav .nav-links li.current-menu-item > a,
.header-nav .nav-links li.current_page_item  > a { color: var(--gold-light); }

/* Actions row */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Globe button */
.globe-btn {
  background: rgba(200,150,12,0.1);
  border: 1px solid rgba(200,150,12,0.38);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.globe-btn:hover {
  background: rgba(200,150,12,0.22);
  border-color: var(--gold);
  transform: scale(1.1);
}

/* Book Appointment — gold spiritual */
.btn-book {
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--maroon-dark);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border: none;
  border-radius: 6px;
  padding: 9px 15px;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(200,150,12,0.38);
  transition: filter 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-book:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200,150,12,0.55);
}

/* WhatsApp round icon */
.btn-wa {
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(37,211,102,0.35);
  transition: background 0.25s, transform 0.2s;
}
.btn-wa:hover { background: #1ebe5d; transform: scale(1.1); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.3s;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--maroon-dark);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 0.75rem 1.5rem 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 998;
  }
  #custom-header { position: relative; }
  .header-nav.open { display: block; }
  .header-nav .nav-links { flex-direction: column; gap: 0; }
  .header-nav .nav-links li a {
    padding: 13px 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(200,150,12,0.2);
    border-radius: 0;
  }
  .header-nav .nav-links li:last-child a { border-bottom: none; }
  .site-name { font-size: 0.88rem; }
  .btn-book { font-size: 0.68rem; padding: 8px 10px; }
  #lp-box { right: 12px; bottom: 88px; width: 236px; }
}

/* ================================================
   FOOTER + FLOATING WA — unchanged, keep as-is
   ================================================ */

#custom-footer {
  background: linear-gradient(180deg, var(--maroon-dark) 0%, var(--maroon-deep) 100%);
  border-top: 4px solid var(--gold);
  color: var(--cream);
  font-family: 'EB Garamond', Georgia, serif;
}
.footer-strip {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--saffron-glow) 0px, var(--saffron-glow) 12px,
    var(--gold)         12px, var(--gold)         24px,
    transparent         24px, transparent          36px
  );
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.5rem;
  border-bottom: 1px solid rgba(200,150,12,0.25);
}
.footer-brand-col .custom-logo,
.footer-brand-col img {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(200,150,12,0.5);
  display: block; margin-bottom: 0.75rem;
}
.footer-tagline { font-family:'Cinzel',serif; font-size:1.2rem; color:var(--gold-light); letter-spacing:.1em; margin:0 0 .5rem; }
.footer-desc { font-size:1rem; line-height:1.85; color:var(--text-muted); margin:0 0 1.25rem; }
.footer-whatsapp-btn {
  display:inline-flex; align-items:center; gap:7px;
  background:#25D366; color:#fff;
  font-family:'Cinzel',serif; font-size:.8rem; font-weight:600; letter-spacing:.05em;
  padding:9px 18px; border-radius:6px; text-decoration:none;
  transition:background .3s, transform .2s;
  box-shadow:0 2px 10px rgba(37,211,102,.3);
}
.footer-whatsapp-btn:hover { background:#1ebe5d; transform:translateY(-1px); }
.footer-col h4 {
  font-family:'Cinzel',serif; font-size:.88rem; font-weight:600; color:var(--gold-light);
  text-transform:uppercase; letter-spacing:.1em;
  margin:0 0 1rem; padding-bottom:.6rem;
  border-bottom:1px solid rgba(200,150,12,.35);
  position:relative;
}
.footer-col h4::after { content:'🪔'; position:absolute; right:0; bottom:-2px; font-size:.9rem; }
.footer-nav-links { list-style:none; padding:0; margin:0; }
.footer-nav-links li { padding:5px 0 5px 20px; position:relative; }
.footer-nav-links li::before { content:'✦'; position:absolute; left:0; top:7px; color:var(--saffron); font-size:.6rem; }
.footer-nav-links li a { font-family:'EB Garamond',Georgia,serif; font-size:1rem; color:var(--text-muted); text-decoration:none; border-bottom:1px dashed rgba(200,150,12,.3); padding-bottom:1px; transition:color .3s,border-color .3s; }
.footer-nav-links li a:hover { color:var(--saffron-glow); border-bottom-color:var(--saffron-glow); }
.footer-contact-list { list-style:none; padding:0; margin:0; }
.footer-contact-list li { font-size:1rem; line-height:1.9; color:var(--text-muted); display:flex; align-items:flex-start; gap:8px; }
.fc-icon { flex-shrink:0; margin-top:2px; }
.footer-contact-list li a { color:var(--text-muted); text-decoration:none; border-bottom:1px dashed rgba(200,150,12,.3); transition:color .3s; }
.footer-contact-list li a:hover { color:var(--saffron-glow); }
.footer-book-btn {
  display:inline-block; margin-top:1rem;
  font-family:'Cinzel',serif; font-size:.82rem; font-weight:700;
  color:var(--maroon-dark);
  background:linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border-radius:6px; padding:10px 22px; text-decoration:none;
  letter-spacing:.07em; text-transform:uppercase;
  box-shadow:0 3px 12px rgba(200,150,12,.4);
  transition:filter .3s, transform .2s;
}
.footer-book-btn:hover { filter:brightness(1.1); transform:translateY(-2px); }
.footer-bottom { background:rgba(0,0,0,.4); text-align:center; padding:1.2rem 2rem; }
.footer-bottom p { font-family:'EB Garamond',Georgia,serif; font-size:1rem; color:rgba(220,200,170,.7); margin:0; letter-spacing:.04em; }
.footer-bottom a { color:var(--gold-light); text-decoration:none; transition:color .3s; }
.footer-bottom a:hover { color:var(--saffron-glow); }

.float-whatsapp {
  position:fixed; bottom:28px; right:28px; z-index:9991;
  background:#25D366; color:#fff;
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.5);
  transition:transform .3s, box-shadow .3s;
  text-decoration:none;
}
.float-whatsapp:hover { transform:scale(1.12) translateY(-3px); box-shadow:0 8px 28px rgba(37,211,102,.65); }
.float-whatsapp::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: .4;
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%  { transform:scale(1);   opacity:.4; }
  70% { transform:scale(1.6); opacity:0; }
  100%{ transform:scale(1.6); opacity:0; }
}
::selection { background:var(--saffron); color:#fff; }

@media (max-width: 768px) {
  /* ... existing rules ... */

  /* Hide desktop actions on mobile */
  .header-actions {
    display: none;
  }

  /* Book btn inside mobile nav */
  .nav-mobile-book {
    display: block;
    margin: 10px 8px 4px;
  }
  .nav-mobile-book .btn-book {
    display: block;
    text-align: center;
    font-size: 0.82rem;
    padding: 12px 15px;
    border-radius: 7px;
  }
}

/* Desktop pe hide karo mobile book btn */
.nav-mobile-book { display: none; }

/* ================================================
   FLOATING BUTTON STACK (WhatsApp + Call)
   ================================================ */

.float-btn-stack {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9991;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Call Button */
.float-call {
  background: #E53935;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(229, 57, 53, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.float-call:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 28px rgba(229, 57, 53, 0.65);
}
.float-call::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #E53935;
  opacity: 0.4;
  animation: call-pulse 2s ease-out infinite;
  animation-delay: 1s; /* offset from WA pulse */
}
@keyframes call-pulse {
  0%  { transform: scale(1);   opacity: 0.4; }
  70% { transform: scale(1.6); opacity: 0; }
  100%{ transform: scale(1.6); opacity: 0; }
}

/* WhatsApp — keep existing styles but remove position:fixed (now inside stack) */
.float-whatsapp {
  position: static; /* override old fixed */
  width: 58px;
  height: 58px;
  /* rest of existing styles apply */
}

/* ================================================
   FOOTER MAP SECTION
   ================================================ */

.footer-map-section {
  border-top: 1px solid rgba(200, 150, 12, 0.25);
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem 2rem 2.5rem;
}

.footer-map-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.footer-map-text h4 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.6rem;
}

.footer-map-text p {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

.footer-gmb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Cinzel', serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--maroon-dark);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(200, 150, 12, 0.4);
  transition: filter 0.3s, transform 0.2s;
}
.footer-gmb-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.footer-map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 10px;
  border: 1.5px solid rgba(200, 150, 12, 0.3);
  filter: sepia(0.25) contrast(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-map-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .float-btn-stack {
    bottom: 20px;
    right: 18px;
    gap: 10px;
  }

  .float-call {
    width: 46px;
    height: 46px;
  }

  .float-whatsapp {
    width: 52px;
    height: 52px;
  }
}

body, html {
  overflow-x: hidden;
}
#page, .site, #content, .site-main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
