/* ============================================
   A J's House of Beauty and Style
   Clean Minimalist — Forest Green & Off-White
   ============================================ */

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

:root {
  --green-900: #0B2B1A;
  --green-800: #1B4332;
  --green-700: #2D6A4F;
  --green-600: #40916C;
  --green-500: #52A06B;
  --green-100: #B7E4C7;
  --green-50:  #D8F3DC;
  --cream:     #FAF8F3;
  --cream-dark:#F0EDE6;
  --warm:      #D4C5A9;
  --warm-dark: #B8A88A;
  --text-dark: #1A1A1A;
  --text-mid:  #3D3D3D;
  --text-light:#6B6B6B;
  --white:     #FFFFFF;
  --line:      rgba(27, 67, 50, 0.12);
  --line-strong: rgba(27, 67, 50, 0.25);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-smooth), background 0.4s var(--ease-smooth);
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 248, 243, 0.95);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: -0.02em;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green-700);
  border-radius: 50%;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--green-800);
  letter-spacing: -0.01em;
}

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

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s var(--ease-smooth);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green-700);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--green-700);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--green-800);
  padding: 10px 24px;
  border-radius: 100px;
  transition: background 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth) !important;
}

.nav-cta:hover {
  background: var(--green-700) !important;
  transform: translateY(-1px);
}

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

.nav-toggle-bar {
  width: 22px;
  height: 1.5px;
  background: var(--green-800);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-smooth);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--green-800);
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  padding: 12px 24px;
  display: block;
  transition: color 0.3s var(--ease-smooth);
}

.mobile-link:hover {
  color: var(--green-700);
}

.mobile-cta {
  font-family: var(--font-sans) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--green-800);
  padding: 14px 32px !important;
  border-radius: 100px;
  margin-top: 16px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 43, 26, 0.92) 0%,
    rgba(27, 67, 50, 0.85) 40%,
    rgba(45, 106, 79, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 160px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-100);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--green-100);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 720px;
}

.hero-headline em {
  font-style: italic;
  color: var(--green-100);
}

.hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}

.btn-primary {
  background: var(--white);
  color: var(--green-800);
}

.btn-primary:hover {
  background: var(--green-100);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Floating stat cards */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 0;
  padding: 0 24px;
  pointer-events: none;
}

.stat-card {
  background: var(--white);
  padding: 28px 36px;
  text-align: center;
  min-width: 160px;
  border-right: 1px solid var(--line);
  pointer-events: all;
  transition: transform 0.35s var(--ease-out);
}

.stat-card:last-child {
  border-right: none;
}

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

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   Section shared
   ============================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
}

/* ============================================
   Services
   ============================================ */
.services {
  padding: 120px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.service-card {
  background: var(--cream);
  padding: 48px 36px;
  transition: background 0.4s var(--ease-smooth), transform 0.4s var(--ease-out);
  position: relative;
}

.service-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(27, 67, 50, 0.08);
  z-index: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green-700);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
}

.about-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--green-100);
  border-radius: 2px;
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 100px;
}

.value-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--green-800);
}

.value-line {
  width: 24px;
  height: 1px;
  background: var(--green-300, #95D5B2);
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  padding: 120px 0;
  background: var(--cream);
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

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

.gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 5 / 9; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 5 / 8; grid-row: 2 / 3; }
.gallery-item:nth-child(6) { grid-column: 8 / 13; grid-row: 2 / 3; }

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  padding: 120px 0;
  background: var(--green-800);
}

.testimonials .section-eyebrow {
  color: var(--green-100);
}

.testimonials .section-title {
  color: var(--white);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 40px 32px;
  transition: background 0.4s var(--ease-smooth), transform 0.4s var(--ease-out);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.testimonial-quote {
  margin-bottom: 24px;
  color: var(--green-100);
}

.testimonial-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-100);
}

/* ============================================
   Visit / Contact
   ============================================ */
.visit {
  padding: 120px 0;
  background: var(--cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.visit-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-700);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-value a {
  color: var(--green-700);
  transition: color 0.3s var(--ease-smooth);
}

.contact-value a:hover {
  color: var(--green-600);
  text-decoration: underline;
}

.visit-map {
  height: 480px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--green-900);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green-100);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green-600);
  border-radius: 50%;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s var(--ease-smooth);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact a {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s var(--ease-smooth);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact span {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Scroll reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 100px 24px 140px;
  }

  .hero-stats {
    justify-content: stretch;
    flex-wrap: wrap;
    padding: 0;
  }

  .stat-card {
    flex: 1;
    min-width: 0;
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.625rem;
  }

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

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

  .about-image img {
    height: 360px;
  }

  .about-accent {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
  .gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .gallery-item:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gallery-item:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .gallery-item:nth-child(5) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .gallery-item:nth-child(6) { grid-column: 2 / 3; grid-row: 3 / 4; }

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: none;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .visit-map {
    height: 320px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .mobile-link {
    font-size: 1.5rem;
  }
}
