:root {
  --saffron: #F09D33;
  --deep-saffron: #d9821f;
  --cream: #fff8ee;
  --dark: #3b2f2f;
  --soft-gold: rgba(240,157,51,0.35);
}

/* GLOBAL */
body {
  margin: 0;
  font-family: "Georgia", serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}


.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;                    /* Higher than other elements */
  background: var(--cream);         /* Prevent transparent gap during scroll */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Subtle shadow when stuck */
}

/* Make sure sacred-bar and header don't have their own position sticky anymore */

/* TOP BAR */
.sacred-bar {
  background: linear-gradient(to right, var(--deep-saffron), var(--saffron));
  color: #6c4513;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  position: static;
}

/* HEADER */
.temple-header {
  background: linear-gradient(to bottom, #ffffff, #fff4e2);
  border-bottom: 1px solid var(--soft-gold);
  box-shadow: 0 8px 25px rgba(240, 157, 51, 0.25); /* Subtle saffron glow highlight */
  position: relative;
  overflow: hidden;
  top: 0;
  z-index: 100;
  position: static;
}

.temple-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(240, 157, 51, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
}

/* LOGO */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 0 0 4px var(--soft-gold), 0 12px 28px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* BRAND */
.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 22px;
  font-weight: bold;
  color: #6c4513;
}

.brand-tagline {
  font-size: 12px;
  
  color: #a06b2a;
}

/* NAV */
.main-nav a {
  margin-left: 26px;
  text-decoration: none;
  color: var(--dark);
  font-size: 20px;
  position: relative;
  color: #a06b2a;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s ease;
  color: #a06b2a;
}

.main-nav a:hover::after {
  width: 100%;
  color: #a06b2a;
}

/* SHLOKA STRIP */
.header-shloka {
  background: rgba(240,157,51,0.12);
  overflow: hidden;
  padding: 4px 0;
  border-top: 1px solid var(--soft-gold);
  border-bottom: 1px solid var(--soft-gold);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.shloka-marquee {
  display: flex;
  width: max-content;
  animation: shloka-scroll 36s linear infinite;
}

.shloka-track span {
  font-size: 12.5px;
  color: #6b3f12;
  padding-right: 60px;
  white-space: nowrap;
}

@keyframes shloka-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* HERO SLIDER */
/* .hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
  background: #f5e6d3;
} */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100svh; /* sacred bar + header */
  margin-top: 5x; 
  overflow: hidden;
}
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* 🔥 FIX */
}
/* ARROWS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 6px 16px rgba(90, 14, 14, 0.2);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-btn:hover { background: #fff; }

/* CONTENT SECTIONS */
.content-section {
  padding: 70px 40px;
  text-align: center;
}

.alt-bg { background: #fff4e4; }

.content-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.content-section h2::after {
  content: "ॐ";
  display: block;
  font-size: 20px;
  color: var(--saffron);
  margin-top: 6px;
}

.content-box {
  max-width: 760px;
  margin: auto;
  background: #fff;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
  border: 1px solid var(--soft-gold);
}

/* OFFERINGS */

.offerings-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.offering-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  width: 260px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #fff;
  padding: 26px;
  text-align: center;
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {

  .logo-frame {
    width: 90px;
    height: 90px;
    padding: 8px;
  }
  .brand-name {
    font-size: 20px;
  }

  .header-main {
    flex-direction: column;
    gap: 14px;
  }
  .main-nav a {
    margin: 0 12px;
    color: #a06b2a;
  }
  .shloka-track span {
    font-size: 11.5px;
    padding-right: 40px;
  }
}

/* CONTACT SECTION */
.contact-box {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info {
  text-align: center;
  font-size: 16px;
}

.contact-info p {
  margin: 12px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid var(--soft-gold);
  border-radius: 12px;
  background: #fff;
  font-family: "Georgia", serif;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(240,157,51,0.2);
}

.contact-form button {
  padding: 14px;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--deep-saffron);
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .contact-box {
    gap: 30px;
  }
  .contact-form {
    padding: 0 20px;
  }
  .slide-image {
    object-fit: contain !important;          /* Show full image, no crop */
    object-position: center;                 /* Center it */
    background: #f5e6d3;                     /* Match your hero background as fallback */
  }
  
  .hero-slider {
    height: 60vh;                            /* Smaller height on mobile to avoid excessive cropping/empty space */
    min-height: 380px;                       /* Prevent too small on big phones */
  }
}

.whatsapp-soft-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 24px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-soft-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
