/* ============================================================
   Press Hair Bar — Classic & Elegant Salon Website
   Palette: Emerald (#064E3B) + Cream (#FAF6F0)
   Fonts: Cormorant Garamond (serif) + Lato (sans-serif)
============================================================ */

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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064E3B;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #059669;
  --cream-50:  #FAF6F0;
  --cream-100: #F5EFE6;
  --cream-200: #EDE4D6;
  --warm-100:  #FDF9F3;
  --warm-200:  #F7F0E5;
  --gold:      #C8956C;
  --gold-light:#D4A574;
  --text-dark: #1A1A1A;
  --text-mid:  #3D3D3D;
  --text-light:#6B6B6B;
  --text-on-dark:#F5EFE6;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(6,78,59,.08);
  --shadow-md: 0 4px 16px rgba(6,78,59,.10);
  --shadow-lg: 0 8px 32px rgba(6,78,59,.12);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--emerald-800);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-eyebrow--light { color: var(--cream-200); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-title--light { color: var(--cream-50); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

.section-sub--light { color: var(--cream-200); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--emerald-800);
  color: var(--cream-50);
  border-color: var(--emerald-800);
}
.btn--primary:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--cream-50);
  border-color: var(--cream-200);
}
.btn--outline:hover {
  background: var(--cream-50);
  color: var(--emerald-800);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--emerald-800);
  border-color: var(--emerald-800);
}
.btn--outline-light:hover {
  background: var(--emerald-800);
  color: var(--cream-50);
  transform: translateY(-2px);
}

.btn--nav {
  padding: 10px 24px;
  font-size: .8rem;
  background: var(--gold);
  color: var(--emerald-900);
  border-color: var(--gold);
}
.btn--nav:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--lg { padding: 16px 36px; font-size: .95rem; }
.btn--full { width: 100%; justify-content: center; }

.btn__icon { width: 18px; height: 18px; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,246,240,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--emerald-800);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--emerald-800);
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--emerald-800);
  letter-spacing: .02em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a:not(.btn) {
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-mid);
  position: relative;
  transition: var(--transition);
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.main-nav a:not(.btn):hover { color: var(--emerald-800); }
.main-nav a:not(.btn):hover::after { width: 100%; }

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

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--emerald-800);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--emerald-800);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200,149,108,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(4,47,35,.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { padding-right: 20px; }

.hero__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cream-50);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--cream-200);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-200);
  font-size: .9rem;
}

.hero__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: .8;
}

.hero__image { position: relative; }

.hero__img-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}

.hero__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__accent-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--cream-50);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.accent-card__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-800);
  line-height: 1;
}

.accent-card__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

/* ---------- SERVICES ---------- */
.services {
  padding: 100px 0;
  background: var(--cream-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__img {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.service-card__body {
  padding: 28px;
}

.service-card__title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--emerald-800);
}

.service-card__desc {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.services__note {
  text-align: center;
  font-size: .9rem;
  color: var(--text-light);
  font-style: italic;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: var(--warm-200);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__images {
  position: relative;
}

.about__img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/6.2;
}

.about__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--warm-200);
  aspect-ratio: 34/40;
  width: 60%;
}

.about__img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__stamp {
  position: absolute;
  top: -20px;
  right: 40px;
  width: 90px;
  height: 90px;
  color: var(--emerald-800);
  opacity: .15;
}

.about__content { padding: 20px 0; }

.about__text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.value-label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--emerald-800);
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 100px 0;
  background: var(--emerald-900);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item--wide {
  grid-column: span 7;
  aspect-ratio: 8/5;
}

.gallery__item:not(.gallery__item--wide) {
  aspect-ratio: 4/5;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--cream-50);
}

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

.testimonial-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card__quote {
  width: 40px;
  height: 40px;
  color: var(--gold);
  opacity: .5;
  margin-bottom: 20px;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-card__footer {
  border-top: 1px solid var(--cream-200);
  padding-top: 20px;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  background: var(--emerald-700);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,149,108,.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--cream-50);
  margin-bottom: 20px;
}

.cta__text {
  font-size: 1.05rem;
  color: var(--cream-200);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 100px 0;
  background: var(--warm-200);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact__address {
  font-style: normal;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact__item a {
  color: var(--emerald-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.contact__item a:hover { color: var(--emerald-500); }

.contact__icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__hours-title {
  font-size: 1.3rem;
  color: var(--emerald-800);
  margin-bottom: 16px;
}

.contact__hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours__day, .hours__time {
  display: block;
  font-size: .95rem;
}

.hours__day {
  font-weight: 700;
  color: var(--text-dark);
  display: inline;
}

.hours__time {
  color: var(--text-light);
  margin-left: 8px;
  font-weight: 400;
}

.contact__form-wrap {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact__form-wrap .section-title {
  margin-bottom: 8px;
}

.contact__form-sub {
  font-size: .95rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--emerald-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(4,120,87,.1);
}

.form-input::placeholder { color: var(--text-light); }

.form-select { appearance: none; cursor: pointer; }

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

.form-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200, #a7f3d0);
  border-radius: var(--radius);
  color: var(--emerald-800);
  font-size: .95rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--emerald-900);
  color: var(--cream-200);
  padding: 64px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,239,230,.1);
}

.footer__brand .logo-text { color: var(--cream-50); }
.footer__brand .logo-mark { border-color: var(--cream-200); color: var(--cream-50); }

.footer__tagline {
  margin-top: 16px;
  font-size: .9rem;
  color: rgba(245,239,230,.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: .9rem;
  color: rgba(245,239,230,.7);
  transition: var(--transition);
}

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

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__phone, .footer__email {
  font-size: .9rem;
  color: rgba(245,239,230,.7);
  transition: var(--transition);
}

.footer__phone:hover, .footer__email:hover { color: var(--gold); }

.footer__address {
  font-size: .85rem;
  color: rgba(245,239,230,.5);
  margin-top: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(245,239,230,.4);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__inner { gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; z-index: 1001; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--cream-50);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 999;
    padding: 90px 32px 32px;
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .main-nav a:not(.btn) { font-size: 1.1rem; }

  .btn--nav { display: none; }

  .hero { padding: 100px 0 60px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__content { padding-right: 0; order: 1; }
  .hero__image { order: 2; }
  .hero__img-frame { aspect-ratio: 4/3; }
  .hero__accent-card { left: 16px; bottom: -16px; }

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

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__img-secondary { right: 16px; bottom: -20px; }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16/9; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonials__grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__form-wrap { padding: 32px 24px; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__details { flex-direction: column; gap: 16px; }
  .about__values { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .cta__actions { flex-direction: column; align-items: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
}

/* Overlay for mobile nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
