/* ============================================
   The Beauty Shop — Franklin, NC
   Clean Minimalist · Teal + Slate Grey
   ============================================ */

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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --transition: 0.3s ease;
}

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

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

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

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

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

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

.nav-logo-mark {
  font-size: 1rem;
  color: var(--teal-600);
}

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal-600);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--teal-700);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--teal-700) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.8125rem !important;
  letter-spacing: 0.05em !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

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

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

.nav-toggle-line {
  width: 22px;
  height: 1.5px;
  background: var(--slate-700);
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.nav-overlay-links a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--slate-800);
  transition: color var(--transition);
}

.nav-overlay-links a:hover {
  color: var(--teal-700);
}

.nav-overlay-cta {
  margin-top: 1rem;
  background: var(--teal-700);
  color: var(--white) !important;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-family: var(--font-sans) !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(17, 94, 89, 0.55) 50%,
    rgba(15, 23, 42, 0.75) 100%
  );
}

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

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-200);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--teal-200);
}

.hero-subtitle {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
  color: var(--white);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}

.btn-primary:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-full {
  width: 100%;
}

/* ============================================
   Section Dividers
   ============================================ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.divider-diamond {
  font-size: 0.5rem;
  color: var(--teal-400);
  flex-shrink: 0;
}

/* ============================================
   Section Shared
   ============================================ */
.section {
  padding: 7rem 0;
}

.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--slate-500);
  max-width: 540px;
  line-height: 1.8;
}

/* ============================================
   Services
   ============================================ */
.services {
  background: var(--slate-50);
}

.services .container {
  text-align: center;
}

.services .section-subtitle {
  margin: 0 auto 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 2.25rem;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--teal-200);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  margin-bottom: 1.5rem;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.7;
}

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

.about-image {
  position: relative;
}

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

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--teal-200);
  border-radius: 12px;
  z-index: -1;
}

.about-content .section-subtitle {
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--slate-600);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 0;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-divider {
  border: none;
  border-left: 1px solid var(--slate-200);
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal-700);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-top: 0.25rem;
  display: block;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  background: var(--white);
}

.gallery .container {
  text-align: center;
}

.gallery .section-subtitle {
  margin: 0 auto 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: auto;
}

.gallery-item:nth-child(1) {
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(17, 94, 89, 0.7) 100%
  );
}

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

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-text {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Contact
   ============================================ */
.contact {
  background: var(--slate-50);
}

.contact .container {
  text-align: center;
}

.contact .section-subtitle {
  margin: 0 auto 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
}

.contact-item-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 0.35rem;
}

.contact-item p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--slate-700);
  line-height: 1.7;
}

.contact-item a {
  color: var(--teal-700);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--teal-500);
}

/* Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 2.5rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

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

.form-success {
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 8px;
  border: 1px solid var(--teal-100);
}

/* ============================================
   Map
   ============================================ */
.map-section {
  width: 100%;
  height: 380px;
  filter: grayscale(30%);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .nav-logo-mark {
  font-size: 1.25rem;
  color: var(--teal-400);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--slate-400);
  transition: color var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact p {
  font-size: 0.9375rem;
  font-weight: 300;
}

.footer-contact a {
  color: var(--slate-400);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--slate-600);
  text-align: center;
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.hidden {
    opacity: 0;
    transform: translateY(24px);
  }
}

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

  .about-layout {
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    height: 64px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.75rem);
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .section {
    padding: 5rem 0;
  }

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

  .service-card {
    padding: 1.75rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .about-image-accent {
    display: none;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .stat-divider {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--slate-200);
    border-bottom: none;
    margin: 0.25rem 0;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-row: span 1;
  }

  .gallery-item img {
    height: 220px;
  }

  .cta-banner {
    padding: 4rem 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom p {
    text-align: left;
  }

  .map-section {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

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

  .gallery-item img {
    height: 280px;
  }
}
