/* ================================================
   SHARED WEDDING THEME
   Loaded by index.html. Page-specific styles live
   in styles.css, which loads after this file so it
   can override anything here.
================================================ */

/* ================================
   RESET & BASE
================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Make the `hidden` attribute always win over display rules like
   `.f-field { display: flex }`. JS toggles `hidden` to show/hide things. */
[hidden] { display: none !important; }

:root {
  --blush:       #E8849C;
  --blush-light: #F6B8C9;
  --sage:        #7C9473;
  --sage-light:  #A8C0A0;
  --gold:        #C9A063;
  --mauve:       #B17C96;
  --cream:       #FBF3EC;
  --ink:         #4A3B36;
  --glass:       rgba(255,255,255,0.5);
  --glass-b:     rgba(255,255,255,0.65);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* ================================
   SHARED UTILITIES
================================ */
.holographic {
  color: var(--blush);
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 40px;
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(74,59,54,0.78);
  max-width: 640px;
  margin-bottom: 40px;
}

section {
  position: relative;
  padding: 100px 24px;
  z-index: 1;
}
.section-inner { max-width: 1100px; margin: 0 auto; }

/* ================================
   NAVIGATION
================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: rgba(251,243,236,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-b);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blush); }

/* ================================
   HERO (shared pieces)
================================ */
.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(124,148,115,0.9);
  margin-bottom: 18px;
}

.hero-names {
  font-size: clamp(3.5rem, 13vw, 9rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 22px;
  color: var(--blush);
}

/* ================================
   FOOTER
================================ */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px 24px 40px;
  border-top: 1px solid var(--glass-b);
}
.footer-names { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
footer p { font-size: 0.82rem; letter-spacing: 0.1em; color: rgba(74,59,54,0.45); }
.heart { color: var(--blush); }

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  section { padding: 72px 20px; }
  .glass-card { padding: 28px 22px; }
}
