@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;1,300;1,400&family=Raleway:wght@200;300;400;500&display=swap');

:root {
  --blush: #F9EEE8;
  --blush-deep: #F2DDD3;
  --rose: #D4847A;
  --rose-soft: #E8AFA8;
  --rose-dark: #9E5A52;
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --ivory: #FDFAF7;
  --mist: #F0EDF8;
  --lavender: #C9BFE0;
  --lavender-soft: #E8E3F4;
  --sage: #B5C4B1;
  --text: #2D1F1A;
  --text-mid: #6B4F47;
  --text-soft: #A08888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--ivory);
  color: var(--text);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── PARTICLES ── */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; border-radius: 50%; animation: float linear infinite; opacity: 0; }
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.5; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.4rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(253,250,247,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,132,122,0.12);
  transition: padding 0.3s;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 400; letter-spacing: 0.05em; color: var(--text); text-decoration: none; }
.logo span { color: var(--rose); font-style: italic; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; transition: color 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--rose); }
.nav-btn { background: var(--rose) !important; color: white !important; padding: 0.5rem 1.4rem !important; border-radius: 30px !important; transition: background 0.25s !important; }
.nav-btn:hover { background: var(--rose-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-mid); transition: all 0.3s; }

/* ── BUTTONS ── */
.btn-rose {
  background: var(--rose); color: white; padding: 0.9rem 2.4rem; border-radius: 40px;
  font-family: 'Raleway', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; display: inline-block; border: none; cursor: pointer;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(212,132,122,0.28);
}
.btn-rose:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,132,122,0.38); }
.btn-outline {
  background: transparent; color: var(--text-mid); padding: 0.9rem 2.2rem; border-radius: 40px;
  border: 1px solid rgba(212,132,122,0.4); font-family: 'Raleway', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; display: inline-block;
  transition: all 0.25s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #B8905A); color: white; padding: 1rem 2.6rem; border-radius: 40px;
  font-family: 'Raleway', sans-serif; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; display: inline-block; border: none; cursor: pointer;
  transition: all 0.25s; box-shadow: 0 4px 20px rgba(201,169,110,0.38);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,169,110,0.48); }

/* ── LABELS ── */
.label {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem;
}
.label::before { content: ''; width: 1.5rem; height: 1px; background: var(--rose-soft); display: block; }
.label.center { justify-content: center; }
.label.center::after { content: ''; width: 1.5rem; height: 1px; background: var(--rose-soft); display: block; }

/* ── TYPOGRAPHY ── */
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; line-height: 1.25; color: var(--text); margin-bottom: 1.4rem; }
.section-title em { font-style: italic; color: var(--rose); }
.section-title.light { color: var(--ivory); }
.section-title.light em { color: var(--rose-soft); }
p.body { font-size: 0.95rem; line-height: 1.95; color: var(--text-mid); font-weight: 300; margin-bottom: 1.2rem; }
p.body.light { color: rgba(253,250,247,0.72); }

/* ── RIBBON ── */
.ribbon { background: linear-gradient(135deg, var(--rose), var(--lavender)); padding: 1.2rem 0; overflow: hidden; }
.ribbon-inner { display: flex; gap: 4rem; animation: scroll-ribbon 28s linear infinite; width: max-content; }
@keyframes scroll-ribbon { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ribbon-item { font-family: 'Playfair Display', serif; font-size: 0.85rem; font-style: italic; color: white; white-space: nowrap; display: flex; align-items: center; gap: 1.5rem; }
.ribbon-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); flex-shrink: 0; }

/* ── POPUP ── */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(45,31,26,0.55); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
  backdrop-filter: blur(4px);
}
.popup-overlay.show { opacity: 1; pointer-events: all; }
.popup {
  background: var(--ivory); border-radius: 24px; padding: 3rem 2.5rem; max-width: 460px; width: 90%;
  position: relative; transform: translateY(20px); transition: transform 0.4s;
  text-align: center;
}
.popup-overlay.show .popup { transform: translateY(0); }
.popup-close {
  position: absolute; top: 1rem; right: 1.25rem; background: none; border: none;
  font-size: 1.4rem; color: var(--text-soft); cursor: pointer; line-height: 1;
}
.popup-close:hover { color: var(--rose); }
.popup-eyebrow { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.75rem; }
.popup-title { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 300; line-height: 1.3; color: var(--text); margin-bottom: 0.75rem; }
.popup-title em { font-style: italic; color: var(--rose); }
.popup-sub { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.75rem; }
.popup-form { display: flex; flex-direction: column; gap: 0.75rem; }
.popup-input {
  background: var(--blush); border: 1px solid rgba(212,132,122,0.2); border-radius: 40px;
  padding: 0.85rem 1.4rem; font-family: 'Raleway', sans-serif; font-size: 0.85rem;
  color: var(--text); outline: none; transition: border-color 0.22s; width: 100%;
}
.popup-input:focus { border-color: var(--rose); }
.popup-input::placeholder { color: var(--text-soft); }
.popup-note { font-size: 0.68rem; color: var(--text-soft); margin-top: 0.25rem; }
.popup-image { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; margin: 0 auto 1.25rem; display: block; border: 2px solid var(--rose-soft); }

/* ── FOOTER ── */
footer {
  background: var(--text); color: rgba(253,250,247,0.55);
  padding: 3rem 6rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--ivory); font-style: italic; }
.footer-links { display: flex; gap: 2rem; list-style: none; justify-content: center; flex-wrap: wrap; }
.footer-links a { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(253,250,247,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--rose-soft); }
.footer-copy { font-size: 0.68rem; letter-spacing: 0.05em; text-align: right; }

/* ── FADE UP ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--ivory); flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem; z-index: 199; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .hamburger { display: flex; }
  footer { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 2rem; }
  .footer-copy { text-align: center; }
}
