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

body {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #ECF5D0;
}

/* ======================
   HERO TITLE (TEXT ONLY)
   ====================== */
.hero-title {
  width: 100%;
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
  background: #ECF5D0;
}

.hero-title h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #222;
  margin: 0;
}

.hero-text {
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #222;
}

/* ======================
   HERO FILMSTRIP
   ====================== */
.hero {
  position: relative;
  height: 70vh;
  max-height: 520px;
  min-height: 360px;
  overflow: hidden;
  background: #ECF5D0;
}

/* Filmstrip wrapper */
.filmstrip-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center; /* prevents top/bottom cropping */
  overflow: hidden;
}

/* Filmstrip row */
.filmstrip {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 100%;
  animation: scrollFilm 100s linear infinite;
  user-select: none;
  pointer-events: none;
}

/* Images */
.filmstrip img {
  flex-shrink: 0;
  height: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

/* Continuous scroll */
@keyframes scrollFilm {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ======================
   SECTIONS
   ====================== */
.section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1.05rem;
  color: #444;
}

/* ======================
   DETAILS GRID
   ====================== */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.detail h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
}

/* ======================
   COUNTDOWN
   ====================== */
.countdown {
  background: #f0f0f0;
  padding: 3rem 1.5rem;
  border-radius: 8px;
  max-width: 900px;
  margin: 4rem auto 0;
}

/* ======================
   REGISTRY + MAP
   ====================== */
.registry-map-vertical {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.card iframe {
  width: 100%;
  border-radius: 6px;
}

.registry h3,
.venue-map h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
}

.registry p,
.venue-map p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.registry a.btn {
  display: inline-block;
  background: #ff7f50;
  color: #fff;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.registry a.btn:hover {
  background: #ff6347;
}

/* ======================
   FOOTER
   ====================== */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #666;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {
  .hero {
    height: 40vh;
    min-height: 240px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .filmstrip {
    gap: 12px;
  }
}
