:root {
  --text-primary: #2c2a28;
  --text-muted: #5a5855;
  --accent: #6d303b;
  --card-bg: rgba(255, 255, 255, 0.88);
  --shadow: 0 18px 50px rgba(44, 42, 40, 0.15);
  --max-width: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-primary);
  background-color: #fdfbf9;
  position: relative;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 1.5rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("img/background2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.background {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 18, 10, 0.3), rgba(61, 45, 30, 0.2));
  z-index: -1;
}

.content {
  width: min(100%, var(--max-width));
  background: var(--card-bg);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  padding: 4rem clamp(1.5rem, 4vw, 4rem);
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

section h2 {
  margin-top: 0;
  font-family: "Great Vibes", "Playfair Display", serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero h1 {
  font-family: "Great Vibes", "Playfair Display", serif;
  font-size: clamp(3.75rem, 8vw, 5.25rem);
  font-weight: 400;
  margin: 0;
  color: var(--accent);
  letter-spacing: 1px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.hero .details {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.location img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(44, 42, 40, 0.12);
  transform: translateY(-2px);
}

.location h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

#venue-link {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.location-text p,
.location-text li,
.location-text li * {
  margin: 0 0 1rem;
  color: var(--text-muted) !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.details-grid article {
  background: rgba(244, 232, 232, 0.516);
  border-radius: 20px;
  padding: 2rem;
  /*box-shadow: 0 14px 30px rgba(44, 42, 40, 0.08);*/
}

.details-grid h2 {
  margin-bottom: 0.75rem;
}

.details-grid p,
.details-grid li {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-muted);
  line-height: 1.6;
}

.content li {
  color: var(--text-muted);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(44, 42, 40, 0.08);
}

.schedule-table th {
  width: 140px;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  text-align: left;
  padding-right: 1.5rem;
  white-space: nowrap;
}

.schedule-table td {
  color: var(--text-muted);
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom: none;
}

.our-story {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.story-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(44, 42, 40, 0.1);
  background: rgba(255, 255, 255, 0.45);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  margin: 0;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  z-index: 2;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.05);
}

.carousel-control.prev {
  left: 0.75rem;
}

.carousel-control.next {
  right: 0.75rem;
}

.story-text {
  background: #6d303b;
  border-radius: 18px;
  padding: 2rem;
  color: var(--text-muted);
}

.story-text p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.story-text p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: rgba(231, 234, 230, 0.947);
  border-radius: 18px;
  padding: 1.75rem 2rem;
}

.faq-item h3 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(184, 140, 106, 0.5);
  outline-offset: 4px;
}

.button-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.75);
}

.button-outline:hover {
  box-shadow: 0 12px 30px rgba(184, 140, 106, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.button-solid {
  border: none;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(184, 140, 106, 0.3);
}

.button-solid:hover {
  box-shadow: 0 16px 34px rgba(184, 140, 106, 0.32);
}

@media (max-width: 768px) {
  body {
    padding: 2.5rem 1rem;
  }

  .content {
    padding: 3rem 1.75rem;
    gap: 3rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .carousel-slide img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero .eyebrow {
    letter-spacing: 0.25rem;
  }

  .hero .details {
    letter-spacing: 0.05em;
  }
}
