/* ============================================
   ROYAL BLOOM EVENTS LA — Stylesheet
   ============================================ */

:root {
  --ivory: #fbf7f2;
  --blush: #f6e1de;
  --blush-deep: #eeccc6;
  --gold: #b8935b;
  --gold-deep: #9c7840;
  --wine: #7a3b3b;
  --wine-deep: #632e2e;
  --ink: #3a2e2e;
  --taupe: #8a7a72;
  --line: rgba(58, 46, 46, 0.14);
  --line-on-blush: rgba(122, 59, 59, 0.18);

  --display: 'Bodoni Moda', serif;
  --body: 'Jost', sans-serif;

  --max: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: var(--wine);
}

p { margin: 0; }

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.6px;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--wine); color: var(--ivory); }
.btn-primary:hover { background: var(--wine-deep); }

.btn-outline { background: transparent; color: var(--wine); border-color: var(--gold); }
.btn-outline:hover { background: var(--blush); }

.btn-gold { background: var(--gold); color: var(--ivory); }
.btn-gold:hover { background: var(--gold-deep); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--wine);
  letter-spacing: 0.3px;
}

.logo em { font-style: italic; color: var(--gold-deep); }

.nav-links {
  display: flex;
  gap: 2.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

.nav-links a { position: relative; padding: 0.3rem 0; color: var(--ink); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--wine); }

.nav-cta { display: flex; align-items: center; gap: 1.5rem; }
.nav-phone { font-weight: 500; font-size: 0.9rem; color: var(--ink); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span { display: block; height: 1.5px; width: 100%; background: var(--wine); transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: clamp(2.6rem, 7vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; position: relative; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  color: var(--gold-deep);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  font-style: normal;
}

.hero h1 em { font-style: italic; color: var(--gold-deep); }

.hero-sub {
  max-width: 46ch;
  margin-top: 1.6rem;
  color: var(--taupe);
  font-size: 1.12rem;
}

.hero-actions { display: flex; gap: 1rem; margin-top: 2.3rem; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  border: 1px solid var(--gold);
  padding: 10px;
}

.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }

.botanical {
  position: absolute;
  top: -30px;
  left: -40px;
  width: 140px;
  opacity: 0.8;
  pointer-events: none;
}

/* ---------- Services list (typographic, gold rules) ---------- */

.services-list { border-top: 1px solid var(--line); }

.service-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.service-item h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.service-item p { color: var(--taupe); max-width: 52ch; font-size: 1.02rem; }

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

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-blush { background: var(--blush); }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head .eyebrow { color: var(--gold-deep); font-weight: 500; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 0.9rem; display: block; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.section-head p { margin-top: 1.1rem; color: var(--taupe); font-size: 1.05rem; }

/* ---------- Gallery (asymmetric collage) ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 0.9rem;
}

.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery .g1 { grid-column: span 3; grid-row: span 3; }
.gallery .g2 { grid-column: span 3; grid-row: span 2; }
.gallery .g3 { grid-column: span 3; grid-row: span 2; }
.gallery .g4 { grid-column: span 2; grid-row: span 2; }
.gallery .g5 { grid-column: span 2; grid-row: span 2; }
.gallery .g6 { grid-column: span 2; grid-row: span 2; }

/* ---------- Timeline process ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  padding-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.55rem;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--gold);
}

.timeline-step { position: relative; padding-top: 1.6rem; }

.timeline-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ivory);
}

.section-blush .timeline-step::before { border-color: var(--blush); }

.timeline-step h4 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.timeline-step p { color: var(--taupe); font-size: 0.95rem; }

/* ---------- Testimonials (centered pull quotes) ---------- */

.testi-center {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testi-center + .testi-center { margin-top: 3.2rem; padding-top: 3.2rem; border-top: 1px solid var(--line-on-blush); }

.testi-center .quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  color: var(--wine);
}

.testi-center .who { margin-top: 1.3rem; color: var(--taupe); font-size: 0.92rem; letter-spacing: 0.3px; }

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

.cta-band { background: var(--wine); color: var(--ivory); padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--ivory); font-size: clamp(2rem, 5vw, 2.8rem); max-width: 18ch; }

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

.site-footer { background: var(--blush-deep); padding: 3.2rem 0 2rem; font-size: 0.92rem; color: var(--ink); }

.footer-top { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-on-blush); }
.footer-brand .logo { margin-bottom: 0.9rem; display: block; }
.footer-brand p { max-width: 32ch; color: var(--ink); opacity: 0.8; }

.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--body); color: var(--wine); font-weight: 600; margin-bottom: 0.9rem; font-size: 0.88rem; letter-spacing: 0.4px; text-transform: uppercase; }
.footer-col a, .footer-col p { display: block; color: var(--ink); opacity: 0.85; padding: 0.28rem 0; }
.footer-col a:hover { color: var(--wine); opacity: 1; }

.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; opacity: 0.75; font-size: 0.85rem; }

/* ---------- Page intro ---------- */

.page-hero { padding: clamp(2.8rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero .hero-eyebrow { margin-bottom: 1.1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); max-width: 20ch; }
.page-hero p { margin-top: 1.4rem; color: var(--taupe); max-width: 58ch; font-size: 1.05rem; }

/* ---------- Service detail rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.8rem, 5vw, 4.2rem) 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-photo { border: 1px solid var(--gold); padding: 8px; }
.service-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.service-copy .tag { color: var(--gold-deep); font-weight: 500; font-size: 0.85rem; letter-spacing: 1.2px; text-transform: uppercase; display: block; margin-bottom: 0.9rem; }
.service-copy h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 1.1rem; }
.service-copy p { color: var(--taupe); max-width: 48ch; }

.service-copy .deliverables { margin: 1.6rem 0 0; padding: 0; list-style: none; font-size: 0.96rem; }
.service-copy .deliverables li { padding: 0.55rem 0; border-top: 1px solid var(--line); color: var(--ink); }
.service-copy .deliverables li:first-child { border-top: none; }

/* ---------- About page ---------- */

.about-lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 34ch;
  color: var(--wine);
}

.split-photo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.values-list { border-top: 1px solid var(--line); }
.value-row { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.value-row h4 { font-size: 1.3rem; color: var(--wine); }
.value-row p { color: var(--taupe); max-width: 50ch; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.team-initial {
  aspect-ratio: 4/5;
  margin-bottom: 1rem;
  border: 1px solid var(--gold);
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-initial span {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold-deep);
}
.team-card .name { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--wine); }
.team-card .role { font-size: 0.88rem; color: var(--taupe); margin-top: 0.2rem; }

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

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); }

.contact-info .info-line { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.contact-info .info-line:first-child { border-top: none; }
.contact-info .info-line span { display: block; color: var(--taupe); font-size: 0.82rem; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 0.4rem; }
.contact-info .info-line a, .contact-info .info-line p { font-family: var(--display); font-size: 1.35rem; color: var(--wine); }
.contact-info .info-line a:hover { color: var(--gold-deep); }

.contact-form { background: var(--blush); padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: 2px; }

.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.85rem; color: var(--ink); margin-bottom: 0.5rem; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--ivory);
  border: 1.5px solid rgba(122,59,59,0.22);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 2px;
}

.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form .btn-primary { width: 100%; justify-content: center; margin-top: 0.4rem; }

.map-note { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--taupe); font-size: 0.95rem; }

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

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .botanical { display: none; }
  .service-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4, .gallery .g5, .gallery .g6 { grid-column: span 1; grid-row: span 1; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .timeline::before { display: none; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-photo { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav-links, .nav-cta .nav-phone { display: none; }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    height: 100dvh;
    width: 100%;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--gutter);
    gap: 1.8rem;
    font-family: var(--display);
    font-size: 2.1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
  }

  .nav-links.is-open { display: flex; transform: translateX(0); }
  .nav-cta .btn-primary { display: none; }
  .footer-top { flex-direction: column; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
