/* ==========================================================================
   Theme: Ivory Vow (Wedding Photographer)
   Generated by generate.py - original design tokens, no third-party CSS.
   ========================================================================== */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #3d3733;
  --accent: #b08d57;
  --accent-dark: #7f663f;
  --accent-soft: #f3eee6;
  --muted: #8a8178;
  --border: #e0dcd7;
  --btn-text: #1a1a1a;
  --font-heading: Garamond, 'EB Garamond', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 0px;
  --sp-1: 0.575rem;
  --sp-2: 1.15rem;
  --sp-3: 1.84rem;
  --sp-4: 2.99rem;
  --sp-5: 4.83rem;
}

/* ---- Reset & base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3,
.site-title,
.hero-title,
.section-title,
.footer-title {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background: var(--accent);
  color: var(--btn-text);
}

/* ---- Header & navigation ---- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-2) var(--sp-3);
}

.site-title {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.site-title a {
  color: var(--text);
}

.site-title a:hover {
  color: var(--accent);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.site-nav a {
  color: var(--text);
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  text-align: center;
}

.site-nav ul {
  justify-content: center;
}

/* ---- Hero ---- */
.hero-inner {
  max-width: 46rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  margin-bottom: var(--sp-1);
  opacity: 0.85;
}

.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  margin-bottom: var(--sp-1);
}

.hero-sub {
  font-size: 1.15rem;
  margin-bottom: var(--sp-3);
  opacity: 0.92;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  background-image:
    linear-gradient(rgba(12, 12, 14, 0.5), rgba(12, 12, 14, 0.68)),
    url('https://picsum.photos/seed/ivory-vow/1600/900');
  background-size: cover;
  background-position: center;
}

.hero-title,
.hero-sub,
.hero-kicker {
  color: #ffffff;
}

.hero .btn {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

.hero .btn:hover {
  background: #ffffff;
  color: #1a1a1a;
}

.hero-media {
  display: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 0.8em 2em;
  cursor: pointer;
  border: 2px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn {
  background: transparent;
  color: var(--accent);
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}

.btn:hover {
  background: var(--accent);
  color: var(--btn-text);
}

/* ---- Gallery ---- */
.gallery {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: var(--sp-3);
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--accent);
  margin: var(--sp-1) auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  padding: var(--sp-1) var(--sp-2);
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 3px solid var(--accent);
}

/* ---- About ---- */
.about {
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-3) var(--sp-5);
  text-align: center;
}

.about p {
  margin-bottom: var(--sp-2);
  color: var(--text);
}

.about p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: var(--sp-1);
}

.footer-contact {
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.footer-links a {
  color: var(--text);
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.copyright {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-1);
    text-align: center;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
  }

  .hero {
    min-height: 0;
    padding: var(--sp-4) var(--sp-2);
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-inner {
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .gallery,
  .about,
  .site-footer {
    padding-left: var(--sp-2);
    padding-right: var(--sp-2);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
