/* ═══════════════════════════════════════════════
   Hair Salon — Trendy / Fashion-Forward
   Felica-inspired layout, warm cream + coral palette
   DM Sans · Cream bg · Coral accents
   ═══════════════════════════════════════════════ */

:root {
  --white: #ffffff;
  --cream: #f7f4ef;
  --cream-dark: #efe9df;
  --bg: #f7f4ef;
  --text: #1a1a1a;
  --text-muted: #5c564e;
  --coral: #ff6757;
  --coral-hover: #e8553f;
  --coral-light: #fff0ee;
  --accent: #ff6757;
  --border: #e6e0d5;
  --radius: 8px;
  --shadow: 0 1px 4px rgba(0,0,0,0.06);
  --transition: 0.2s ease;
  --primary: #ff6757;
  --color-white: #ffffff;
}

html {
  scroll-padding-top: 72px;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
}

body.nav-open {
  overflow: hidden;
}

/* ── Buttons ── */
.btn-book {
  display: inline-block;
  padding: 10px 28px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-book:hover {
  background: var(--coral-hover);
}

.header .btn-book {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.header .btn-book:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.header--scrolled .btn-book {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

.header--scrolled .btn-book:hover {
  background: var(--coral-hover);
  border-color: var(--coral-hover);
}

.btn-book--lg {
  padding: 14px 36px;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════
   HEADER — minimal white bar
   ═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header--scrolled {
  background: var(--cream);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.header--scrolled .header-logo {
  color: var(--text);
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #fff;
}

.header--scrolled .header-nav a {
  color: var(--text-muted);
}

.header--scrolled .header-nav a:hover {
  color: var(--text);
}

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

.header-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.header--scrolled .header-menu-btn span {
  background: var(--text);
}

.header-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.header-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  top: 64px;
  background: var(--cream);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   HERO — full-width image, text overlay bottom-left
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Top gradient so transparent header text is readable */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px max(24px, calc((100vw - 1200px) / 2 + 24px)) 56px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
}

.hero__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--cream-dark);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  text-align: center;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title--left {
  text-align: left;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 48px;
}

/* ═══════════════════════════════════════════════
   SERVICES — clean image cards
   ═══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.svc-card {
  cursor: pointer;
  transition: transform var(--transition);
  overflow: hidden;
}

.svc-card:hover {
  transform: translateY(-4px);
}

.svc-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.svc-card__body {
  padding: 16px 0;
}

.svc-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.svc-card__body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.svc-card__price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--coral);
}

/* ═══════════════════════════════════════════════
   PORTFOLIO — clean grid
   ═══════════════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.portfolio-item {
  overflow: hidden;
  aspect-ratio: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-cta {
  text-align: center;
  margin-top: 32px;
}

.portfolio-cta a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  border-bottom: 1px solid var(--coral);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}

.portfolio-cta a:hover {
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════
   TEAM — minimal cards
   ═══════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.team-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.team-card__role {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.team-card__bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   ABOUT — image + text split
   ═══════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.about-text .section-label {
  text-align: left;
}

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

.about-text p:last-of-type {
  margin-bottom: 28px;
}

.about-text .btn-book {
  align-self: flex-start;
}

/* ═══════════════════════════════════════════════
   FOOTER — minimal dark
   ═══════════════════════════════════════════════ */
.footer {
  background: #2a2218;
  color: rgba(255,255,255,0.6);
  padding: 56px 0 32px;
}

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

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-social a {
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-nav,
  .header .btn-book {
    display: none;
  }

  .header-menu-btn {
    display: flex;
  }

  .hero {
    height: 100vh;
    min-height: 500px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text .section-label {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

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

  .svc-card img {
    aspect-ratio: 16 / 9;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .portfolio-grid {
    gap: 2px;
  }
}
