/* ========================================
   CSS Variables & Reset
======================================== */
:root {
  --background: 160 30% 6%;
  --foreground: 45 30% 92%;
  --card: 160 25% 10%;
  --card-foreground: 45 30% 92%;
  --muted: 160 20% 15%;
  --muted-foreground: 160 10% 55%;
  --accent: 45 70% 50%;
  --accent-foreground: 160 30% 6%;
  --border: 160 20% 18%;
  --destructive: 0 84.2% 60.2%;

  --gold: 45 70% 50%;
  --gold-light: 45 60% 65%;
  --emerald: 165 45% 35%;
  --emerald-dark: 160 30% 6%;
  --emerald-light: 160 35% 45%;

  --gradient-hero: linear-gradient(135deg, hsl(160 30% 6%) 0%, hsl(165 40% 12%) 50%, hsl(160 30% 6%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(45 70% 50%), hsl(38 80% 60%));
  --gradient-card: linear-gradient(180deg, hsl(160 25% 12%) 0%, hsl(160 25% 8%) 100%);
  --shadow-gold: 0 4px 30px hsl(45 70% 50% / 0.15);
  --shadow-emerald: 0 10px 40px hsl(165 45% 35% / 0.2);

  --font-display: 'Playfair Display', serif;
  --font-elegant: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

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

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

/* ========================================
   Utility Classes
======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sparkle-bg {
  background-image:
    radial-gradient(2px 2px at 20px 30px, hsl(45 70% 50% / 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, hsl(45 70% 50% / 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, hsl(45 70% 50% / 0.4), transparent),
    radial-gradient(1px 1px at 130px 80px, hsl(45 70% 50% / 0.2), transparent),
    radial-gradient(2px 2px at 160px 30px, hsl(45 70% 50% / 0.3), transparent);
  background-size: 200px 100px;
}

/* ========================================
   Section Header (reusable)
======================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header__label {
  color: hsl(var(--gold));
  font-family: var(--font-elegant);
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: hsl(var(--foreground));
}

.section-header__line {
  width: 96px;
  height: 2px;
  background: hsl(var(--gold));
  margin: 1.5rem auto 0;
  border-radius: 9999px;
}

/* ========================================
   Scroll Animations
======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.animate-fade-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.animate-scale-x {
  transform: scaleX(0);
  transition: transform 0.6s ease-out 0.7s;
}

.animate-scale-x.visible {
  transform: scaleX(1);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  position: relative;
  min-height: 800px;
  background: var(--gradient-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-circle--emerald {
  top: 2.5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: hsl(var(--emerald));
  opacity: 0.1;
}

.hero-circle--gold {
  bottom: 2.5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--gold));
  opacity: 0.05;
}

.hero-container {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
}

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero-subtitle {
  color: hsl(var(--gold-light));
  font-family: var(--font-elegant);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-style: italic;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-divider {
  width: 96px;
  height: 4px;
  background: hsl(var(--gold));
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
  transform-origin: left;
}

.hero-description {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 32rem;
  margin: 0 auto;
}

.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: hsl(var(--gold));
  color: hsl(var(--accent-foreground));
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s;
}

.hero-cta:hover {
  transform: scale(1.05);
}

/* Hero Images */
.hero-images {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-images__wrapper {
  position: relative;
  width: 18rem;
}

.hero-img-main {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid hsl(var(--gold));
  box-shadow: var(--shadow-gold);
  transform: rotate(3deg);
  transition: transform 0.5s;
}

.hero-img-main:hover {
  transform: rotate(0deg);
}

.hero-img-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-img-secondary {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 10rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid hsl(var(--gold));
  box-shadow: var(--shadow-gold);
  transform: rotate(-6deg);
  transition: transform 0.5s;
}

.hero-img-secondary:hover {
  transform: rotate(0deg);
}

.hero-img-secondary img {
  width: 100%;
  height: auto;
  object-fit: cover;
}




/* ========================================
   EVENT DETAILS SECTION
======================================== */
.event-details-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.event-details-bg {
  position: absolute;
  inset: 0;
}

.event-details-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-details-bg__overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(4px);
}

.event-details-container {
  position: relative;
  z-index: 10;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.detail-card {
  position: relative;
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: border-color 0.5s, transform 0.5s;
}

.detail-card:hover {
  border-color: hsl(var(--gold));
  transform: translateY(-8px) scale(1.02);
}

.detail-card__glow {
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: 1.5rem;
  transition: background 0.5s;
}

.detail-card:hover .detail-card__glow {
  background: hsl(var(--gold) / 0.05);
}

.detail-card__content {
  position: relative;
  z-index: 10;
}

.detail-card__icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transform: rotate(3deg);
  transition: box-shadow 0.5s, transform 0.5s;
  color: hsl(var(--gold));
}

.detail-card:hover .detail-card__icon-wrap {
  box-shadow: var(--shadow-gold);
  transform: rotate(0deg);
}

.detail-card__label {
  color: hsl(var(--gold));
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.detail-card__value {
  color: hsl(var(--foreground));
  font-family: var(--font-elegant);
  font-size: 1.25rem;
}

/* ========================================
   COUNTDOWN SECTION
======================================== */
.countdown-section {
  padding: 7rem 0;
  background: hsl(var(--card));
  position: relative;
  overflow: hidden;
}

.countdown-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.countdown-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.countdown-image__wrapper {
  position: relative;
}

.countdown-image__circle {
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid hsl(var(--gold));
  box-shadow: var(--shadow-gold);
}

.countdown-image__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.countdown-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-width: 1px;
}

.countdown-ring--1 {
  inset: -1rem;
  border-color: hsl(var(--gold) / 0.2);
  animation: spin 20s linear infinite;
}

.countdown-ring--2 {
  inset: -2rem;
  border-color: hsl(var(--gold) / 0.1);
  animation: spin 30s linear infinite reverse;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.countdown-content {
  flex: 1;
  text-align: center;
}

.countdown-title {
  margin-bottom: 2.5rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

.countdown-card {
  background: hsl(var(--muted));
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid hsl(var(--border));
}

.countdown-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  display: block;
}

.countdown-card__label {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
  display: block;
}

/* ========================================
   HIGHLIGHTS SECTION
======================================== */
.highlights-section {
  padding: 7rem 0;
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.highlights-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.highlights-content {
  flex: 1;
}

.highlights-content .section-header__label,
.highlights-content .section-header__title {
  text-align: center;
}

.highlights-title {
  margin-bottom: 2.5rem;
}

.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1.25rem;
}

.highlight-item__icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--gold));
  transition: border-color 0.5s, box-shadow 0.5s;
}

.highlight-item:hover .highlight-item__icon {
  border-color: hsl(var(--gold));
  box-shadow: var(--shadow-gold);
}

.highlight-item__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.highlight-item__desc {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Highlights Image */
.highlights-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.highlights-image__wrapper {
  position: relative;
}

.highlights-image__border-decor {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  border: 2px solid hsl(var(--gold) / 0.3);
}

.highlights-image__bg-decor {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  background: hsl(var(--gold) / 0.05);
}

.highlights-image__frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(var(--gold));
  box-shadow: var(--shadow-gold);
  width: 18rem;
  aspect-ratio: 3/4;
}

.highlights-image__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlights-image__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.6), transparent, transparent);
}

.highlights-image__text {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.highlights-image__text-title {
  color: hsl(var(--foreground));
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.highlights-image__text-sub {
  color: hsl(var(--gold));
  font-family: var(--font-elegant);
  font-size: 1.125rem;
  font-style: italic;
}

/* ========================================
   GALLERY SECTION
======================================== */
.gallery-section {
  padding: 7rem 0;
  background: hsl(var(--card));
  position: relative;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 76rem;
  margin: 0 auto;
  grid-auto-rows: 180px;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  transition: background 0.5s;
}

.gallery-item:hover .gallery-item__overlay {
  background: hsl(var(--background) / 0.4);
}

.gallery-item__overlay p {
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.5s;
}

.gallery-item:hover .gallery-item__overlay p {
  transform: translateY(0);
}

.gallery-item__border {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  border: 2px solid transparent;
  transition: border-color 0.5s;
}

.gallery-item:hover .gallery-item__border {
  border-color: hsl(var(--gold) / 0.6);
}

/* ========================================
   TIMELINE SECTION
======================================== */
.timeline-section {
  padding: 7rem 0;
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.timeline-bg-left,
.timeline-bg-right {
  position: absolute;
  width: 33.33%;
  height: 20rem;
  opacity: 0.1;
}

.timeline-bg-left {
  top: 0;
  left: 0;
}

.timeline-bg-right {
  bottom: 0;
  right: 0;
}

.timeline-bg-left img,
.timeline-bg-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-bg-left__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, hsl(var(--background)));
}

.timeline-bg-right__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent, hsl(var(--background)));
}

.timeline-container {
  position: relative;
  z-index: 10;
}

.timeline {
  max-width: 64rem;
  margin: 0 auto;
  position: relative;
}

.timeline__line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, hsl(var(--gold)), transparent);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: hsl(var(--gold));
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: var(--shadow-gold);
}

.timeline-dot__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: hsl(var(--gold));
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.2;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.timeline-card {
  margin-left: 5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s, transform 0.3s;
  width: 100%;
}

.timeline-card:hover {
  border-color: hsl(var(--gold));
  transform: scale(1.03);
}

.timeline-card__top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, hsl(var(--gold)), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.timeline-card:hover .timeline-card__top-line {
  opacity: 1;
}

.timeline-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.timeline-card__header--reverse {
  flex-direction: row;
}

.timeline-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--gold));
  transition: background 0.3s;
}

.timeline-card:hover .timeline-card__icon {
  background: hsl(var(--gold) / 0.1);
}

.timeline-card__time {
  color: hsl(var(--gold));
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.timeline-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.timeline-card__desc {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
}

/* ========================================
   DRESS CODE SECTION
======================================== */
.dresscode-section {
  padding: 7rem 0;
  background: hsl(var(--card));
  position: relative;
  overflow: hidden;
}

.dresscode-row {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 4rem;
}

.dresscode-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.dresscode-image__wrapper {
  position: relative;
}

.dresscode-image__frame {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(var(--gold));
  box-shadow: var(--shadow-gold);
  width: 18rem;
}

.dresscode-image__frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.dresscode-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: hsl(var(--gold));
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-gold);
  animation: floatBadge 3s ease-in-out infinite;
}

.dresscode-badge p {
  color: hsl(var(--accent-foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.dresscode-content {
  flex: 1;
  text-align: center;
}

.dresscode-sparkle {
  color: hsl(var(--gold));
  margin: 0 auto 1rem;
  display: block;
}

.dresscode-title {
  margin-bottom: 1.5rem;
}

.dresscode-desc {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 1.125rem;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.dresscode-palette-label {
  color: hsl(var(--gold));
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.dresscode-colors {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.dresscode-color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.dresscode-color:hover {
  transform: scale(1.1);
}

.dresscode-color__circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow-gold);
  transition: box-shadow 0.3s;
}

.dresscode-color:hover .dresscode-color__circle {
  box-shadow: 0 0 0 2px hsl(var(--gold)), 0 0 0 4px hsl(var(--card));
}

.dresscode-color--emerald {
  background: hsl(var(--emerald));
}

.dresscode-color--gold {
  background: hsl(var(--gold));
}

.dresscode-color--black {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
}

.dresscode-color--ivory {
  background: hsl(var(--foreground));
}

.dresscode-color span {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 0.75rem;
}

/* ========================================
   WISHES SECTION
======================================== */
.wishes-section {
  padding: 7rem 0;
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.wishes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.wish-card {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.5s, transform 0.3s;
}

.wish-card:hover {
  border-color: hsl(var(--gold));
  transform: translateY(-5px);
}

.wish-card__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  background: hsl(var(--gold) / 0.05);
  border-bottom-left-radius: 3.75rem;
}

.wish-card__quote {
  color: hsl(var(--gold) / 0.2);
  margin-bottom: 1rem;
}

.wish-card__message {
  color: hsl(var(--foreground));
  font-family: var(--font-elegant);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.wish-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wish-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--gold));
}

.wish-card__author svg {
  color: hsl(var(--gold));
}

.wish-card__author span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.wish-card__stars {
  display: flex;
  gap: 2px;
  color: hsl(var(--gold));
}

/* ========================================
   VENUE SECTION
======================================== */
.venue-section {
  padding: 7rem 0;
  background: hsl(var(--card));
  position: relative;
  overflow: hidden;
}

.venue-row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
  align-items: stretch;
}

.venue-image {
  flex: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}

.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.venue-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-info__name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.venue-info__location {
  color: hsl(var(--gold));
  font-family: var(--font-elegant);
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.venue-info__desc {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.venue-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
}

.venue-contact svg {
  color: hsl(var(--gold));
  flex-shrink: 0;
}

.venue-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: hsl(var(--gold));
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform 0.3s;
}

.venue-directions:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: translateX(5px);
}

/* ========================================
   RSVP SECTION
======================================== */
.rsvp-section {
  padding: 6rem 0;
  background: hsl(var(--card));
  position: relative;
}

.rsvp-form {
  max-width: 32rem;
  margin: 0 auto;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-emerald);
}

.rsvp-form__fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rsvp-field label {
  display: block;
  color: hsl(var(--gold));
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.rsvp-field input,
.rsvp-field select,
.rsvp-field textarea {
  width: 100%;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.rsvp-field input:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {
  border-color: hsl(var(--gold));
}

.rsvp-field textarea {
  resize: none;
}

.rsvp-field select {
  appearance: auto;
}

.rsvp-submit {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: hsl(var(--gold));
  color: hsl(var(--accent-foreground));
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}

.rsvp-submit:hover {
  transform: scale(1.02);
}

.rsvp-submit:active {
  transform: scale(0.98);
}

/* RSVP Success */
.rsvp-success {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--gold));
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-gold);
  animation: scaleIn 0.5s ease-out;
}

.rsvp-success svg {
  color: hsl(var(--gold));
  margin: 0 auto 1.5rem;
}

.rsvp-success h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.rsvp-success p {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 1.125rem;
}

.rsvp-success p span {
  color: hsl(var(--gold));
  font-weight: 600;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  padding: 2rem 0;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}

.site-footer p {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.site-footer svg {
  color: hsl(var(--gold));
}

/* ========================================
   RESPONSIVE — Tablet (md: 768px+)
======================================== */
@media (min-width: 768px) {
  .hero-images__wrapper {
    width: 20rem;
  }

  .hero-img-secondary {
    width: 12rem;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-image__circle {
    width: 24rem;
    height: 24rem;
  }

  .countdown-card {
    padding: 1.5rem;
  }

  .countdown-card__label {
    font-size: 0.75rem;
  }

  .highlights-image__frame {
    width: 24rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }

  .dresscode-image__frame {
    width: 24rem;
  }

  .dresscode-color__circle {
    width: 4rem;
    height: 4rem;
  }

  .wishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rsvp-form {
    padding: 2.5rem;
  }
}

/* ========================================
   RESPONSIVE — Desktop (lg: 1024px+)
======================================== */
@media (min-width: 1024px) {
  .hero-row {
    flex-direction: row;
    gap: 3rem;
  }

  .hero-text {
    text-align: left;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-divider {
    margin: 0 0 1.5rem 0;
  }

  .hero-description {
    margin: 0;
  }

  .hero-images__wrapper {
    width: 24rem;
  }

  .details-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .countdown-row {
    flex-direction: row;
    gap: 4rem;
  }

  .countdown-content {
    text-align: left;
  }

  .countdown-content .section-header__label,
  .countdown-content .section-header__title {
    text-align: left;
  }

  .countdown-grid {
    margin: 0;
  }

  .highlights-row {
    flex-direction: row;
    gap: 4rem;
  }

  .highlights-content .section-header__label,
  .highlights-content .section-header__title {
    text-align: left;
  }

  .dresscode-row {
    flex-direction: row;
  }

  .dresscode-content {
    text-align: left;
  }

  .dresscode-sparkle {
    margin: 0 0 1rem 0;
  }

  .dresscode-desc {
    margin: 0 0 2.5rem 0;
  }

  .dresscode-colors {
    justify-content: flex-start;
  }

  .timeline__line {
    left: 50%;
    transform: translateX(-0.5px);
  }

  .timeline-dot {
    left: 50%;
  }

  .timeline-item {
    display: flex;
    justify-content: flex-start;
  }

  .timeline-item--left {
    justify-content: flex-start;
  }

  .timeline-item--right {
    justify-content: flex-end;
  }

  .timeline-item--left .timeline-card {
    margin-left: 0;
    margin-right: calc(50% + 1.5rem);
    width: calc(50% - 3rem);
    text-align: right;
  }

  .timeline-item--left .timeline-card__header {
    flex-direction: row-reverse;
  }

  .timeline-item--right .timeline-card {
    margin-left: calc(50% + 1.5rem);
    margin-right: 0;
    width: calc(50% - 3rem);
    text-align: left;
  }

  .timeline-item--right .timeline-card__header {
    flex-direction: row;
  }

  .venue-row {
    flex-direction: row;
    gap: 2.5rem;
  }
}