
:root {
  --background: #f7f3ed;
  --paper: #fffdf9;
  --text: #39372f;
  --muted: #827c70;
  --accent: #b6a58a;
  --border: #e6dfd3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, sans-serif;
}

.header {
  min-height: 82px;
  max-width: 1500px;
  margin: auto;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  color: var(--text);
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
  text-decoration: none;
  white-space: nowrap;
}

.navigation {
  display: flex;
  gap: 30px;
}

.navigation a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.navigation a:hover {
  color: var(--text);
}

.languages {
  display: flex;
  gap: 7px;
}

.languages button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  cursor: pointer;
}

.languages button.active {
  background: var(--text);
  color: white;
}

.hero {
  position: relative;
  min-height: clamp(500px, 72vh, 760px);
  margin: 10px 2.5% 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #827c70;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(25, 30, 25, 0.02) 25%,
    rgba(25, 30, 25, 0.18) 55%,
    rgba(25, 30, 25, 0.48) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 48%;
  padding: 50px 5% 50px 2%;
  text-align: center;
  color: white;
  text-shadow: 0 1px 12px rgba(0,0,0,0.2);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  line-height: 1.8;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.1;
  margin: 25px 0 12px;
}

.hero h1 span {
  font-style: italic;
}

.hero-subtitle {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(19px, 2.5vw, 29px);
}

.hero-divider {
  color: #e3c9a0;
  font-size: 27px;
  margin: 30px 0;
}

.hero-date {
  letter-spacing: 4px;
  font-size: 13px;
}

.hero-venue {
  font-family: Georgia, serif;
  font-size: 19px;
}

.hero-button {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 25px;
  border: 1px solid rgba(255,255,255,0.8);
  color: white;
  font-size: 11px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.hero-button:hover {
  background: white;
  color: var(--text);
  text-shadow: none;
}

.countdown-section,
.information-section,
.rsvp-section {
  text-align: center;
  padding: 95px 20px;
}

.countdown-section {
  max-width: 900px;
  margin: auto;
}

.countdown-section .eyebrow,
.information-section .eyebrow,
.rsvp-section .eyebrow {
  color: var(--muted);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 8vw, 90px);
  margin: 40px 0 65px;
}

.countdown div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.countdown strong {
  font-family: Georgia, serif;
  font-size: clamp(36px, 6vw, 65px);
  font-weight: normal;
}

.countdown span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.countdown-section h2,
.information-section h2,
.rsvp-section h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 45px);
  font-weight: normal;
}

.section-description,
.information-section > p:not(.eyebrow),
.rsvp-section > p:not(.eyebrow) {
  max-width: 570px;
  margin: 20px auto;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.9;
}

.information-section {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.location-date {
  letter-spacing: 2px;
}

.coming-soon {
  font-size: 14px !important;
  font-style: italic;
}

.rsvp-section {
  padding-top: 85px;
  padding-bottom: 100px;
}

footer {
  padding: 30px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-family: Georgia, serif;
  font-style: italic;
}

footer p {
  margin: 8px;
}

@media (max-width: 760px) {
  .header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 17px 5%;
  }

  .logo {
    font-size: 21px;
  }

  .navigation {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 22px;
    padding: 12px 0 4px;
  }

  .navigation a {
    font-size: 10px;
  }

  .hero {
    min-height: 690px;
    margin: 5px 12px 0;
    background-position: 43% center;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(20, 25, 22, 0.72) 0%,
      rgba(20, 25, 22, 0.25) 48%,
      rgba(20, 25, 22, 0.02) 100%
    );
  }

  .hero-content {
    width: 100%;
    padding: 30px 15px 55px;
  }

  .countdown-section,
  .information-section,
  .rsvp-section {
    padding: 70px 20px;
  }
}

@media (max-width: 380px) {
  .navigation {
    gap: 13px;
  }

  .navigation a {
    letter-spacing: 1px;
  }

  .languages button {
    padding: 8px;
  }
}
