:root {
  --primary: #c8a96b;
  --primary-dark: #a88442;
  --bg: #fffaf7;
  --white: #ffffff;
  --text: #2f2a26;
  --muted: #6f675f;
  --border: rgba(47, 42, 38, 0.12);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --transition: all 0.35s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section { padding: 100px 0; }

.section-tag {
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-heading h2,
.about-content h2,
.rsvp-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 250, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--primary-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 10px;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  background: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(34, 27, 22, 0.35), rgba(34, 27, 22, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 18px;
}

.hero h1 span { color: #f3d8a6; }

.hero-subtitle { font-size: 1.1rem; margin-bottom: 16px; }

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  transition: var(--transition);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Layout */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 460px;
  object-fit: cover;
}

.about-content p { color: var(--muted); margin-bottom: 16px; }

.details-grid,
.testimonial-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.detail-card,
.testimonial-card,
.contact-card,
.story-card,
.rsvp-form,
.timeline-box,
.map-placeholder,
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-card, .contact-card { padding: 28px; text-align: center; }

.detail-card h3,
.contact-card h3 {
  margin-bottom: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
}

.timeline-box { margin-top: 34px; padding: 30px; }

.timeline-box h3 {
  margin-bottom: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}

.schedule { display: grid; gap: 16px; }

.schedule-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.schedule-item:last-child { border-bottom: none; }
.schedule-item span { font-weight: 700; color: var(--primary-dark); }

.story-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.story-card { padding: 28px; }

.story-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-weight: 700;
}

.story-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.gallery-grid img:hover { transform: scale(1.03); }

.countdown-box {
  text-align: center;
  background: linear-gradient(135deg, #fff, #f8efe5);
  border: 1px solid var(--border);
  padding: 50px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.countdown-timer div {
  background: var(--white);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.countdown-timer span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.testimonial-card { padding: 28px; }

.testimonial-card p {
  font-style: italic;
  margin-bottom: 16px;
  color: var(--muted);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}

.faq-answer p { padding-bottom: 20px; color: var(--muted); }

.rsvp-form { padding: 30px; display: grid; gap: 16px; }

.rsvp-form input,
.rsvp-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  font-size: 1rem;
  background: #fffdfb;
}

.rsvp-form input:focus,
.rsvp-form textarea:focus { border-color: var(--primary); }

.form-status { font-size: 0.95rem; color: var(--primary-dark); }

.contact-grid { margin-bottom: 30px; }

.map-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.1rem;
}

.footer {
  background: #211b16;
  color: #f5ede5;
  padding: 28px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.socials { display: flex; gap: 18px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox.show { display: flex; }

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
  .grid-2,
  .details-grid,
  .story-timeline,
  .testimonial-grid,
  .contact-grid,
  .gallery-grid,
  .countdown-timer {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 4%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 220px;
    padding: 20px;
    flex-direction: column;
    display: none;
  }

  .nav-links.show { display: flex; }
  .menu-toggle { display: flex; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .grid-2,
  .details-grid,
  .story-timeline,
  .testimonial-grid,
  .contact-grid,
  .gallery-grid,
  .countdown-timer {
    grid-template-columns: 1fr;
  }

  .hero { padding: 100px 0; }
  .schedule-item { flex-direction: column; }

  .footer-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .socials { justify-content: center; }
}