/* ==========================================================================
   SANDRIQ BRAIDS HAIR STUDIO — site stylesheet
   A lean, modern replacement for the old bootstrap/revolution-slider bundle.
   Color mix kept from the original theme skin:
     lime accent    #abc502
     lime light     #b3ff66
     charcoal green #2d3630
   ========================================================================== */

:root {
  --lime: #abc502;
  --lime-light: #b3ff66;
  --charcoal: #2d3630;
  --charcoal-soft: #3c4740;
  --cream: #f8f7f1;
  --white: #ffffff;
  --ink: #1b201c;
  --ink-soft: #5c655e;
  --border: #e6e4da;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --radius: 2px;
  --shadow: 0 20px 40px -20px rgba(27, 32, 28, 0.25);
  --transition: 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  margin: 0 0 16px;
  color: var(--charcoal);
}
p { margin: 0 0 16px; color: var(--ink-soft); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 14px;
}

.section {
  padding: 100px 0;
}
.section-tight { padding: 70px 0; }
.section-title {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title h2 { font-size: clamp(28px, 4vw, 42px); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 { color: var(--white); }
.bg-charcoal p { color: rgba(255,255,255,0.72); }
.bg-cream { background: var(--cream); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--lime); color: var(--charcoal); }
.btn-primary:hover { background: var(--lime-light); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-outline-dark { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-sm { padding: 11px 22px; font-size: 11.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 22px 0;
  transition: all var(--transition);
  background: linear-gradient(to bottom, rgba(27,32,28,0.55), rgba(27,32,28,0));
}
.site-header.is-scrolled {
  background: var(--white);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.35);
  padding: 14px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img { height: 50px; width: auto; display: block; }
.brand .logo-dark { display: none; }
.site-header.is-scrolled .brand .logo-light { display: none; }
.site-header.is-scrolled .brand .logo-dark { display: block; }

.footer-grid .brand img { height: 46px; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 36px; }
.nav-close { display: none; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 6px;
  transition: color var(--transition);
}
.site-header.is-scrolled .main-nav a { color: var(--charcoal); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--lime); }
.site-header.is-scrolled .main-nav a.active { color: var(--lime); }

.nav-toggle {
  display: none;
  position: relative;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.site-header.is-scrolled .nav-toggle span { background: var(--charcoal); }
.nav-toggle.is-active span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(19,23,20,0.88) 10%, rgba(19,23,20,0.55) 55%, rgba(171,197,2,0.28) 100%);
}
.hero-content { position: relative; max-width: 680px; }
@media (min-width: 992px) {
  .hero-content { padding-top: 64px; }
}
.hero-content .eyebrow { color: var(--lime-light); word-spacing: 6px; }
.hero-content .eyebrow::before { background: var(--lime-light); }
.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 68px);
  margin-bottom: 22px;
}
.hero h1 em { color: var(--lime-light); font-style: normal; }
.hero p { color: rgba(255,255,255,0.82); font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  padding: 200px 0 90px;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(19,23,20,0.78);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 54px); margin-bottom: 12px; }
.page-hero .crumb { color: var(--lime-light); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- Marquee strip ---------- */
.marquee-strip {
  background: var(--charcoal);
  color: var(--lime-light);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-strip .track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 28s linear infinite;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.marquee-strip .track span { color: rgba(255,255,255,0.4); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Feature / About grid ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; height: 520px; object-fit: cover; }
.split-media .frame {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 55%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}
.split-media .frame img { height: 220px; }
.stat-badge {
  position: absolute;
  top: 24px; right: -24px;
  background: var(--lime);
  color: var(--charcoal);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-badge strong { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; }
.stat-badge span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

.video-card {
  max-width: 420px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  border: 10px solid var(--white);
  box-shadow: var(--shadow);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }

.checklist { margin: 22px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 500;
}
.checklist i { color: var(--lime); margin-top: 4px; }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--lime);
}
.stat-item span {
  display: block;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}

/* ---------- Cards: services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
}
.service-card:hover {
  border-color: var(--charcoal);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--lime);
  letter-spacing: 2px;
  margin-bottom: 18px;
  display: block;
}
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card .price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.service-card .price strong {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--charcoal);
}
.service-card .price span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }

.service-photo {
  overflow: hidden;
  position: relative;
}
.service-photo img { height: 260px; object-fit: cover; transition: transform 0.6s ease; width: 100%; }
.service-photo:hover img { transform: scale(1.08); }

/* ---------- Gallery ---------- */
.gallery-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.gallery-filter button {
  background: none;
  border: 1px solid var(--border);
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-filter button:hover,
.gallery-filter button.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal);
}
.gallery-item img {
  width: 100%; height: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.1); opacity: 0.85; }
.gallery-item .tag {
  position: absolute;
  left: 14px; bottom: 14px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,23,20,0.75), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(19,23,20,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; box-shadow: var(--shadow); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--lime); border-color: var(--lime); color: var(--charcoal); }
.lightbox-close { top: 28px; right: 28px; }
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .photo {
  width: 100%; aspect-ratio: 3/3.4;
  object-fit: cover;
  margin-bottom: 20px;
}
.team-card h4 { margin-bottom: 4px; }
.team-card span { color: var(--lime); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
}
.testimonial-card .stars { color: var(--lime); margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-card p { font-style: italic; color: var(--ink); }
.testimonial-card .who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.testimonial-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-card .who strong { display: block; font-size: 14px; }
.testimonial-card .who span { font-size: 12px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--lime);
  color: var(--charcoal);
  padding: 38px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: rgba(27,32,28,0.75); margin: 6px 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h5 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-grid .brand { display: block; margin-bottom: 16px; }
.footer-grid p { color: rgba(255,255,255,0.6); }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul a { color: rgba(255,255,255,0.65); transition: color var(--transition); font-size: 14.5px; }
.footer-grid ul a:hover { color: var(--lime-light); }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-row a:hover { background: var(--lime); border-color: var(--lime); color: var(--charcoal); }
.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--lime-light); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(340px, 82vw);
    background: var(--charcoal); flex-direction: column; align-items: flex-start;
    padding: 110px 36px 40px; transition: right var(--transition); z-index: 998; }
  .main-nav.is-open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .main-nav a { color: var(--white); }
  .nav-toggle { display: flex; }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition);
  }
  .nav-close:hover { background: var(--lime); border-color: var(--lime); color: var(--charcoal); }

  /* image sections stack to a single column once the split layout collapses */
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split-media .frame { display: none; }
  .stat-badge {
    position: static;
    display: inline-block;
    margin-top: -30px;
    margin-left: auto;
    margin-right: 24px;
  }
  .split-media { display: flex; flex-direction: column; align-items: flex-end; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid-3, .grid-2, .grid-4, .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .split-media img { height: 340px; }
  .gallery-item img { aspect-ratio: 4 / 3; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .brand img { height: 42px; }
  .site-header { padding: 16px 0; }
}
@media (max-width: 420px) {
  .stat-badge { padding: 16px 18px; }
  .stat-badge strong { font-size: 26px; }
}
