/* ============================================
   Caroline Stewart Makeup Artistry & Hair Styling
   ============================================ */

:root {
  --charcoal: #1c1714;
  --charcoal-soft: #26201c;
  --ivory: #faf5ef;
  --ivory-dim: #f1e9df;
  --gold: #b8935a;
  --gold-light: #d8b98a;
  --blush: #e8cfc7;
  --blush-dark: #6b4a42;
  --text-dark: #2b2420;
  --text-muted: #6a6058;
  --max-width: 1180px;
  --radius: 2px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.9em;
}

.section {
  padding: 90px 0;
}

.section--tight { padding: 60px 0; }

.section--dark {
  background: var(--charcoal);
  color: var(--ivory-dim);
}

.section--dark .eyebrow { color: var(--gold-light); }

.section--dim { background: var(--ivory-dim); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-head p { color: var(--text-muted); }

.divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto;
  position: relative;
}

.divider::after {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ivory);
  color: var(--gold);
  padding: 0 10px;
  font-size: 0.8rem;
}

.section--dark .divider::after,
.section--charcoal .divider::after { background: var(--charcoal); }

.section-head--left { text-align: left; margin: 0 0 40px; }
.section-head--left .divider { margin-left: 0; }
.section-head--left .divider::after { left: 32px; }

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

.btn {
  display: inline-block;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

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

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

.btn--solid:hover { background: var(--charcoal); border-color: var(--charcoal); }

.btn--light {
  border-color: var(--gold-light);
  color: var(--ivory);
}

.btn--light:hover { background: var(--gold-light); color: var(--charcoal); }

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

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(28, 23, 20, 0.92);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
}

.brand img { height: 46px; width: auto; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
}

.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ivory-dim);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); border-color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ivory);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 84px;
    left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,14,0.55) 0%, rgba(20,16,14,0.72) 55%, rgba(20,16,14,0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}

.hero-inner .eyebrow { color: var(--gold-light); }

.hero-inner h1 { color: var(--ivory); margin-bottom: 0.3em; }

.hero-inner .tagline {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 1.6em;
}

.hero-inner .lede {
  font-size: 1.08rem;
  color: var(--ivory-dim);
  max-width: 640px;
  margin: 0 auto 2em;
}

.hero .btn-row { justify-content: center; }

/* small inner page header banner */
.page-banner {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 190px 0 80px;
  text-align: center;
}

.page-banner h1 { color: var(--ivory); }
.page-banner p { color: var(--ivory-dim); max-width: 640px; margin: 0 auto; }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28,23,20,0.06);
  display: flex;
  flex-direction: column;
}

.service-card .img-wrap { aspect-ratio: 4/5; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover img { transform: scale(1.06); }

.service-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; flex: 1; }
.service-card .tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Bio ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

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

.bio-col .icon {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.bio-col h3 { margin-bottom: 0.6em; }
.bio-col p { color: var(--text-muted); font-size: 0.96rem; }
.bio-col ul { margin: 0 0 1em; padding-left: 1.1em; color: var(--text-muted); font-size: 0.96rem; }
.bio-col li { margin-bottom: 0.4em; }
.bio-col strong { color: var(--text-dark); }

.bio-intro {
  max-width: 780px;
  margin: 0 auto 10px;
  text-align: center;
  color: var(--text-muted);
}

/* ---------- Awards ---------- */

.awards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

@media (max-width: 980px) { .awards-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }

.award-badge {
  background: #fff;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(28,23,20,0.05);
  border: 1px solid rgba(184,147,90,0.18);
}

.award-badge .frame {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.award-badge img { max-height: 84px; width: auto; margin: 0 auto; }

.award-badge span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  line-height: 1.35;
}

.awards-strip {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scrollbar-width: thin;
}

.awards-strip img { height: 70px; width: auto; flex-shrink: 0; filter: grayscale(15%); }

/* ---------- Personal / Get to Know Me ---------- */

.personal-section {
  background: var(--blush);
  color: var(--blush-dark);
  position: relative;
}

.personal-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(107,74,66,0.18);
  padding: 46px;
  max-width: 880px;
  margin: 0 auto;
}

.personal-card .divider { background: var(--blush-dark); }
.personal-card .divider::after { background: var(--blush); color: var(--blush-dark); }

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
  justify-content: center;
}

.fact-pill {
  border: 1px solid var(--blush-dark);
  padding: 8px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 30px;
  background: rgba(255,255,255,0.4);
}

.personal-card p { font-size: 1rem; }

.heart-note {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(107,74,66,0.25);
  font-style: italic;
}

/* ---------- Testimonials ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,185,138,0.25);
  padding: 32px 28px;
}

.testi-card .quote-mark {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.testi-card p.quote { color: var(--ivory-dim); font-size: 0.98rem; }

.testi-card .stars { color: var(--gold-light); letter-spacing: 3px; margin-bottom: 10px; }
.testi-card .name { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-light); }

.testi-footer {
  text-align: center;
  margin-top: 40px;
  color: var(--ivory-dim);
  font-size: 0.9rem;
}

.testi-footer a { color: var(--gold-light); border-bottom: 1px solid var(--gold-light); }

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

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.gallery-tab {
  padding: 12px 26px;
  border: 1px solid var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--sans);
}

.gallery-tab.active,
.gallery-tab:hover { background: var(--gold); color: var(--ivory); }

.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }

.gallery-note {
  text-align: center;
  margin-top: 46px;
  color: var(--text-muted);
}

.gallery-note a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,16,14,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 30px;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

.lightbox-close {
  position: absolute;
  top: 26px; right: 34px;
  color: var(--ivory);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ---------- Pricing ---------- */

.price-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

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

.price-card {
  background: #fff;
  padding: 34px 32px;
  box-shadow: 0 8px 26px rgba(28,23,20,0.06);
}

.price-card h3 {
  color: var(--gold);
  border-bottom: 1px solid var(--ivory-dim);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.price-card .note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(107,90,74,0.25);
  font-size: 0.94rem;
}

.price-row:last-child { border-bottom: none; }
.price-row .amount { color: var(--gold); font-weight: 700; white-space: nowrap; font-family: var(--serif); font-size: 1.05rem; }

.price-important {
  background: var(--ivory-dim);
  padding: 30px 34px;
  margin-top: 50px;
}

.price-important ul { padding-left: 1.2em; color: var(--text-muted); }
.price-important li { margin-bottom: 8px; }

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

.faq-item {
  border-bottom: 1px solid var(--ivory-dim);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.6rem;
  margin-left: 20px;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item .faq-body {
  padding: 0 0 26px;
  color: var(--text-muted);
}

.faq-body p { margin: 0 0 1em; }
.faq-body strong { color: var(--text-dark); }

.terms-block h3 {
  margin-top: 1.6em;
  color: var(--gold);
  font-size: 1.15rem;
}

.terms-block p { color: var(--text-muted); font-size: 0.96rem; }

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

.cta-band {
  background: var(--charcoal);
  color: var(--ivory);
  text-align: center;
}

.cta-band h2 { color: var(--ivory); }
.cta-band p { color: var(--ivory-dim); max-width: 560px; margin: 0 auto 1.6em; }

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 30px 0 34px;
  font-size: 1rem;
}

.contact-details a { color: var(--gold-light); border-bottom: 1px solid transparent; }
.contact-details a:hover { border-color: var(--gold-light); }

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

.site-footer {
  background: #150f0d;
  color: var(--ivory-dim);
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

.footer-grid h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand span { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); }

.social-row { display: flex; gap: 14px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(216,185,138,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #8a8078;
}

/* ---------- utility ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
