/* LUNE — High-End Hair Atelier
   Soft Dark Luxury Aesthetic */

:root {
  --bg: #0e0d0c;
  --bg-elevated: #161513;
  --bg-card: #1c1a18;
  --border: rgba(240, 230, 218, 0.07);
  --text: #f4efe8;
  --text-muted: #a39a8e;
  --text-soft: #716a60;
  --rose: #c9a99a;
  --rose-soft: #d9bdb0;
  --gold: #c4a87a;
  --cream: #ebe3d6;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.container-narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.35rem 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(14, 13, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.95rem 0;
  border-bottom-color: var(--border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
}

.main-nav {
  display: flex;
  gap: 2.3rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.2rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width 0.4s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.68rem 1.35rem;
  border: 1px solid rgba(201, 169, 154, 0.45);
  color: var(--rose);
  transition: var(--transition);
}

.header-cta:hover {
  background: var(--rose);
  color: var(--bg);
  border-color: var(--rose);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,13,12,0.3) 0%, rgba(14,13,12,0.5) 45%, rgba(14,13,12,0.9) 100%),
    url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1920&q=80') center/cover no-repeat;
  transform: scale(1.03);
  transition: transform 9s ease;
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 780px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  letter-spacing: 0.07em;
  margin-bottom: 1.15rem;
  font-weight: 300;
  color: var(--text);
}

.hero-content p {
  font-size: 0.98rem;
  color: var(--cream);
  margin-bottom: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--rose);
  color: var(--bg);
  border-color: var(--rose);
}

.btn-primary:hover {
  background: var(--rose-soft);
  border-color: var(--rose-soft);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(244, 239, 232, 0.3);
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(244, 239, 232, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--rose);
  border-color: rgba(201, 169, 154, 0.4);
}

.btn-ghost:hover {
  background: var(--rose);
  color: var(--bg);
}

/* ========== SECTIONS ========== */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.93rem;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  border-color: rgba(201, 169, 154, 0.28);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.service-card .price {
  font-size: 0.95rem;
  color: var(--rose);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== FEATURED / ATMOSPHERE ========== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.featured-card {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,13,12,0.8) 0%, transparent 55%);
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 2;
}

.featured-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.featured-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== STYLISTS ========== */
.stylists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stylist-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.stylist-card:hover {
  border-color: rgba(201, 169, 154, 0.25);
}

.stylist-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card);
}

.stylist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.stylist-card:hover .stylist-image img {
  transform: scale(1.04);
}

.stylist-info {
  padding: 1.4rem 1.3rem 1.6rem;
  text-align: center;
}

.stylist-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.stylist-info .role {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.6rem;
}

.stylist-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== ABOUT SPLIT ========== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-card);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 1.35rem;
  letter-spacing: 0.04em;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ========== LOCATION ========== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.location-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
}

.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--cream);
}

/* ========== BOOKING FORM ========== */
.book-section {
  background: var(--bg-elevated);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.9rem 1.05rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201, 169, 154, 0.45);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg);
  padding: 4rem 0 1.75rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 250px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.footer-col a:hover {
  color: var(--rose);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--text-soft);
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 9.5rem 0 3.75rem;
  text-align: center;
  background: var(--bg-elevated);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--rose);
}

/* ========== MOBILE NAV ========== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 330px;
  height: 100vh;
  background: var(--bg-elevated);
  z-index: 1500;
  padding: 5.25rem 2rem 2rem;
  transition: right 0.5s var(--ease);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-size: 1.15rem;
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .services-grid,
  .stylists-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-cta {
    display: none;
  }
  
  .about-split,
  .location-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .services-grid,
  .stylists-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
  }
  
  section {
    padding: 4.25rem 0;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 270px;
  }
}
