:root {
  --gold: #d4a017;
  --deep-red: #b71c1c;
  --soft-red: #e53935;
  --bg-light: #fffaf3;
  --text-dark: #4a2c2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* ================= HERO ================= */

.hero {
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(212, 160, 23, 0.25),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(212, 160, 23, 0.12), rgba(183, 28, 28, 0.06));
}

/* 🌳 Vat Vriksha background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/vatt_vriksha.jpg") center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

/* keep content above background */
.hero > * {
  position: relative;
  z-index: 1;
}

/* ⭐ hero spacing */
.hero-content {
  margin-bottom: 70px;
  animation: fadeUp 0.9s ease;
}

.hero h1 {
  color: var(--deep-red);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero p {
  color: #6b3a3a;
  font-size: 1.05rem;
}

/* ================= CAROUSEL ================= */

.carousel {
  max-width: 1050px;
  margin: auto;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* ⭐ THIS centers the active slide visually */
.carousel-track {
  display: flex;
  gap: 24px;
  align-items: center;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 65%;
  opacity: 0.45;
  transform: scale(0.82);
  transition: all 0.7s ease;
}

.carousel-slide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ================= ABOUT ================= */

.about {
  background: white;
  padding: 70px 20px;
}

.container {
  max-width: 920px;
  margin: auto;
  text-align: center;
}

.about h2 {
  color: var(--deep-red);
  margin-bottom: 18px;
  font-size: 1.9rem;
}

.about p {
  margin-bottom: 14px;
  line-height: 1.7;
}

/* ================= UPCOMING ================= */

.upcoming {
  padding: 80px 20px;
  text-align: center;
}

.upcoming h2 {
  color: var(--deep-red);
  font-size: 2rem;
}

/* .pooja-card {
  max-width: 620px;
  margin: 36px auto 0;
  background: white;
  padding: 34px 28px;
  border-radius: 22px;
  box-shadow:
    0 30px 60px rgba(183, 28, 28, 0.08),
    0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.35);
  transition: transform 0.25s ease;
} */

/* ⭐ premium card with background image */
.pooja-card {
  position: relative;
  max-width: 620px;
  margin: 36px auto 0;
  padding: 34px 28px;
  border-radius: 22px;
  overflow: hidden;
  background: white;
  box-shadow:
    0 30px 60px rgba(183, 28, 28, 0.08),
    0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.35);
  transition: transform 0.25s ease;
}

/* 🌄 pooja background image */
.pooja-card::before {
  content: "";
  position: absolute;
  inset: 0;

  /* 👉 change image as you like */
  background: url("assets/surya_bhagwan.jpg") center/cover no-repeat;

  opacity: 0.12; /* ⭐ sweet spot */
  z-index: 0;
  pointer-events: none;
}

.pooja-card > * {
  position: relative;
  z-index: 1;
}

.pooja-card:hover {
  transform: translateY(-4px);
}

.pooja-card:hover {
  transform: translateY(-4px);
}

.meta {
  color: #7a4b4b;
  margin: 12px 0;
  font-weight: 500;
}

.desc {
  margin: 20px 0;
}

/* ================= PRICING ================= */

.pricing {
  text-align: left;
  margin: 22px 0 30px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

/* ================= BUTTONS ================= */

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pooja-btn {
  text-decoration: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--deep-red), var(--soft-red));
  transition: all 0.25s ease;
  box-shadow: 0 10px 22px rgba(183, 28, 28, 0.25);
  position: relative;
  overflow: hidden;
}

.pooja-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s;
}

.pooja-btn:hover::after {
  opacity: 1;
}

.pooja-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.pooja-btn.gold {
  background: linear-gradient(135deg, #c69214, #e0b324);
  color: #4a2c2a;
  box-shadow: 0 10px 22px rgba(212, 160, 23, 0.35);
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 28px 16px;
  font-size: 0.9rem;
  color: #7a6a6a;
  background: #fff;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 42%;
  }

  .btn-group {
    flex-direction: row;
  }
}

/* ================= COMPLETED POOJA ================= */

.pooja-card.ended {
  opacity: 0.95;
}

/* completion message box */
.pooja-ended {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(212, 160, 23, 0.15);
  font-weight: 500;
  line-height: 1.5;
}

/* disabled buttons */
.disabled-btn {
  background: #c5c5c5;
  color: #555;
  cursor: not-allowed;
  box-shadow: none;
}

.disabled-btn:hover {
  transform: none;
}
