/* =====================================================
   GOOGLE FONTS
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Cinzel:wght@500;600&display=swap');

/* =====================================================
   THEME VARIABLES – LALBAUGCHA RAJA INSPIRED
===================================================== */
:root {
  --primary: #9b1c1c;     /* Temple red */
  --secondary: #5c0f0f;   /* Deep maroon */
  --gold: #f4c430;        /* Royal gold */
  --cream: #fff4e0;
  --dark: #2a0e0e;
  --bg: #fff7ed;
}

/* =====================================================
   RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
}

/* =====================================================
   TICKER / ANNOUNCEMENT BAR
===================================================== */
.ticker {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-size: 14px;
}

.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 18s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* =====================================================
   HEADER & NAVBAR
===================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(
    to bottom,
    rgba(155,28,28,0.95),
    rgba(92,15,15,0.95)
  );
  border-bottom: 3px solid var(--gold);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-links a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--cream);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gold);
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =====================================================
   HERO SECTION – DARSHAN FEEL
===================================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.3), rgba(0,0,0,0.85)),
    url('../images/hero-chhath.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 44px;
  color: var(--gold);
  letter-spacing: 2px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.8);
}

.hero p {
  margin-top: 15px;
  font-size: 18px;
  color: var(--cream);
}

/* =====================================================
   SECTIONS
===================================================== */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  color: var(--secondary);
}

.section-title p {
  margin-top: 8px;
  color: #555;
}

/* =====================================================
   CARD GRID
===================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(244,196,48,0.4);
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, var(--gold));
  opacity: 0;
  transition: 0.4s;
}

.card:hover::before {
  opacity: 0.12;
}

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

.card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* =====================================================
   BUTTON
===================================================== */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary), #c2410c);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* =====================================================
   SPONSORS STRIP
===================================================== */
.sponsors {
  background: linear-gradient(to right, #5c0f0f, #9b1c1c, #5c0f0f);
  padding: 40px 20px;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.sponsor-logos img {
  background: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  max-height: 60px;
}

/* =====================================================
   FLOATING DIYAS (PURE CSS)
===================================================== */
.diya-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.diya {
  position: absolute;
  bottom: -60px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffd966 20%, #ff9f1c 60%, transparent 70%);
  border-radius: 50%;
  animation: float-diya 20s linear infinite;
  opacity: 0.8;
}

.diya::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 10px;
  background: radial-gradient(circle, #fff3b0, #ffb703);
  border-radius: 50%;
}

.diya:nth-child(1) { left: 10%; animation-duration: 18s; }
.diya:nth-child(2) { left: 30%; animation-duration: 22s; }
.diya:nth-child(3) { left: 50%; animation-duration: 20s; }
.diya:nth-child(4) { left: 70%; animation-duration: 24s; }
.diya:nth-child(5) { left: 90%; animation-duration: 19s; }

@keyframes float-diya {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  10% { opacity: 0.8; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #3a0a0a;
  border-top: 3px solid var(--gold);
  color: #fef3c7;
  text-align: center;
  padding: 40px 20px;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .navbar { flex-direction: column; }
  .nav-links { margin-top: 10px; }
}
/* =====================================================
   GALLERY – MASONRY LAYOUT
===================================================== */

.gallery {
  background: var(--cream);
}

.masonry {
  column-count: 3;
  column-gap: 22px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

/* Golden overlay on hover */
.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(155,28,28,0.75),
    transparent
  );
  opacity: 0;
  transition: 0.4s;
}

.masonry-item:hover::after {
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .masonry { column-count: 2; }
}

@media (max-width: 600px) {
  .masonry { column-count: 1; }
}
