/* ==========================================================================
   Jazminee Events - Brand Stylesheet
   Per brand guidelines v1.0
   ========================================================================== */

:root {
  --plum: #8C1A87;
  --plum-deep: #5E0F5A;
  --gold: #C49A35;
  --gold-warm: #E2C26A;
  --ivory: #FAF6EE;
  --charcoal: #2C1F2B;
  --grey: #9D8F9C;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--plum); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }

/* ─── Typography ────────────────────────────────────────────────────── */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

p { margin: 0 0 1rem; max-width: 65ch; }
.lead { font-size: 1.1rem; color: var(--charcoal); }

.muted { color: var(--grey); }

/* ─── Layout ────────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(3rem, 8vw, 6rem) 0; }

.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  margin: 3rem auto;
  max-width: 200px;
}

/* ─── Buttons ───────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: .95rem 2.2rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--charcoal);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: transparent; color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--charcoal); }

.btn-plum {
  background: var(--plum);
  color: var(--ivory);
  border-color: var(--plum);
}
.btn-plum:hover { background: var(--plum-deep); color: var(--ivory); border-color: var(--plum-deep); }

/* ─── Navigation ────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--plum);
  border-bottom: 1px solid rgba(196,154,53,.25);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}
.nav-brand img { width: 38px; height: 38px; object-fit: contain; }
.nav-brand-text {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .85;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold-warm); }

.nav-cta {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .55rem 1.15rem;
  background: var(--gold);
  color: var(--charcoal);
  border: 1px solid var(--gold);
  font-weight: 500;
}
.nav-cta:hover { background: transparent; color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--plum-deep);
    padding: 1rem var(--gutter);
    gap: 1rem;
  }
  .nav.open .nav-cta { display: inline-block; margin-top: .5rem; }
}

/* ─── Hero ──────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--ivory);
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(196,154,53,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(226,194,106,.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { color: var(--ivory); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold-warm); font-style: italic; }
.hero p { color: rgba(250,246,238,.85); max-width: 38rem; margin: 0 auto 2rem; }
.hero .tagline {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero .hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Page Header (non-home pages) ──────────────────────────────────── */

.page-head {
  background: var(--plum);
  color: var(--ivory);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}
.page-head h1 { color: var(--ivory); margin-bottom: .75rem; }
.page-head p { color: rgba(250,246,238,.8); margin: 0 auto; max-width: 40rem; }
.page-head .eyebrow { color: var(--gold-warm); }

/* ─── Sections / Cards ──────────────────────────────────────────────── */

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow { display: block; }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid rgba(140,26,135,.08);
  padding: 2rem 1.75rem;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card h3 { color: var(--plum); margin-bottom: .5rem; }
.card .price { color: var(--gold); font-family: var(--serif); font-size: 1.1rem; margin-top: 1rem; }
.card ul { list-style: none; margin: 1rem 0; }
.card ul li {
  padding: .35rem 0;
  font-size: .92rem;
  color: var(--charcoal);
  border-bottom: 1px dotted rgba(140,26,135,.12);
}
.card ul li::before { content: '✦ '; color: var(--gold); margin-right: .35rem; }

/* alternating background sections */
.bg-plum { background: var(--plum); color: var(--ivory); }
.bg-plum h2, .bg-plum h3 { color: var(--ivory); }
.bg-plum .eyebrow { color: var(--gold-warm); }
.bg-plum p { color: rgba(250,246,238,.85); }

.bg-cream { background: #fff; }

/* ─── Two-column intro ──────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } }

.split img, .split .image-block {
  background: var(--plum-deep);
  aspect-ratio: 4/5;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 5rem;
}

/* ─── Steps / How it works ──────────────────────────────────────────── */

.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(196,154,53,.25);
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.step h3 { color: var(--plum); margin-bottom: .35rem; }

/* ─── Testimonials ──────────────────────────────────────────────────── */

.quote {
  background: #fff;
  padding: 2.5rem 2rem;
  border-left: 3px solid var(--gold);
  position: relative;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.quote cite {
  font-style: normal;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--plum);
}

/* ─── Portfolio ─────────────────────────────────────────────────────── */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.tile {
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--plum-deep);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--ivory);
  border: 1px solid rgba(196,154,53,.3);
  overflow: hidden;
  transition: transform .35s ease;
}
.tile:hover { transform: scale(1.02); }
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,8,24,.85) 0%, rgba(24,8,24,.25) 50%, rgba(24,8,24,.05) 100%);
}
.tile > div { position: relative; z-index: 1; }
.tile h3 { color: var(--gold-warm); font-size: 1.25rem; margin-bottom: .25rem; }
.tile span { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(250,246,238,.85); }

/* ─── Forms ─────────────────────────────────────────────────────────── */

.form {
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(140,26,135,.12);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: .5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  color: var(--charcoal);
  padding: .8rem 1rem;
  border: 1px solid rgba(140,26,135,.2);
  background: var(--ivory);
  outline: none;
  transition: border-color .25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.required { color: var(--gold); }

/* ─── Cal.com embed ─────────────────────────────────────────────────── */

.cal-embed {
  background: #fff;
  border: 1px solid rgba(196,154,53,.3);
  padding: 1rem;
}
.cal-embed iframe { width: 100%; min-height: 700px; border: 0; display: block; }
.cal-placeholder {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--grey);
  font-size: .92rem;
  border: 1px dashed rgba(140,26,135,.25);
}

/* ─── Footer ────────────────────────────────────────────────────────── */

.footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer p, .footer a, .footer li { color: rgba(250,246,238,.7); font-size: .9rem; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; }
.footer ul li { padding: .25rem 0; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 1.25rem var(--gutter) 0;
  border-top: 1px solid rgba(196,154,53,.2);
  text-align: center;
  font-size: .72rem;
  letter-spacing: .15em;
  color: rgba(250,246,238,.4);
  text-transform: uppercase;
}
