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

:root {
  --gold: #c9a86a;
  --dark: #1a1a1a;
  --overlay: rgba(10, 10, 10, 0.72);
  --overlay-light: rgba(10, 10, 10, 0.55);
  --cream: #f7f4ee;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  color: var(--cream);
  background-color: var(--dark);
}

body {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body.bg-hero { background-image: linear-gradient(var(--overlay-light), var(--overlay-light)), url('images/hero-bg.jpg'); }
body.bg-contact { background-image: linear-gradient(var(--overlay-light), var(--overlay-light)), url('images/contact-bg.jpg'); }

.layout {
  display: flex;
  min-height: 100vh;
}

nav.sidebar {
  width: 250px;
  flex-shrink: 0;
  padding: 40px 24px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
}

nav.sidebar a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

nav.sidebar a:hover { color: var(--gold); padding-left: 6px; }
nav.sidebar a.active { color: var(--gold); }

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 24px;
}

.card {
  max-width: 720px;
  width: 100%;
  background: var(--overlay);
  padding: 48px 56px;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  margin: 20px 0;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-size: 1.4rem;
  margin-top: 0;
}

h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  margin-top: 2em;
}

p { line-height: 1.7; font-size: 1.02rem; }

.headshot {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  border: 3px solid var(--gold);
}

.contact-photo {
  display: block;
  max-width: 320px;
  width: 100%;
  border-radius: 4px;
  margin: 0 auto 24px;
  border: 3px solid var(--gold);
}

.tagline {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 24px;
}

.contact-line {
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin: 6px 0;
}

.contact-line a { color: var(--cream); text-decoration: none; }
.contact-line a:hover { color: var(--gold); }

hr.divider {
  width: 60px;
  border: none;
  border-top: 1px solid var(--gold);
  margin: 24px auto;
}

.ceremony-order {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ceremony-order li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  text-align: center;
  font-size: 1rem;
}

.review {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.review:last-child { border-bottom: none; }

.review .stars { color: var(--gold); }

.review .author {
  display: block;
  margin-top: 8px;
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
}

.faq-item { margin-bottom: 1.8em; }
.faq-item .q { font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; }

blockquote {
  border-left: 3px solid var(--gold);
  margin: 1em 0;
  padding: 0.2em 1.2em;
  font-style: italic;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .layout { flex-direction: column; }

  nav.sidebar {
    width: 100%;
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 4px 0;
  }

  nav.sidebar .nav-links { display: none; margin-top: 12px; }
  nav.sidebar.open .nav-links { display: block; }

  .card { padding: 32px 26px; }

  main { padding: 24px 14px; }
}
