/* Design system */
:root {
  --purple-900: #3b0a55;
  --purple-800: #5a189a;
  --purple-700: #7b2cbf;
  --purple-600: #9d4edd;
  --purple-500: #b86eff;
  --bg-0: #ffffff;
  --bg-1: #fbf9ff;
  --bg-2: #f6f2ff;
  --text-0: #1a1033;
  --text-1: #2b2145;
  --text-2: #5e5373;
  --muted: #7a6f8d;
  --card: #ffffff;
  --border: rgba(10,10,20,0.08);
  --shadow: 0 10px 30px rgba(16, 14, 26, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-1);
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-2) 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-0); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(123,44,191,0.25)); }
.brand-name { font-weight: 600; letter-spacing: 0.2px; }

.nav { display: none; gap: 18px; }
.nav-link { color: var(--text-2); text-decoration: none; font-size: 0.95rem; transition: color .2s ease; }
.nav-link:hover { color: var(--purple-700); }

.lang-toggle {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(123,44,191,0.35);
}
.lang-toggle:focus { outline: 3px solid rgba(157,78,221,0.35); outline-offset: 2px; }

@media (min-width: 860px) { .nav { display: flex; } }

/* Hero */
.hero { padding: 0; margin: 0; }

/* Carousel */
.carousel { position: relative; overflow: hidden; width: 100vw; margin-left: calc(-50vw + 50%); }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; transition: transform .6s ease; }
.slide {
  position: relative;
  height: calc(100vh - 70px);
  min-height: 600px;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .slide {
    height: 100vh;
    min-height: 100vh;
  }
}
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.05) 100%);
}

/* Override the default slide overlay for anniversary slides */
.anniversary-slide-container::after {
  display: none;
}
.slide-content {
  position: relative; z-index: 1; padding: clamp(20px, 5vw, 56px);
  color: #fff; max-width: 760px;
}
.slide-title { font-size: clamp(2.8rem, 6vw + 1rem, 5.5rem); line-height: 1.05; margin: 0 0 10px; }
.slide-subtitle { opacity: .95; margin: 0 0 18px; max-width: 62ch; }
.slide-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(0,0,0,0.4); color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; }
.carousel-nav:hover { background: rgba(0,0,0,0.55); }
.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }

.carousel-indicators { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 8px; z-index: 10; }
.carousel-indicators button { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  border: 0; 
  background: rgba(255,255,255,0.6); 
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.carousel-indicators button[aria-current="true"] { 
  background: #fff; 
  transform: scale(1.2);
}

/* progress */
.carousel-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,0.3); overflow: hidden; }
.carousel-progress .bar { height: 100%; width: 0%; background: #fff; transition: width linear; }

/* Anniversary slide design */
.anniversary-slide {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0033 0%, #2d1b4e 30%, #4a2c6b 60%, #6b46c1 100%);
  height: 100%;
  width: 100%;
}

.anniversary-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(157,78,221,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(123,44,191,0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,215,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Confetti animation */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.confetti-piece {
  position: absolute;
  top: -10%;
  width: 8px;
  height: 8px;
  opacity: 0.9;
  animation: confetti-fall linear infinite;
  border-radius: 2px;
}

@keyframes confetti-fall {
  0% {
    top: -10%;
    opacity: 1;
    transform: translateX(0) rotateZ(0deg);
  }
  50% {
    opacity: 0.8;
    transform: translateX(20px) rotateZ(180deg);
  }
  100% {
    top: 110%;
    opacity: 0;
    transform: translateX(-20px) rotateZ(360deg);
  }
}

/* Main content container */
.anniversary-content {
  position: relative;
  z-index: 5;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px;
  box-sizing: border-box;
}

.content-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: start;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Mobile responsive layout - FIXED APPROACH */
@media (max-width: 768px) {
  .anniversary-content {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
  }
  
  .content-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    padding: 10px 0;
  }
  
  .visual-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    order: 2;
    width: 100%;
  }
  
  .text-content {
    order: 1;
    margin-bottom: 15px;
    width: 100%;
  }
  
  .preacher-frame {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    display: block !important;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  }
  
  .preacher-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 50%;
  }
  
  .preacher-glow {
    display: none !important;
  }
  
  .preacher-label {
    background: linear-gradient(135deg, #5a189a, #9d4edd);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(90,24,154,0.4);
    border: 2px solid rgba(255,255,255,0.2);
    display: block !important;
    width: fit-content;
    max-width: 90%;
  }
  
  .preacher-title {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
  }
  
  .preacher-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  .verse-box {
    display: none !important;
  }
  
  .text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .mobile-details-button {
    display: block !important;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a0033;
    padding: 12px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
    transition: all 0.3s ease;
    margin-top: 10px;
    width: fit-content;
    max-width: 90%;
  }
  
  .mobile-details-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.6);
  }
  
  .main-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    color: white;
    text-align: center;
    margin: 0 0 15px;
    line-height: 1.1;
  }
  
  .subtitle {
    display: none !important;
  }
  
  .date-info {
    display: none !important;
  }
  
  .location-info {
    display: none !important;
  }
  
  .description {
    display: none !important;
  }
}

/* Extra small mobile devices (iPhone SE, etc.) */
@media (max-width: 480px) {
  .anniversary-content {
    padding: 15px 10px;
    min-height: 100vh;
  }
  
  .content-row {
    gap: 15px;
    padding: 10px 0;
  }
  
  .visual-content {
    gap: 10px;
  }
  
  .preacher-frame {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
  }
  
  .preacher-label {
    padding: 8px 14px;
    max-width: 95%;
  }
  
  .preacher-title {
    font-size: 0.65rem;
  }
  
  .preacher-name {
    font-size: 1rem;
  }
  
  .mobile-details-button {
    padding: 10px 18px;
    font-size: 0.85rem;
    max-width: 95%;
    margin-top: 8px;
  }
  
  .main-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    margin-bottom: 10px;
  }
}

/* Desktop styles for anniversary slide */
@media (min-width: 769px) {
  .anniversary-content {
    padding: 40px 60px;
  }
  
  .content-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .main-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #e0d0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
  }
  
  .subtitle {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 10px;
    color: #b86eff;
  }
  
  .date-info {
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    font-weight: 500;
    margin-bottom: 6px;
    color: #e0d0ff;
  }
  
  .location-info {
    font-size: clamp(1.3rem, 1.6vw, 1.5rem);
    color: #c4b0ff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .description {
    font-size: clamp(1.2rem, 1.4vw, 1.3rem);
    line-height: 1.4;
    color: #e0d0ff;
    margin-bottom: 0;
  }
}

/* Hide mobile button on desktop */
.mobile-details-button {
  display: none;
}

/* Left side - Text content */
.text-content {
  color: #fff;
  opacity: 1;
  animation: slideInLeft 1.2s ease-out forwards;
}

.anniversary-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a0033;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  box-shadow: 0 8px 30px rgba(255,215,0,0.4);
  opacity: 1;
  animation: fadeInScale 1s ease-out forwards;
}

.main-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #e0d0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
  animation: slideInLeft 1s ease-out forwards;
}

.subtitle {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 10px;
  color: #b86eff;
  opacity: 1;
  animation: slideInLeft 1s ease-out forwards;
}

.date-info {
  font-size: clamp(1.4rem, 1.8vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 6px;
  color: #e0d0ff;
  opacity: 1;
  animation: slideInLeft 1s ease-out forwards;
}

.date-info strong {
  color: #FFD700;
  font-weight: 700;
}

.location-info {
  font-size: clamp(1.3rem, 1.6vw, 1.5rem);
  color: #c4b0ff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
  animation: slideInLeft 1s ease-out forwards;
}

.description {
  font-size: clamp(1.2rem, 1.4vw, 1.3rem);
  line-height: 1.4;
  color: #e0d0ff;
  margin-bottom: 0;
  opacity: 1;
  animation: slideInLeft 1s ease-out forwards;
}

.verse-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 16px 24px;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  text-align: center;
  width: 100%;
  opacity: 1;
  animation: fadeInUp 1s ease-out forwards;
}

.verse-ref {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 8px;
}

.verse-text {
  font-size: 1.2rem;
  line-height: 1.4;
  color: #fff;
  font-style: italic;
}

/* Right side - Visual content */
.visual-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  opacity: 1;
  animation: slideInRight 1.2s ease-out forwards;
}

.preacher-frame {
  position: relative;
  width: 200px;
  height: 200px;
  opacity: 1;
  animation: fadeInScale 1.2s ease-out forwards;
}

.preacher-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(157,78,221,0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.preacher-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid rgba(255,255,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.preacher-label {
  background: linear-gradient(135deg, #5a189a, #9d4edd);
  color: #fff;
  padding: 16px 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(90,24,154,0.5);
  border: 2px solid rgba(255,255,255,0.2);
  opacity: 1;
  animation: fadeInUp 1s ease-out forwards;
}

.preacher-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

.preacher-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
}


/* Animation keyframes */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.anniversary-slide::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  min-height: 150px;
  background-image: url('./assets/worship-hands.png');
  background-size: contain;
  background-position: bottom center;
  background-repeat: repeat-x;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0) saturate(100%);
}

.anniversary-flyer {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.anniversary-flyer .slide-title {
  font-size: clamp(2.5rem, 5.5vw + 1rem, 5rem);
  margin: 0;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
  font-weight: 700;
}

.anniversary-flyer .slide-subtitle {
  font-size: clamp(1rem, 1.5vw + 0.8rem, 1.5rem);
  margin: 0;
  opacity: 1;
  font-weight: 600;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.anniversary-flyer .slide-location {
  font-size: clamp(0.9rem, 1.2vw + 0.7rem, 1.3rem);
  margin: 0;
  font-weight: 500;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.preacher-section {
  margin: 20px 0;
  position: relative;
  z-index: 3;
}

/* Removed duplicate preacher-image styles to fix mobile double circle issue */

.anniversary-flyer .slide-description {
  font-size: clamp(0.95rem, 1.3vw + 0.7rem, 1.35rem);
  line-height: 1.5;
  max-width: 700px;
  margin: 10px 0;
  font-weight: 500;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.35);
}

.anniversary-flyer .slide-preacher {
  font-size: clamp(1rem, 1.4vw + 0.8rem, 1.4rem);
  font-weight: 700;
  margin: 8px 0;
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  padding: 8px 20px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(90,24,154,0.4);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.anniversary-flyer .slide-verse {
  background: var(--purple-900);
  padding: 16px 24px;
  border-radius: 12px;
  margin-top: 20px;
  max-width: 700px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.anniversary-flyer .verse-ref {
  font-size: clamp(0.95rem, 1.2vw + 0.7rem, 1.3rem);
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #FFD700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.anniversary-flyer .verse-text {
  font-size: clamp(0.85rem, 1vw + 0.6rem, 1.1rem);
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .anniversary-slide::before {
    height: 150px;
  }
  
  .anniversary-flyer {
    gap: 12px;
  }
  
  .anniversary-flyer .slide-verse {
    padding: 12px 16px;
    margin-top: 16px;
  }
}

/* Cinematic slide design */
.cinematic-slide {
  background: linear-gradient(135deg, #1a0033 0%, #2d1b4e 50%, #4a2c6b 100%);
  position: relative;
}

.cinematic-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(157,78,221,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(123,44,191,0.4) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,215,0,0.1) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.cinematic-particles {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 40% 70%, white, transparent),
    radial-gradient(2px 2px at 60% 40%, white, transparent),
    radial-gradient(2px 2px at 80% 60%, white, transparent);
  background-size: 200% 200%;
  animation: sparkle 8s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes sparkle {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

.cinematic-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
}

.cinematic-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding: clamp(30px, 5vw, 60px) clamp(40px, 6vw, 80px);
  gap: clamp(30px, 5vw, 60px);
  color: #fff;
}

.cinematic-text {
  animation: slideInLeft 1s ease-out 0.3s both;
}

.cinematic-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a0033;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(255,215,0,0.4);
}

.cinematic-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #e0d0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cinematic-subtitle {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 15px;
  color: #b86eff;
}

.cinematic-date {
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 10px;
  color: #e0d0ff;
}

.cinematic-date strong {
  color: #FFD700;
  font-weight: 700;
}

.cinematic-location {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  color: #c4b0ff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cinematic-description {
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: #e0d0ff;
  margin-bottom: 20px;
}

.cinematic-verse-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 18px 25px;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  margin-top: 20px;
}

.cinematic-verse-ref {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 8px;
}

.cinematic-verse-text {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.5;
  color: #fff;
  font-style: italic;
}

.cinematic-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  animation: slideInRight 1s ease-out 0.5s both;
}

.cinematic-preacher-frame {
  position: relative;
  width: clamp(200px, 25vw, 350px);
  height: clamp(200px, 25vw, 350px);
}

.cinematic-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(157,78,221,0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cinematic-preacher-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cinematic-preacher-label {
  background: linear-gradient(135deg, #5a189a, #9d4edd);
  color: #fff;
  padding: 15px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(90,24,154,0.5);
  border: 2px solid rgba(255,255,255,0.2);
}

.cinematic-preacher-title {
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

.cinematic-preacher-name {
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 1px;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .cinematic-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cinematic-location {
    justify-content: center;
  }
}

/* retain hero-event styles if needed elsewhere */
.hero-event { display:none; }

/* Calendar */
.calendar-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-nav {
  background: var(--purple-600);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.calendar-nav:hover {
  background: var(--purple-700);
}

.calendar-month {
  color: var(--text-0);
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 4px;
  font-size: 0.9rem;
}

.calendar-day {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: var(--bg-1);
  transition: all .2s ease;
  margin: -1px -1px 0 0;
}

.calendar-day.empty {
  background: transparent;
  border: none;
  margin: 0;
}

.calendar-day.has-service {
  background: rgba(33,150,243,0.1);
  border-color: #2196f3;
}

.calendar-day.has-anniversary {
  background: rgba(157,78,221,0.15);
  border-color: var(--purple-600);
}

.calendar-day.has-vigilia {
  background: rgba(76,175,80,0.15);
  border-color: #4caf50;
}

.day-number {
  font-weight: 600;
  color: var(--text-0);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.service-text, .event-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  color: var(--text-2);
  font-weight: 500;
}

.event-text {
  color: var(--text-0);
  font-weight: 600;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.9rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.service {
  background: #2196f3;
}

.legend-dot.special {
  background: var(--purple-600);
}

@media (max-width: 768px) {
  .calendar-container {
    padding: 12px;
    overflow-x: auto;
  }
  
  .calendar-grid {
    gap: 1px;
    min-width: 100%;
    width: 100%;
  }
  
  .calendar-day {
    min-height: 60px;
    padding: 3px 1px;
    font-size: 0.7rem;
    min-width: 0;
    border-radius: 4px;
  }
  
  .calendar-day-header {
    font-size: 0.65rem;
    padding: 4px 1px;
    font-weight: 700;
    min-width: 0;
  }
  
  .day-number {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1px;
  }
  
  .service-text, .event-text {
    font-size: 0.55rem;
    line-height: 1.1;
    font-weight: 500;
    text-align: center;
    word-break: break-word;
    overflow: hidden;
  }
  
  .calendar-legend {
    gap: 12px;
    font-size: 0.75rem;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .legend-item {
    font-size: 0.7rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .calendar-container {
    padding: 8px;
    margin: 0 -8px;
  }
  
  .calendar-grid {
    gap: 0.5px;
  }
  
  .calendar-day {
    min-height: 55px;
    padding: 2px 0.5px;
    font-size: 0.65rem;
    border-radius: 3px;
  }
  
  .calendar-day-header {
    font-size: 0.6rem;
    padding: 3px 0.5px;
  }
  
  .day-number {
    font-size: 0.75rem;
  }
  
  .service-text, .event-text {
    font-size: 0.5rem;
    line-height: 1;
  }
  
  .calendar-legend {
    gap: 8px;
    font-size: 0.7rem;
  }
  
  .legend-item {
    font-size: 0.65rem;
  }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: rgba(10,10,20,0.03); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { color: var(--text-0); margin: 0 0 22px; font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--purple-700), var(--purple-600)); box-shadow: 0 12px 24px rgba(157,78,221,0.25); }
.btn-secondary { 
  color: #fff; 
  background: rgba(255, 255, 255, 0.25); 
  border: 2px solid rgba(255, 255, 255, 0.8); 
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 1);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--text-0); margin: 0 0 8px; font-size: 1.1rem; }
.card .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--text-2); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid img { height: 220px; }
}

/* Info */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.info-block .address { margin: 10px 0 16px; }
.info-block .label { color: var(--muted); margin-right: 8px; }
.map-embed { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
@media (min-width: 900px) {
  .info-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .map-embed iframe { height: 380px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; justify-content: center; }
.footer-inner p { color: var(--muted); margin: 0; }


