/* Global Styles */
:root {
  --primary-color: #4a4e69;
  --secondary-color: #9a8c98;
  --accent-color: #c9ada7;
  --background-color: #f2e9e4;
  --text-color: #22223b;
  --header-font: 'Playfair Display', serif;
  --body-font: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  text-align: center;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5em 0;
  text-align: center;
}

header h1 {
  font-family: var(--header-font);
  font-size: 3em;
  margin: 0;
  font-weight: 700;
}

header .subtitle {
  font-size: 1.2em;
  margin: 0;
  opacity: 0.9;
}

/* Hero Section */
.hero {
  margin: 40px auto;
  position: relative;
}

.hero-image {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-text {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  padding: 1.5em;
  border-radius: 12px;
  margin-top: -50px;
  position: relative;
  z-index: 1;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-text h2 {
    color: var(--primary-color);
    margin: 0;
}

/* Sections */
section {
  background: white;
  margin: 40px auto;
  padding: 2em;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  font-family: var(--header-font);
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    text-align: left;
}

@media (min-width: 600px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Collapsible Sections */
.collapsible {
  background: white;
  margin: 40px auto;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.collapsible summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5em;
  font-family: var(--header-font);
  font-size: 2em;
  color: var(--primary-color);
  outline: none;
  position: relative;
  transition: background-color 0.3s;
}

.collapsible summary:hover {
    background-color: #f9f9f9;
}

.collapsible summary::after {
  content: '+';
  position: absolute;
  right: 1.5em;
  font-size: 1.2em;
  transition: transform 0.3s;
}

.collapsible[open] summary::after {
  transform: rotate(45deg);
}

.collapsible-content {
  padding: 0 1.5em 1.5em;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
}

@media (min-width: 768px) {
    .accommodation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.collapsible ul {
  list-style: none;
  padding: 0;
}

.collapsible li {
  background-color: var(--background-color);
  padding: 1em;
  margin-bottom: 0.5em;
  border-radius: 8px;
}

.collapsible a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.collapsible a:hover {
    text-decoration: underline;
}

/* Map */
.map-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1em;
}

/* RSVP */
.rsvp iframe {
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  min-height: 800px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5em 0;
  margin-top: 40px;
}