/**
 * Divyakshetra Hariharapura - Yearly Activities Stylesheet
 * File: static/assets/css/yearly-activities.css
 */

:root {
  --divine-maroon: #840000;
  --divine-maroon-dark: #5a0000;
  --divine-maroon-light: #9e1b1b;
  --divine-gold: #c28829;
  --divine-gold-rich: #d97706;
  --divine-gold-light: #ffd54f;
  --divine-gold-border: #fae4be;
  --divine-cream-bg: #fdfbf7;
  --divine-sand-bg: #fbf7ee;
  --divine-card-bg: #ffffff;
  --divine-text-dark: #1f2937;
  --divine-text-muted: #4b5563;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-cinzel: 'Cinzel', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--divine-cream-bg) !important;
  color: var(--divine-text-dark);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ----------------------------------------------------
   Hero & Breadcrumb Section
   ---------------------------------------------------- */
.yearly-hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(90, 0, 0, 0.94) 0%, rgba(132, 0, 0, 0.88) 50%, rgba(50, 0, 0, 0.95) 100%),
              url('/assets/img/hero/slider1.jpg') center/cover no-repeat;
  padding: 90px 0 80px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--divine-gold);
}

.yearly-hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/img/bg/pattern_bg_2.png') repeat center;
  opacity: 0.15;
  pointer-events: none;
}

.yearly-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 213, 79, 0.15);
  border: 1px solid rgba(255, 213, 79, 0.4);
  color: var(--divine-gold-light);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}

.yearly-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.yearly-hero-title span {
  color: var(--divine-gold-light);
}

.yearly-breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.yearly-breadcrumb-nav a {
  color: var(--divine-gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.yearly-breadcrumb-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ----------------------------------------------------
   Activities Grid Section
   ---------------------------------------------------- */
.yearly-activities-section {
  padding: 80px 0 90px;
  background: var(--divine-cream-bg);
  position: relative;
}

.yearly-activities-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/img/shape/event-shape.png') repeat center;
  opacity: 0.05;
  pointer-events: none;
}

.activity-card-item {
  background: #ffffff;
  border: 1.5px solid var(--divine-gold-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(132, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.activity-card-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #840000, #d4af37);
  z-index: 3;
}

.activity-card-item:hover {
  border-color: #d4af37;
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(132, 0, 0, 0.14), 0 0 20px rgba(212, 175, 55, 0.18);
}

.activity-card-thumb {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #2a0000;
}

.activity-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.activity-card-item:hover .activity-card-thumb img {
  transform: scale(1.08);
}

.activity-card-thumb::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.activity-card-body {
  padding: 24px 20px 22px;
  text-align: center;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.activity-card-title {
  font-family: var(--font-cinzel);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--divine-maroon);
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.35;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.activity-card-item:hover .activity-card-title {
  color: var(--divine-gold-rich);
}

.activity-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--divine-gold), transparent);
  margin-top: 10px;
  border-radius: 2px;
}
