/* ============================================================
   WEDDING SAVE THE DATE — style.css
   Custom Palette: Navy (#263f6d), Jewel Teal, and Copper
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Your Specific Navy */
  --navy-brand:   #263f6d; 
  
  /* Backgrounds (Soft Teal Wash) */
  --bg-teal-soft: #f0f7f7; 
  --bg-teal-alt:  #e2eded;
  
  /* Jewel Teal Accents */
  --teal-jewel:   #006666; 
  --teal-muted:   #4a7a7a;
  
  /* Copper Elements */
  --copper:       #b87333;
  --copper-light: #d9a066;

  /* Typography Colors */
  --ink:          var(--navy-brand);
  --ink-soft:     #3e4e68;
  --ink-muted:    #6b7d99;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', sans-serif;

  --max-w:        760px;
  --section-pad:  5rem 1.5rem;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-teal-soft);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Decorative background petals --- */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.petal {
  position: absolute;
  border-radius: 50% 50% 50% 0 / 60% 60% 40% 40%;
  opacity: 0.08; /* Subtle enough to not interfere with text */
}

.petal-1 {
  width: 400px; height: 300px;
  background: var(--teal-jewel);
  top: -100px; left: -100px;
  transform: rotate(-30deg);
}
.petal-2 {
  width: 300px; height: 250px;
  background: var(--copper);
  top: 15%; right: -80px;
  transform: rotate(45deg);
}

/* --- Main layout --- */
main { position: relative; z-index: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 8rem 1.5rem 5rem;
  text-align: center;
  animation: fadeUp 1.2s ease both;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-jewel); /* Teal for the top label */
  margin-bottom: 2rem;
}

.name {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 400;
  color: var(--navy-brand); /* Your Navy for the names */
  line-height: 0.9;
}

.ampersand {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-style: italic;
  color: var(--copper); /* Copper Ampersand */
  margin: 0.5rem 0;
  display: block;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem auto;
}

.line {
  width: 60px;
  height: 1px;
  background: var(--navy-brand);
  opacity: 0.2;
}

.ring-icon {
  width: 28px;
  height: 28px;
  color: var(--copper);
}

.wedding-date {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--navy-brand);
  letter-spacing: 0.05em;
}

.venue {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-muted);
}

/* ============================================================
   COUNTDOWN SECTION
   ============================================================ */
.countdown-section {
  padding: var(--section-pad);
  text-align: center;
  background-color: var(--bg-teal-alt);
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-jewel);
  margin-bottom: 3rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.unit {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
}

.num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--navy-brand); /* Clear navy numbers */
  line-height: 1;
}

.num.tick {
  color: var(--copper); /* Numbers pulse to copper on the tick */
}

.unit-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.unit-sep {
  font-size: 2rem;
  color: var(--copper-light);
  opacity: 0.5;
}

/* ============================================================
   RSVP SECTION
   ============================================================ */
.rsvp-section {
  padding: var(--section-pad);
  text-align: center;
}

.rsvp-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--navy-brand);
  margin-bottom: 1.5rem;
}

.rsvp-body {
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 auto 3rem;
  font-size: 1rem;
}

.rsvp-btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background-color: var(--navy-brand); /* Solid Navy button for clarity */
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid var(--navy-brand);
}

.rsvp-btn:hover {
  background-color: transparent;
  color: var(--navy-brand);
  border-color: var(--copper);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 3rem 1.5rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-muted);
  border-top: 1px solid rgba(0,0,0,0.05);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .unit { padding: 0 1rem; }
  .unit-sep { display: none; }
}