:root {
  --bg: #0f1420;
  --bg-soft: #161f2d;
  --surface: rgba(14, 21, 35, 0.84);
  --surface-strong: rgba(19, 27, 44, 0.92);
  --text: #f5f0e8;
  --muted: #c9c6c0;
  --gold: #d2b273;
  --gold-soft: #f1dfba;
  --silver: #b9bec9;
  --silver-soft: #edf1f6;
  --line: rgba(210, 178, 115, 0.25);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --container: min(1160px, calc(100% - 2rem));
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210, 178, 115, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(185, 190, 201, 0.12), transparent 24%),
    linear-gradient(180deg, #0b1019 0%, #121a28 44%, #0d1320 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 21, 0.18), rgba(8, 12, 21, 0.68)),
    url("../img/demo-1.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(210, 178, 115, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(11, 16, 25, 0.3), rgba(11, 16, 25, 0.84));
}

.hero-ornament {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(210, 178, 115, 0.12);
  border-radius: 50%;
  filter: blur(1px);
}

.hero-ornament::before,
.hero-ornament::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 24px;
  border: 1px solid rgba(185, 190, 201, 0.12);
}

.hero-ornament::after {
  inset: 48px;
  border-color: rgba(210, 178, 115, 0.18);
}

.hero-ornament-left {
  top: 8%;
  left: -80px;
}

.hero-ornament-right {
  bottom: 8%;
  right: -80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 3rem 1.5rem;
}

.kicker,
.label {
  margin: 0 0 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--gold);
}

.intro {
  margin: 0 0 0.8rem;
  color: var(--silver-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.hero h1 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 400;
  color: var(--gold-soft);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1rem;
}

.hero-date {
  display: inline-grid;
  gap: 0.2rem;
  margin-top: 2.2rem;
  padding: 1.35rem 2rem;
  border: 1px solid rgba(210, 178, 115, 0.2);
  border-radius: 999px;
  background: rgba(13, 19, 32, 0.46);
  box-shadow: var(--shadow);
}

.hero-date span {
  color: var(--silver-soft);
}

.hero-date strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  color: var(--gold-soft);
}

.section {
  padding: 5.5rem 0;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(21, 30, 48, 0.92), rgba(14, 21, 35, 0.84));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 178, 115, 0.52), transparent);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.25rem;
}

.info-card {
  padding: 2rem;
  border: 1px solid rgba(185, 190, 201, 0.12);
  border-radius: var(--radius-md);
  background: rgba(11, 17, 29, 0.54);
}

.info-card h2,
.info-card h3,
.event-details h2,
.location-card h2,
.section-heading h2,
.closing h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

.info-card h2,
.event-details h2,
.location-card h2,
.section-heading h2,
.closing h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--silver-soft);
}

.info-card h3 {
  margin-top: 0.4rem;
  font-size: 1.5rem;
  color: var(--gold-soft);
}

.info-card p,
.section-heading p,
.detail-list span,
.detail-list strong,
.closing p,
.location-link {
  color: var(--muted);
  line-height: 1.8;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.event-details,
.location-card,
.closing {
  padding: 2.3rem;
}

.detail-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-list div {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(210, 178, 115, 0.12);
}

.detail-list span {
  display: block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--gold);
}

.detail-list strong {
  color: var(--silver-soft);
}

.qr-wrap {
  width: min(100%, 220px);
  margin: 1.5rem auto 1rem;
  padding: 0.9rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(242, 226, 192, 0.98), rgba(234, 238, 244, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.qr-wrap img {
  width: 100%;
  border-radius: 16px;
}

.location-card {
  text-align: center;
}

.location-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 0.7rem;
  color: var(--gold-soft);
  font-weight: 600;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.carousel {
  padding: 1.4rem;
}

.carousel-track {
  position: relative;
  min-height: 620px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.slide img {
  width: 100%;
  height: 620px;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 10px);
  background: linear-gradient(180deg, rgba(12, 17, 28, 0.92), rgba(21, 30, 48, 0.84));
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(210, 178, 115, 0.24);
  border-radius: 50%;
  background: rgba(10, 15, 24, 0.7);
  color: var(--gold-soft);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(20, 28, 42, 0.9);
}

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

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(185, 190, 201, 0.32);
  cursor: pointer;
}

.dot.is-active {
  background: linear-gradient(135deg, var(--gold), var(--silver));
  box-shadow: 0 0 0 4px rgba(210, 178, 115, 0.12);
}

.closing {
  text-align: center;
}

.closing p {
  max-width: 680px;
  margin: 1rem auto 0;
}

@media (max-width: 980px) {
  .panel-grid,
  .event-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 5rem;
  }

  .hero-ornament-left,
  .hero-ornament-right {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

  .hero-date {
    width: 100%;
    border-radius: 30px;
  }

  .info-card,
  .event-details,
  .location-card,
  .closing,
  .carousel {
    padding: 1.4rem;
  }

  .carousel-track,
  .slide img {
    min-height: 430px;
    height: 430px;
  }

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

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

@media (max-width: 520px) {
  .container {
    width: min(100% - 1rem, 100%);
  }

  .panel-grid {
    padding: 0.8rem;
  }

  .hero-content {
    padding-inline: 0.6rem;
  }

  .carousel-control {
    width: 46px;
    height: 46px;
  }

  .carousel-track,
  .slide img {
    min-height: 340px;
    height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
