/* ============================================================
   Bee Marie Photography - Debut Websites by C i Marketing
   Elegant font system: Playfair Display / Lato
   ============================================================ */

:root {
  --primary: #6B1714;        /* oxblood */
  --primary-dark: #45100D;   /* footer / CTA band */
  --primary-hover: #8A2620;
  --secondary: #F0DACB;      /* warm sand */
  --accent: #6B1714;
  --text: #1A0901;
  --text-light: #6A5B55;
  --bg: #FCFAF8;             /* porcelain */
  --bg-soft: #F7EFE8;        /* sand tint */
  --heading-font: "Playfair Display", serif;
  --body-font: "Lato", sans-serif;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.6em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.2em; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }

ul { padding-left: 1.3em; }
li { margin-bottom: 0.5em; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 10000;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Eyebrow labels & pull quotes ---------- */

.eyebrow {
  display: block;
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.pull-quote {
  font-family: var(--heading-font);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.45;
  color: var(--primary);
  max-width: 22em;
  margin: 0 auto;
  text-align: center;
}

.pull-quote-section { padding: 84px 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 32px;
  min-height: 44px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-light { background: var(--secondary); color: var(--text); }
.btn-light:hover { background: #fff; color: var(--text); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--primary);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand span {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: block;
  color: var(--secondary);
}
.brand:hover { color: #fff; }

.nav-toggle {
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--primary);
  flex-direction: column;
  padding-bottom: 12px;
}
.nav-menu.open { display: flex; }
.nav-menu li { margin: 0; }
.nav-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  padding: 13px 24px;
  min-height: 44px;
}
.nav-menu a:hover { color: var(--secondary); }
.nav-menu a.active {
  color: var(--secondary);
  font-weight: 700;
}

/* ---------- Hero (split, typography led) ---------- */

.hero { padding: 60px 0 70px; }

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 { font-size: 2.3rem; }
.hero-copy .lede { font-size: 1.1rem; color: var(--text-light); }

/* Signature: offset print mat */
.photo-mat { position: relative; padding: 22px 22px 0 0; }
.photo-mat::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 82%;
  height: 88%;
  background: var(--secondary);
  z-index: 0;
}
.photo-mat img { position: relative; z-index: 1; width: 100%; object-fit: cover; }

.photo-mat-left { padding: 22px 0 0 22px; }
.photo-mat-left::before { right: auto; left: 0; }

/* ---------- Sections ---------- */

.section { padding: 74px 0; }
.section-soft { background: var(--bg-soft); }
.section-sand { background: var(--secondary); }

.section-intro { max-width: 720px; }
.section-intro p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  gap: 44px;
  align-items: center;
}
.split-copy p:last-child { margin-bottom: 0; }

/* Home area rows */
.area-row { padding: 64px 0; }
.area-row .split-copy .btn-row { margin-top: 22px; }

/* ---------- Dark CTA band (single dark accent per page) ---------- */

.cta-band {
  background: var(--primary-dark);
  color: #fff;
  padding: 78px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--secondary); max-width: 640px; }
.cta-band .btn-primary { background: var(--secondary); color: var(--text); }
.cta-band .btn-primary:hover { background: #fff; color: var(--text); }
.cta-band .btn-outline { color: #fff; box-shadow: inset 0 0 0 2px var(--secondary); }
.cta-band .btn-outline:hover { background: var(--secondary); color: var(--text); }

/* ---------- FAQ accordion ---------- */

.faq-section h2 { margin-bottom: 30px; }

.faq-item {
  background: var(--bg-soft);
  border-radius: 3px;
  margin-bottom: 14px;
}
.section-soft .faq-item { background: var(--bg); }

.faq-question {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 600;
}
.faq-question button {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 22px;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 44px;
}
.faq-question button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.faq-question button::after {
  content: "+";
  font-family: var(--body-font);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-question button::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 22px 20px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 44px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Home image strip */
.image-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.image-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.contact-details p { margin-bottom: 0.9em; }
.contact-details .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-form { background: var(--bg-soft); padding: 34px 28px; border-radius: 3px; }
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.contact-form .optional {
  font-weight: 400;
  color: var(--text-light);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #D9C8BA;
  border-radius: 2px;
  padding: 12px 14px;
  margin-bottom: 20px;
  min-height: 44px;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--primary);
  outline-offset: 1px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Terms / long text pages ---------- */

.legal-content { max-width: 780px; }
.legal-content h2 { margin-top: 2em; }
.legal-content h2:first-of-type { margin-top: 0; }

/* ---------- 404 ---------- */

.error-hero { padding: 100px 0; text-align: center; }
.error-code {
  font-family: var(--heading-font);
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}
.error-hero .btn-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--primary-dark);
  color: #F3E7DD;
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
}
.site-footer p { color: #E9D8CB; font-size: 0.95rem; }
.site-footer h3 {
  color: var(--secondary);
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: #F3E7DD; }
.site-footer a:hover { color: #fff; }

.footer-bottom { text-align: center; }
.footer-bottom p { margin-bottom: 8px; font-size: 0.85rem; color: #D9C2B2; }
.footer-credit { font-size: 0.78rem; }
.footer-credit a { color: #C9AC98; }

/* ---------- Responsive ---------- */

@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  .hero-copy h1 { font-size: 2.9rem; }
  .pull-quote { font-size: 2rem; }

  .hero-grid { grid-template-columns: 6fr 5fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split-rev .split-copy { order: 2; }
  .split-rev .split-media { order: 1; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .image-strip { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 5fr 6fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background: transparent;
    padding-bottom: 0;
  }
  .nav-menu a {
    padding: 22px 14px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .hero { padding: 88px 0 96px; }
  .section { padding: 92px 0; }
  .hero-grid { gap: 72px; }
  .split { gap: 64px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-menu a { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
