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

:root {
  --primary: #E8507A;
  --primary-light: #f47fa0;
  --secondary: #FF8C42;
  --accent: #FFD166;
  --teal: #4ECDC4;
  --bg: #FFFEF7;
  --bg-alt: #FFF5F0;
  --text: #2C2C2C;
  --text-light: #777;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(232, 80, 122, 0.12);
  --shadow-hover: 0 8px 36px rgba(232, 80, 122, 0.22);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(232, 80, 122, 0.12);
  padding: 0 2rem;
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #fff0f5 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(232,80,122,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,209,102,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header .pill {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── CONTAINERS ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--bg-alt);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.25; }

h2.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--text);
}

h2.section-title span { color: var(--primary); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(232, 80, 122, 0.3);
}

.btn-primary:hover {
  background: #d44470;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 80, 122, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 140, 66, 0.3);
}

.btn-accent:hover {
  background: #e07834;
  transform: translateY(-2px);
}

/* ── CARDS ── */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ── TAGS / CHIPS ── */
.tag {
  display: inline-block;
  background: rgba(232, 80, 122, 0.1);
  color: var(--primary);
  border-radius: 50px;
  padding: 0.25rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.25rem;
}

.tag.orange { background: rgba(255,140,66,0.12); color: var(--secondary); }
.tag.yellow { background: rgba(255,209,102,0.2); color: #c48a00; }
.tag.teal   { background: rgba(78,205,196,0.15); color: #2a9990; }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.88rem;
}

.footer a { color: var(--primary-light); text-decoration: none; }
.footer strong { color: white; }

/* ── DECORATIVE ── */
.squiggle {
  display: inline-block;
  position: relative;
}
.squiggle::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.emoji-bullet { font-size: 1.1rem; margin-right: 0.5rem; }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── FORM ── */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid #e8e0dc;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 80, 122, 0.12);
}

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-bottom: 2px solid rgba(232, 80, 122, 0.12);
    gap: 0.25rem;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .section { padding: 3.5rem 1.25rem; }

  .page-header { padding: 3.5rem 1.25rem 3rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
}

.lb-img {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  cursor: default;
}

#lightbox.open .lb-img {
  transform: scale(1);
}

.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lb-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 768px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}
