/* ============================================
   ASHAKKI HAIR — Eclectic & Cool
   ============================================ */

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2a2a2a;
  --charcoal-mid: #333;
  --gold: #c9a96e;
  --gold-light: #dfc090;
  --cream: #f5f0e8;
  --cream-dark: #e8e0d0;
  --white: #fafaf8;
  --text: #1a1a1a;
  --text-light: #6b6b6b;
  --text-on-dark: #e8e0d0;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-display: 'Playfair Display', serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

/* ============================================
   AUDIO OVERLAY
   ============================================ */
.audio-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.audio-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.audio-overlay-inner {
  text-align: center;
  color: var(--cream);
}

.audio-overlay-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

.audio-overlay-inner p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ============================================
   MUSIC TOGGLE
   ============================================ */
.music-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--charcoal);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

.music-toggle.visible {
  opacity: 1;
  transform: translateY(0);
}

.music-toggle:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.music-icon {
  font-size: 1.2rem;
  display: none;
}

.music-toggle.paused .music-icon { display: block; }
.music-toggle.paused .music-bars { display: none; }
.music-toggle:not(.paused) .music-icon { display: none; }
.music-toggle:not(.paused) .music-bars { display: flex; }

.music-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 16px;
}

.music-bars span {
  width: 3px;
  background: currentColor;
  border-radius: 1px;
  animation: bars 0.8s ease-in-out infinite alternate;
}

.music-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 12px; animation-delay: 0.2s; }
.music-bars span:nth-child(3) { height: 8px; animation-delay: 0.4s; }

@keyframes bars {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 1; }

.btn-nav {
  padding: 0.6rem 1.5rem !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  opacity: 1 !important;
  transition: all 0.3s var(--ease) !important;
}

.btn-nav:hover {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

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

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(201, 169, 110, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.4) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--cream);
  letter-spacing: -0.02em;
}

.hero-title-italic {
  font-style: italic;
  color: var(--gold);
  font-size: clamp(3rem, 9vw, 7.5rem);
  margin-top: -0.2em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--cream);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.hero-meaning {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ctas .btn-ghost {
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.3);
}

.hero-ctas .btn-ghost:hover {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  opacity: 0.4;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--cream);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION LABELS & HEADINGS
   ============================================ */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ============================================
   STORY
   ============================================ */
.story {
  padding: 8rem 0;
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.story-left .section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  position: sticky;
  top: 8rem;
}

.story-right p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

.story-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem !important;
  color: var(--text) !important;
  line-height: 1.7 !important;
}

/* ============================================
   TEAM
   ============================================ */
.team {
  padding: 8rem 0;
  background: var(--charcoal);
  color: var(--cream);
}

.team .section-label { text-align: center; display: block; }
.team .section-heading { text-align: center; }

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4rem;
}

.team-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.team-card-reverse {
  direction: rtl;
}

.team-card-reverse > * {
  direction: ltr;
}

.team-photo {
  aspect-ratio: 3/4;
  background: var(--charcoal-light);
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-photo-placeholder {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.team-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.team-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 8rem 0;
  background: var(--cream);
}

.services .section-label { text-align: center; display: block; }
.services .section-heading { text-align: center; }
.services .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

.services-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 6rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  white-space: nowrap;
}

.service-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(26, 26, 26, 0.3);
  min-width: 20px;
  margin-bottom: 4px;
}

.service-price {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}

/* ============================================
   KEUNE
   ============================================ */
.keune {
  padding: 8rem 0;
  background: var(--white);
}

.keune-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.keune-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.keune-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.keune-text .btn-ghost {
  margin-top: 1rem;
}

.keune-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--charcoal);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.keune-logo-large {
  font-family: var(--font-display);
  font-size: 10rem;
  color: var(--gold);
  opacity: 0.15;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 8rem 0;
  background: var(--charcoal);
  color: var(--cream);
}

.gallery .section-label, .gallery .section-heading {
  text-align: center;
  display: block;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  background: var(--charcoal-light);
  border: 1px solid rgba(201, 169, 110, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover { transform: scale(1.02); }

.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

.gallery-placeholder {
  font-size: 2rem;
  opacity: 0.2;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  padding: 8rem 0;
  background: var(--cream);
}

.reviews .section-label, .reviews .section-heading {
  text-align: center;
  display: block;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid rgba(26, 26, 26, 0.06);
  position: relative;
}

.review-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.review-card p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-light);
  margin-top: 1.5rem;
}

.review-stars {
  color: var(--gold);
  margin-top: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

/* ============================================
   BOOKING
   ============================================ */
.booking {
  padding: 8rem 0;
  background: var(--charcoal);
  color: var(--cream);
}

.booking-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.booking-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
}

.booking-inner p {
  font-size: 1.05rem;
  color: var(--text-on-dark);
  opacity: 0.7;
  margin-bottom: 2rem;
}

.booking-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.booking-ctas .btn-ghost {
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.3);
}

.booking-ctas .btn-ghost:hover {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 8rem 0;
  background: var(--white);
}

.contact .section-label, .contact .section-heading {
  text-align: center;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-block {
  margin-bottom: 2rem;
}

.contact-block h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-block p {
  color: var(--text-light);
  line-height: 1.7;
}

.contact-block a {
  color: var(--text);
  transition: color 0.3s;
}

.contact-block a:hover { color: var(--gold); }

.hours-row {
  display: flex;
  justify-content: space-between;
  max-width: 250px;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.map-container {
  aspect-ratio: 16/10;
  background: var(--cream);
  border: 1px solid rgba(26, 26, 26, 0.06);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 3rem 0;
  background: var(--charcoal);
  color: var(--cream);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 1; }

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.3;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open a {
    font-size: 1.2rem;
    opacity: 1;
  }

  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-left .section-heading { position: static; }

  .team-card,
  .team-card-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .services-editorial {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .keune-grid { grid-template-columns: 1fr; }
  .keune-visual { max-width: 300px; margin: 0 auto; }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .reviews-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { padding: 0.8rem 2rem; }
  .booking-ctas { flex-direction: column; align-items: center; }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .gallery-item-tall { grid-row: span 1; }
  .gallery-item-wide { grid-column: span 1; }
}
