/* ==========================================================
   B's Any Occasion Decor — global stylesheet
   Direction: Balloonista (white space, trust bar, restraint)
            + Atlanta Balloon Designer (dark hero, gold serif)
   One accent: Ruby. Gold = small details only.
   ========================================================== */

:root {
  --onyx: #0E0B0C;
  --onyx-soft: #1A1517;
  --ivory: #FAF7F2;
  --ivory-deep: #F2ECE3;
  --ruby: #B3122E;
  --ruby-dark: #8E0E24;
  --gold: #C9A45C;
  --charcoal: #2B2628;
  --muted: #6B6365;
  --line: #E4DCD1;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 4px;
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ruby); color: var(--ivory);
  padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

p { margin: 0 0 1.25rem; max-width: 62ch; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 54ch;
}

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

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-ruby { background: var(--ruby); color: var(--ivory); }
.btn-ruby:hover { background: var(--ruby-dark); }
.btn-ghost { border-color: rgba(250, 247, 242, .55); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { border-color: var(--ruby); color: var(--ruby); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.text-link {
  color: var(--ruby);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link:hover { color: var(--ruby-dark); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid {
  background: var(--onyx);
  box-shadow: 0 1px 0 rgba(201, 164, 92, .25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
}
.brand-logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 50%;
}
.brand-wordmark { height: 42px; width: auto; }

@media (max-width: 480px) {
  .brand { gap: .6rem; }
  .brand-logo { height: 50px; width: 50px; }
  .brand-wordmark { height: 32px; }
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin: 0; padding: 0;
}
.main-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.main-nav .btn { padding: .7rem 1.3rem; border-bottom: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(250, 247, 242, .5);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  font: 600 .9rem var(--body);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    background: var(--onyx);
    padding: 1.5rem var(--gutter) 2rem;
    display: none;
    border-top: 1px solid rgba(201, 164, 92, .25);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .main-nav a { font-size: 1.15rem; }
}

/* ---------- Home hero (video) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--onyx);
  color: var(--ivory);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 11, 12, .55) 0%, rgba(14, 11, 12, .15) 35%, rgba(14, 11, 12, .85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.hero h1 {
  color: var(--gold);
  max-width: 13ch;
  margin-bottom: 1.5rem;
}
.hero p {
  color: rgba(250, 247, 242, .88);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 48ch;
  margin-bottom: 2.25rem;
}

/* ---------- Page banners (inner pages) ---------- */

.banner {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: var(--onyx);
  overflow: hidden;
}
.banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 11, 12, .6) 0%, rgba(14, 11, 12, .35) 45%, rgba(14, 11, 12, .88) 100%);
}
.banner .wrap { position: relative; z-index: 1; padding-bottom: 3.5rem; padding-top: 8rem; }
.banner h1 { color: var(--gold); font-size: clamp(2.4rem, 5.5vw, 4.25rem); margin-bottom: .75rem; }
.banner p { color: rgba(250, 247, 242, .88); margin: 0; }

/* ---------- Trust bar ---------- */

.trust {
  background: var(--onyx);
  color: var(--ivory);
  border-top: 1px solid rgba(201, 164, 92, .3);
}
.trust ul {
  list-style: none;
  margin: 0; padding: 1.6rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2.5rem;
}
.trust li { display: flex; align-items: baseline; gap: .6rem; font-size: .95rem; color: rgba(250, 247, 242, .8); }
.trust strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--gold); }

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

.section { padding: var(--section) 0; }
.section-light { background: var(--ivory); }
.section-tint { background: var(--ivory-deep); }
.section-dark { background: var(--onyx); color: var(--ivory); }
.section-dark .lede { color: rgba(250, 247, 242, .72); }
.section-dark h2 { color: var(--ivory); }

.section-head { margin-bottom: 3rem; }
.section-head.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section-head .lede { margin-bottom: 0; }

.rule-gold {
  width: 56px; height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.75rem;
}

/* ---------- Service preview (home) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.service-card { text-decoration: none; color: inherit; }
.service-card figure { margin: 0 0 1.25rem; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.03); }
.service-card h3 { margin-bottom: .4rem; }
.service-card p { color: var(--muted); font-size: .98rem; margin: 0; }

@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card figure { aspect-ratio: 4 / 3; }
}

/* ---------- About (founder) ---------- */

.about {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.about figure { margin: 0; }
.about img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.about figcaption { font-size: .88rem; color: var(--muted); margin-top: .75rem; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- Featured work strip (home, dark) ---------- */

.featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}
.featured a { display: block; overflow: hidden; background: var(--onyx-soft); }
.featured img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.featured a:first-child img { aspect-ratio: auto; }
.featured a:hover img { transform: scale(1.03); }

@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr 1fr; }
  .featured a:first-child { grid-column: 1 / -1; }
  .featured a:first-child img { aspect-ratio: 4 / 3; }
}

/* ---------- Booking steps ---------- */

.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ruby);
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--onyx); color: var(--ivory); text-align: center; }
.cta-band h2 { color: var(--ivory); max-width: 18ch; margin: 0 auto 1rem; }
.cta-band p { margin: 0 auto 2.25rem; color: rgba(250, 247, 242, .75); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Services page rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.service-row + .service-row { margin-top: var(--section); }
.service-row.flip figure { order: 2; }
.service-row figure { margin: 0; overflow: hidden; }
.service-row img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.service-row ul { padding-left: 1.1rem; margin: 0 0 1.75rem; color: var(--muted); }
.service-row li { margin-bottom: .35rem; }
.service-row li::marker { color: var(--gold); }

@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row.flip figure { order: 0; }
}

/* Service row on a dark section (home weddings feature) */
.section-dark .service-row ul { color: rgba(250, 247, 242, .72); }

.occasions {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.occasions li {
  border: 1px solid rgba(201, 164, 92, .5);
  color: var(--ivory);
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-size: .95rem;
}

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

.gallery-grid {
  columns: 3 280px;
  column-gap: 1rem;
}
.gallery-grid button {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: var(--line);
  cursor: zoom-in;
  break-inside: avoid;
  overflow: hidden;
}
.gallery-grid img { width: 100%; height: auto; transition: transform .6s ease; }
.gallery-grid button:hover img { transform: scale(1.02); }

.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(14, 11, 12, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; }
.lightbox button {
  position: absolute;
  background: none;
  border: 1px solid rgba(250, 247, 242, .45);
  color: var(--ivory);
  border-radius: var(--radius);
  font: 600 .9rem var(--body);
  padding: .6rem 1rem;
  cursor: pointer;
}
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

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

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--ruby); box-shadow: 0 0 0 3px rgba(179, 18, 46, .12); }

.form-note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.form-status { font-weight: 600; color: var(--ruby); margin-top: 1rem; min-height: 1.5em; }

.contact-card {
  background: var(--onyx);
  color: var(--ivory);
  padding: 2.25rem;
  border-radius: var(--radius);
}
.contact-card h2 { font-size: 1.75rem; color: var(--ivory); }
.contact-card p { color: rgba(250, 247, 242, .78); font-size: .98rem; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-list li + li { margin-top: 1rem; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--ivory);
}
.contact-list a:hover { color: var(--gold); }

/* ---------- Icons (inline SVG, colored by the section) ---------- */

.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* On dark backgrounds: ivory, gold on hover */
.on-dark .contact-list a { color: var(--ivory); transition: color .2s ease; }
.on-dark .contact-list a:hover { color: var(--gold); }

/* On light backgrounds: charcoal, ruby on hover */
.on-light .contact-list a { color: var(--charcoal); transition: color .2s ease; }
.on-light .contact-list a:hover { color: var(--ruby); }

/* Footer version sits tighter */
.site-footer .contact-list { margin-top: 0; }
.site-footer .contact-list li + li { margin-top: .85rem; }

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

.site-footer {
  background: var(--onyx);
  color: rgba(250, 247, 242, .75);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(201, 164, 92, .25);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid img.footer-logo { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-grid h3 { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--ivory); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: .6rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-base {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 242, .12);
  font-size: .85rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
