:root {
  --bg: #fcf8f2;
  --bg-alt: #f8efe4;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #231c18;
  --muted: #6f625e;
  --accent: #c8a76c;
  --accent-strong: #a9793e;
  --accent-soft: #ead8c5;
  --border: rgba(128, 94, 62, 0.16);
  --shadow: 0 18px 48px rgba(53, 35, 20, 0.14);
  --hero-overlay: linear-gradient(135deg, rgba(24, 16, 12, 0.77), rgba(116, 73, 44, 0.36));
}

:root[data-theme="dark"] {
  --bg: #110f0d;
  --bg-alt: #171311;
  --surface: rgba(23, 19, 17, 0.8);
  --surface-strong: rgba(30, 25, 22, 0.95);
  --text: #f7efe7;
  --muted: #bda78e;
  --accent: #e5bf7f;
  --accent-strong: #f2d49d;
  --accent-soft: rgba(229, 191, 127, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  --hero-overlay: linear-gradient(135deg, rgba(16, 12, 10, 0.84), rgba(77, 49, 29, 0.42));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 167, 108, 0.16), transparent 22rem),
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 90px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(252, 248, 242, 0.8);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

:root[data-theme="dark"] .site-header.scrolled {
  background: rgba(17, 15, 13, 0.8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: var(--shadow);
}

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

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle,
.theme-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  background-image: var(--hero-overlay), url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 16, 12, 0.75), rgba(24, 16, 12, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero h1,
.section h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  max-width: 730px;
  margin-bottom: 1rem;
}

.lead {
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.glass-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.counter {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.hero-decor {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  filter: blur(0.2px);
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}

.hero-decor-1 {
  top: 10%;
  right: -10%;
}

.hero-decor-2 {
  bottom: 8%;
  left: -8%;
  animation-delay: 2s;
}

.section {
  padding: 5.5rem 0;
}

.section-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.section-heading h2,
.section-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 0.8rem;
  color: var(--text);
}

.section-copy p,
.section-heading p,
.service-card p,
.package-card li,
.event-card p,
.category-card p,
.blog-card p,
.contact-copy p,
.price-card p,
.faq-answer p,
.timeline-card p,
.rsvp-card label span,
.contact-form label span {
  color: var(--muted);
}

.about-card,
.service-card,
.package-card,
.event-card,
.category-card,
.team-card,
.testimonial-slider,
.timeline-card,
.countdown-card,
.rsvp-card,
.price-card,
.faq-item,
.blog-card,
.contact-card,
.map-card,
.newsletter-card {
  padding: 1.5rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.feature-list li::before {
  content: '•';
  color: var(--accent);
  margin-right: 0.5rem;
}

.timeline,
.cards-grid,
.gallery-grid,
.contact-list,
.social-links {
  display: grid;
  gap: 1.25rem;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.package-card,
.category-card,
.blog-card,
.price-card {
  min-height: 100%;
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.15));
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-size: 1.15rem;
}

.package-card {
  position: relative;
}

.package-card.featured,
.price-card.featured {
  border: 1px solid rgba(200, 167, 108, 0.36);
  transform: translateY(-4px);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin: 0.25rem 0 0.75rem;
}

.package-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.package-card li::before {
  content: '✓';
  color: var(--accent-strong);
  margin-right: 0.5rem;
}

.event-card img,
.team-card img,
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1.2rem;
  transition: transform 0.35s ease;
}

.event-card:hover img,
.team-card:hover img,
.gallery-item:hover img {
  transform: scale(1.04);
}

.event-card-content,
.team-card h3,
.gallery-item {
  margin-top: 1rem;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  padding: 0;
  background: none;
  border: none;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.video-placeholder {
  min-height: 320px;
  border-radius: 1.3rem;
  background: linear-gradient(140deg, rgba(200, 167, 108, 0.26), rgba(35, 28, 24, 0.68)), url('https://images.unsplash.com/photo-1522673607200-164d1b6ce486?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  display: grid;
  place-items: center;
}

.play-button {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-strong);
  box-shadow: var(--shadow);
  font-size: 1.3rem;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card img {
  height: 280px;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.slider-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 1.1rem;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.countdown-rsvp .section-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.countdown div {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  padding: 1rem 0.8rem;
  text-align: center;
}

.countdown span {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
}

.countdown small {
  color: var(--muted);
}

.rsvp-card form,
.contact-form,
.newsletter-form {
  display: grid;
  gap: 0.9rem;
}

.rsvp-card label,
.contact-form label {
  display: grid;
  gap: 0.35rem;
}

input,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea {
  background: rgba(255, 255, 255, 0.06);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.form-message {
  min-height: 1.4rem;
  color: var(--accent-strong);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.active .faq-answer {
  max-height: 140px;
  margin-top: 0.8rem;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.instagram-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-list {
  list-style: none;
  margin: 1rem 0;
}

.social-links {
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0.9rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--accent-strong);
  font-weight: 600;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 1.2rem;
}

.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.newsletter-form {
  grid-template-columns: 1fr auto;
  min-width: min(100%, 420px);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.9);
  display: none;
  place-items: center;
  z-index: 120;
  padding: 1rem;
}

.lightbox.active {
  display: grid;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  font-size: 2rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"].visible {
  transform: translateX(0);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate="fade-right"].visible {
  transform: translateX(0);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="zoom-in"].visible {
  transform: scale(1);
}

[data-animate="zoom-in"] {
  transform: scale(0.94);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface-strong);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    min-width: 220px;
    box-shadow: var(--shadow);
  }

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

  .timeline,
  .cards-grid,
  .gallery-grid,
  .instagram-grid,
  .team-grid,
  .section-grid,
  .countdown-rsvp .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 0 4.2rem;
  }

  .hero-actions,
  .social-links,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .section {
    padding: 4.2rem 0;
  }
}
