@font-face {
  font-family: 'Parfumerie Script';
  src: url('../assets/fonts/ParfumerieScriptRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

body {
  background-color: #dedad2;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  background-color: #faf7f2;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.12);
  container-type: inline-size;
}

.hero {
  position: relative;
  aspect-ratio: 704 / 1246;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #faf7f2;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/arco-2.jpeg') bottom center / 100% auto no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2.5rem 4rem;
  max-width: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content::before {
  content: '';
  position: absolute;
  inset: -1.5rem -3rem;
  z-index: -1;
}

.hero-eyebrow {
  font-size: clamp(0.9rem, 4.9cqw, 1.2rem);
  font-weight: normal;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-names {
  font-family: 'Parfumerie Script', cursive;
  font-weight: 600;
  font-size: clamp(2.75rem, 16cqw, 4.75rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}

.hero-date {
  font-size: clamp(1rem, 5.5cqw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: clamp(0.8rem, 4.2cqw, 1rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.countdown .section-eyebrow,
.schedule .section-eyebrow {
  color: #fdf6ea;
  text-shadow: 0 1px 4px rgba(35, 22, 10, 0.55);
}

.wood-section {
  position: relative;
}

.wood-section::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url('../assets/images/wood-floor.jpeg') center -29px / cover no-repeat;
}

.wood-section::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 51, 32, 0.12) 0%, rgba(58, 39, 20, 0.3) 55%, rgba(43, 28, 14, 0.48) 100%);
}

.countdown {
  position: relative;
  z-index: 1;
  padding: 5.5rem 1.5rem 6rem;
  text-align: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem 0.4rem;
  background: rgba(255, 248, 235, 0.14);
  backdrop-filter: blur(2px) saturate(1.15);
  -webkit-backdrop-filter: blur(2px) saturate(1.15);
  border: 1px solid rgba(255, 245, 230, 0.4);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 20px rgba(30, 19, 9, 0.25);
}

.countdown-value {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(1.5rem, 8.5cqw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: #fdf6ea;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 6px rgba(30, 19, 9, 0.6);
}

.countdown-label {
  font-size: clamp(0.55rem, 2.8cqw, 0.7rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0dcb8;
  text-shadow: 0 1px 3px rgba(30, 19, 9, 0.5);
}

.schedule {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.schedule-list {
  position: relative;
  list-style: none;
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

.schedule-item {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
  border-left: 1px solid rgba(253, 246, 234, 0.4);
}

.schedule-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.schedule-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0.3rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f0dcb8;
  box-shadow: 0 0 0 3px rgba(43, 28, 14, 0.65), 0 1px 3px rgba(30, 19, 9, 0.5);
}

.schedule-time {
  display: block;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 4.5cqw, 1.15rem);
  color: #fdf6ea;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 6px rgba(30, 19, 9, 0.6);
}

.schedule-event {
  display: block;
  font-size: clamp(0.85rem, 3.8cqw, 0.95rem);
  color: #f0dcb8;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(30, 19, 9, 0.5);
}

.dress-code {
  padding: 4rem 1.5rem;
  text-align: center;
  background: #faf7f2;
}

.dress-code-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-size: clamp(2rem, 11cqw, 3rem);
  color: #3b2f28;
  margin-bottom: 2rem;
}

.dress-code-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.music-credit {
  position: absolute;
  z-index: 1;
  right: 0.75rem;
  bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}
