@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&family=Great+Vibes&display=swap');

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

:root {
  --blush: #f5e6e0;
  --rose: #d4a0a0;
  --dusty-rose: #c48b8b;
  --sage: #a8b5a2;
  --sage-dark: #7a8c73;
  --cream: #faf8f5;
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --charcoal: #3a3a3a;
  --text: #4a4a4a;
  --text-light: #7a7a7a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.4rem 0;
  border-bottom: 1.5px solid transparent;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, var(--cream) 0%, var(--blush) 50%, rgba(168,181,162,0.15) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  background:
    radial-gradient(ellipse 300px 300px at 15% 20%, rgba(212,160,160,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 250px 350px at 85% 25%, rgba(168,181,162,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 200px 200px at 50% 80%, rgba(201,169,110,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Floral Decorations ── */
.floral-top, .floral-bottom {
  position: absolute;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: 0.45;
}

.floral-top {
  top: -30px; right: -40px;
  transform: rotate(15deg);
}

.floral-bottom {
  bottom: -30px; left: -40px;
  transform: rotate(-160deg);
}

.floral-corner {
  width: 100%; height: 100%;
}

.floral-divider {
  width: 200px;
  margin: 1.5rem auto;
  opacity: 0.5;
}

/* ── Typography ── */
.script {
  font-family: 'Great Vibes', cursive;
  color: var(--gold);
}

.hero .script {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.hero h1 .amp {
  font-family: 'Great Vibes', cursive;
  color: var(--gold);
  font-size: 0.7em;
  display: inline-block;
  margin: 0 0.15em;
  vertical-align: baseline;
}

.hero .date {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1.5rem;
  font-weight: 300;
}

.hero .venue {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--dusty-rose);
  margin-top: 0.5rem;
}

.hero .cta-group {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0.9rem 2.5rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--gold);
  color: #fff;
}

.btn-filled {
  background: var(--gold);
  color: #fff;
}

.btn-filled:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--charcoal);
}

/* ── Section Layouts ── */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--charcoal);
}

.section-header .script {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.3rem;
}

/* ── Details Grid (homepage) ── */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.detail-card {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 4px;
}

.detail-card .icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}

.detail-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.detail-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ── RSVP Form ── */
.rsvp-page {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
}

.rsvp-container {
  max-width: 580px;
  margin: 0 auto;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 4px;
  padding: 3rem 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-light);
}

.form-error {
  display: none;
  background: #f8e0e0;
  color: #8b3a3a;
  padding: 0.8rem 1rem;
  border-radius: 3px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* ── Info Page ── */
.info-page {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(168,181,162,0.1) 100%);
}

.info-container {
  max-width: 780px;
  margin: 0 auto;
}

.info-block {
  margin-bottom: 3rem;
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 4px;
  border-left: 3px solid var(--gold-light);
}

.info-block h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}

.info-block p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0; bottom: 0;
  width: 1.5px;
  background: var(--gold-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.55rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
}

.timeline-item .time {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

.timeline-item .event {
  font-size: 0.95rem;
  color: var(--text);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

footer .script {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.3rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { gap: 1.2rem; padding: 0.7rem 1rem; }
  nav a { font-size: 0.72rem; letter-spacing: 1.5px; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .floral-top, .floral-bottom { width: 200px; height: 200px; }
  .rsvp-container { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .info-block { padding: 1.5rem; }
}
