/* ── Home page ── */

/* ── LIKHAN BHAGTI HOME BANNER ── */
.lb-home-banner {
  display: block;
  background: var(--saffron);
  text-decoration: none;
  transition: background var(--transition);
}
.lb-home-banner:hover { background: var(--saffron-dark); }

.lb-home-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  flex-wrap: wrap;
}
.lb-home-banner-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.lb-home-banner-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  opacity: 0.7;
}
.lb-home-banner-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.lb-home-banner-sub {
  font-size: var(--text-sm);
  color: var(--navy);
  opacity: 0.8;
}
.lb-home-banner-btn {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--saffron);
  font-weight: 700;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-6);
  border-radius: 24px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.lb-home-banner:hover .lb-home-banner-btn {
  background: var(--navy-light);
  color: var(--white);
}
@media (max-width: 640px) {
  .lb-home-banner-title { font-size: var(--text-lg); }
  .lb-home-banner-btn { width: 100%; text-align: center; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide--fallback { background: linear-gradient(135deg, #0D1B2A 0%, #1E3350 100%); opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.65) 60%, rgba(13,27,42,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-top: 100px;
  padding-bottom: var(--space-16);
  width: 100%;
}

.hero-text { flex: 1; max-width: 620px; }

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-6);
}
.hero-title-en {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-title-pa {
  font-size: var(--text-3xl);
  color: var(--gurmukhi-gold);
  line-height: 1.3;
  margin-top: var(--space-2);
}
.hero-title-sub {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-top: var(--space-2);
}

.hero-tagline {
  font-size: var(--text-lg);
  color: var(--muted);
  margin-bottom: var(--space-8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-portrait {
  flex-shrink: 0;
  width: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-portrait img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255,153,51,0.3));
}

.hero-dots {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--space-2);
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background var(--transition), transform var(--transition);
  min-height: 0;
}
.hero-dot.active {
  background: var(--saffron);
  transform: scale(1.3);
}

/* ── About snippet ── */
.home-about { padding: var(--space-16) 0; }
.home-about-text {
  font-size: var(--text-xl);
  line-height: 1.8;
  color: var(--off-white);
  max-width: 760px;
}

/* ── Events preview ── */
.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.section-header-row .section-title { margin-bottom: 0; }
.section-header-row .section-title::after { display: none; }

.home-events-list { display: flex; flex-direction: column; gap: var(--space-3); }

.home-event-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-left: 4px solid var(--saffron);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  transition: border-color var(--transition);
}
.home-event-row:hover { border-color: var(--saffron); }
.home-event-row--gurpurab { border-left-color: var(--gurmukhi-gold); }

.home-event-date {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--saffron);
  white-space: nowrap;
  min-width: 80px;
}
.home-event-row--gurpurab .home-event-date { color: var(--gurmukhi-gold); }

.home-event-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.home-event-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
}
.home-event-time {
  font-size: var(--text-sm);
  color: var(--muted);
}

.events-loading {
  display: flex;
  justify-content: center;
  padding: var(--space-8);
}

/* ── Media preview ── */
.home-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.home-media-tile {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-light);
  transition: border-color var(--transition), transform var(--transition);
  background: var(--navy-mid);
}
.home-media-tile:hover {
  border-color: var(--saffron);
  transform: translateY(-2px);
}

.home-media-tile-img {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--navy-light);
  background-size: cover;
  background-position: center;
}
.home-media-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition);
}
.home-media-tile:hover .home-media-tile-overlay { background: rgba(13,27,42,0.25); }

.home-media-tile-label {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ── Contact section ── */
.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-12);
  align-items: start;
}
.home-location-card { display: flex; flex-direction: column; gap: var(--space-4); }

/* spinner inside button */
.spinner-sm {
  width: 20px; height: 20px;
  border: 2px solid rgba(13,27,42,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--navy-light);
  border-top-color: var(--saffron);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Mobile ── */
@media (max-width: 860px) {
  .home-contact-grid { grid-template-columns: 1fr; }
  .home-location-col { order: -1; }
}
@media (max-width: 768px) {
  .hero-portrait { display: none; }
  .hero-content { padding-top: 90px; }
  .hero-title-en { font-size: 2.5rem; }
  .hero-title-pa { font-size: 1.75rem; }
  .hero-title-sub { font-size: 1.25rem; }
  .home-about-text { font-size: var(--text-lg); }
  .home-media-grid { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .home-event-row { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
}
