:root {
  --blush: #e6eef5;
  --blush-deep: #a9c6dc;
  --rose: #5c85a8;
  --rose-dark: #2f4d68;
  --cream: #f5f8fb;
  --ivory: #ffffff;
  --text-dark: #33404a;
  --text-muted: #72838f;
  --gold: #b99a5f;
  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; }

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

/* Floating petals background flourish */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(169, 198, 220, 0.18) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(185, 154, 95, 0.12) 0, transparent 40%);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 12px rgba(51, 64, 74, 0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--rose-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav-links a { position: relative; }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--rose); }
.nav-links a:hover::after { width: 100%; }

.nav-rsvp-btn {
  border: 1px solid var(--rose-dark);
  border-radius: 30px;
  padding: 8px 22px !important;
  color: var(--rose-dark) !important;
}

.nav-rsvp-btn::after { display: none; }

.nav-rsvp-btn:hover {
  background: var(--rose-dark);
  color: var(--ivory) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--rose-dark);
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--blush);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  position: relative;
  padding: 120px 20px 60px;
}

.hero-content { max-width: 700px; position: relative; z-index: 1; }

.hero-monogram {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--rose-dark);
}

.hero-monogram-amp {
  color: var(--gold);
  font-style: italic;
  margin: 0 4px;
  font-size: 1.1rem;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto;
}

.hero-divider span {
  width: 44px;
  height: 1px;
  background: var(--blush-deep);
}

.hero-divider i {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
  display: inline-block;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 18px;
}

.hero-names {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  color: var(--rose-dark);
  line-height: 1.1;
}

.hero-names .amp {
  font-size: 0.7em;
  color: var(--gold);
  margin: 0 10px;
}

.hero-tagline {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 10px;
}

.hero-date {
  margin-top: 14px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--ivory);
  border: 1px solid var(--blush-deep);
  border-radius: 10px;
  padding: 18px 22px;
  min-width: 84px;
  box-shadow: 0 4px 16px rgba(92, 133, 168, 0.15);
}

.countdown-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--rose-dark);
}

.countdown-number i {
  font-style: normal;
  color: var(--gold);
  margin: 0 2px;
}

.countdown-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--rose-dark);
  margin-bottom: 0;
  position: relative;
  padding-bottom: 26px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 1px;
  background: var(--gold);
}

.section-title + * {
  margin-top: 50px;
}

/* Our Story */
.story-single {
  max-width: 720px;
  margin: 0 auto;
}

.story-photos {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.story-photos img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(51, 64, 74, 0.14);
}

.story-single p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-dark);
  text-align: left;
}

/* Details */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.details-card {
  background: var(--blush);
  border-radius: 14px;
  padding: 36px 28px;
}

.details-card h3 {
  color: var(--rose-dark);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.details-time {
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.details-card p:not(.details-time) {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.details-link {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-dark);
  border-bottom: 1px solid var(--rose-dark);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.details-link:hover { opacity: 0.7; }

.dress-palette {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.swatch-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 3px 10px rgba(51, 64, 74, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.swatch-name {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-align: center;
  max-width: 70px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(51, 64, 74, 0.15);
}

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

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


/* Share Photos */
.share-intro {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn-share {
  display: inline-block;
  padding: 14px 40px;
  background: var(--rose-dark);
  color: var(--ivory);
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.btn-share:hover { background: var(--rose); }

.share-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* RSVP */
.rsvp-intro {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.rsvp-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  background: var(--ivory);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(51, 64, 74, 0.08);
}

.form-row { margin-bottom: 22px; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--rose-dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--blush-deep);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text-dark);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--rose);
}

.form-row input.input-error {
  border-color: #c0392b;
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.field-hint.error {
  color: #c0392b;
}

.radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: var(--text-dark);
}

.radio-option input { width: auto; }

.form-note-row {
  background: var(--blush);
  border-radius: 8px;
  padding: 12px 16px;
}

.menu-note {
  font-size: 0.9rem;
  color: var(--rose-dark);
  font-weight: 500;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--rose-dark);
  color: var(--ivory);
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-submit:hover { background: var(--rose); }

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--rose-dark);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 50px 24px;
  background: var(--blush);
  position: relative;
  z-index: 1;
}

.footer-names {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--rose-dark);
  margin-bottom: 6px;
}

.site-footer p:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 300px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }

  .nav-links li { width: 100%; text-align: center; }

  .nav-links a {
    display: block;
    padding: 16px;
  }

  .countdown { gap: 14px; }
  .countdown-item { min-width: 68px; padding: 14px 12px; }
  .countdown-number { font-size: 1.6rem; }
}
