/* css/activities.css */

/* Hero */
.activities-hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.activities-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,26,10,0.4), rgba(44,26,10,0.8));
  z-index: 1;
}
.hero-bg-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: slowPan 25s infinite alternate ease-in-out;
}
@keyframes slowPan {
  0% { transform: scale(1.05) translate(0,0); }
  100% { transform: scale(1.15) translate(-2%, 2%); }
}
.activities-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}
.activities-hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  margin-bottom: 16px;
}

/* Bhakti Glow Mode */
body.bhakti-glow {
  animation: gentleGlow 4s infinite alternate;
}
@keyframes gentleGlow {
  0% { box-shadow: inset 0 0 0px rgba(240, 200, 66, 0); }
  100% { box-shadow: inset 0 0 100px rgba(240, 200, 66, 0.15); }
}

/* Yatra Planner */
.yatra-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.yatra-tab {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--saffron);
  color: var(--maroon);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}
.yatra-tab.active, .yatra-tab:hover {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 200, 66, 0.4);
}
.yatra-content {
  display: none;
  animation: fadeInDown 0.4s ease;
}
.yatra-content.active {
  display: block;
}
.itinerary-step {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--saffron);
}
.itinerary-time {
  font-weight: 700;
  color: var(--saffron);
  min-width: 80px;
}

/* Featured Saint */
.saint-featured-card {
  background: linear-gradient(145deg, #FFF8EF, #FDF4C0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(240, 200, 66, 0.4);
}
@media (min-width: 768px) {
  .saint-featured-card { flex-direction: row; align-items: center; }
  .saint-featured-img { width: 45%; height: 100%; object-fit: cover; }
  .saint-featured-content { width: 55%; padding: 40px; }
}
.saint-featured-img { width: 100%; height: 350px; object-fit: cover; }
.saint-featured-content { padding: 30px 20px; }

/* Video Gallery */
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  height: 200px;
}
.video-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.video-card:hover img { transform: scale(1.05); }
.play-btn-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  transition: all 0.3s;
}
.video-card:hover .play-btn-overlay {
  background: rgba(0,0,0,0.2);
  color: var(--gold-light);
}

/* Festival Highlight */
.festival-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
}
.festival-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.festival-card:hover img {
  transform: scale(1.1);
}
.festival-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}

/* Temples List */
.temple-list-item {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.temple-list-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.temple-list-img {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.temple-list-info h4 { margin: 0 0 6px 0; font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--maroon); }
.temple-list-info p { margin: 0; font-size: 0.85rem; color: var(--text-soft); }

@media (max-width: 500px) {
  .temple-list-item { flex-direction: column; text-align: center; }
}

/* Interactive Map Feature */
#temple-map-iframe {
  transition: opacity 0.3s ease-in-out;
}
.interactive-temple {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.interactive-temple:hover {
  border: 2px solid var(--gold);
  background: rgba(240, 200, 66, 0.05);
  transform: translateY(-5px) scale(1.02);
}

/* ════════════════════════════════
   LUXURY EXPERIENCE CARDS (NEW)
════════════════════════════════ */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-exp {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.exp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: flex-end;
  border: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.featured-exp {
  height: 100%;
  min-height: 400px;
}
.exp-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
}
.exp-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.exp-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 1;
  transition: background 0.5s ease;
}
.exp-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;
  width: 100%;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.exp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.badge-gold {
  background: rgba(240, 200, 66, 0.25);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.exp-dist {
  color: #f1f1f1;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.exp-dist::before {
  content: '📍';
  font-size: 0.85rem;
}
.exp-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  margin: 0 0 10px 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.featured-exp .exp-title {
  font-size: 2.6rem;
}
.exp-desc {
  font-family: 'Poppins', sans-serif;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.btn-explore:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/* Hover Effects */
.exp-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(240, 200, 66, 0.5);
}
.exp-card:hover .exp-bg img {
  transform: scale(1.08); /* slight zoom */
}
.exp-card:hover .exp-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.2) 100%);
}
.exp-card:hover .exp-content {
  transform: translateY(0); /* text moves slightly upward */
}
.exp-card:hover .exp-desc,
.exp-card:hover .btn-explore {
  opacity: 1; /* fade in */
  transform: translateY(0);
}

/* Floating Particles Background */
.particles-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(240, 200, 66, 0.5);
  filter: blur(2px);
  border-radius: 50%;
  animation: floatUp 15s infinite linear;
}
.particle:nth-child(1) { left: 15%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 35%; animation-duration: 18s; animation-delay: 2s; width: 8px; height: 8px; }
.particle:nth-child(3) { left: 55%; animation-duration: 14s; animation-delay: 5s; }
.particle:nth-child(4) { left: 75%; animation-duration: 20s; animation-delay: 1s; width: 4px; height: 4px; }
.particle:nth-child(5) { left: 85%; animation-duration: 16s; animation-delay: 4s; }

@keyframes floatUp {
  0% { transform: translateY(120vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* ════════════════════════════════
   SAINTS SECTION (REDESIGN)
════════════════════════════════ */
.section-saints-bg {
  position: relative;
  background: linear-gradient(135deg, var(--maroon), #4a0e17);
  color: #fff;
  overflow: hidden;
  padding: 80px 0;
}
.section-saints-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
  pointer-events: none;
}
.saints-featured-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 200, 66, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transition: all 0.5s ease;
  animation: floatCard 6s infinite alternate ease-in-out;
}
.saints-featured-card:hover {
  border: 1px solid rgba(240, 200, 66, 0.6);
  box-shadow: 0 20px 50px rgba(240, 200, 66, 0.15);
}
@media (min-width: 900px) {
  .saints-featured-card { flex-direction: row; align-items: stretch; }
  .saints-feat-img { width: 40%; }
  .saints-feat-content { width: 60%; }
}
.saints-feat-img img {
  width: 100%; height: 100%; object-fit: cover;
  min-height: 300px;
}
.saints-feat-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-highlight {
  background: linear-gradient(to right, rgba(240, 200, 66, 0.1), transparent);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin: 20px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.saint-grid-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  transition: all 0.4s ease;
}
.saint-grid-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border: 1px solid rgba(240, 200, 66, 0.3);
}
.saint-grid-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 16px;
  object-fit: cover;
}

/* Custom Video Cards */
.custom-video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  height: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.custom-video-card img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.7;
  transition: all 0.5s ease;
}
.custom-video-card:hover img {
  opacity: 0.4;
  transform: scale(1.05);
}
.play-icon-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(240, 200, 66, 0.8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  transition: all 0.3s ease;
}
.custom-video-card:hover .play-icon-circle {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-card-info {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
}
.video-duration {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.7);
  padding: 4px 8px; border-radius: 4px;
  font-size: 0.8rem; font-weight: bold;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center; justify-content: center;
}
.video-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.modal-content-wrapper {
  position: relative;
  width: 90%; max-width: 900px;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.close-modal {
  position: absolute;
  top: -40px; right: 0;
  color: #fff; font-size: 2rem;
  cursor: pointer;
  background: none; border: none;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
