/* ============================================
   Ultimate Hair Spot — Demo Site
   Warm, clean, salon-appropriate.
   ============================================ */

:root {
  --color-bg: #FAF8F5;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6560;
  --color-accent: #C41E2A;
  --color-accent-hover: #A3181F;
  --color-border: #E8E4DF;
  --color-hero-bg: #1A1A1A;
  --color-hero-text: #FAF8F5;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1100px;
  --spacing: 2rem;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* SHARED */
section {
  padding: 4rem var(--spacing);
}
section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
}
.btn-outline {
  border: 2px solid var(--color-text);
  color: var(--color-text);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn-small {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-small:hover {
  background: var(--color-accent);
  color: #fff;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.97);
  z-index: 100;
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--spacing);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-hero-text);
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links a:hover { color: #fff; }
.btn-nav {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
}
.btn-nav:hover { background: var(--color-accent-hover) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO */
.hero {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  text-align: center;
  padding: 10rem var(--spacing) 6rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-size: 1.15rem;
  color: #B0ACA7;
  margin-bottom: 0.8rem;
}
.hero-rating {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero .btn-outline {
  border-color: #888;
  color: #ccc;
}
.hero .btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-hero-bg);
}
.hero-social {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
}
.hero-social a {
  color: var(--color-accent);
  font-weight: 500;
}
.hero-social a:hover { text-decoration: underline; }
.dot {
  width: 4px;
  height: 4px;
  background: #555;
  border-radius: 50%;
  display: inline-block;
}

/* SERVICES */
.services { background: var(--color-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 2rem auto 0;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.service-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* GALLERY */
.gallery { background: var(--color-surface); }
.gallery-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT */
.about {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.about p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* HOURS & LOCATION */
.hours { background: var(--color-surface); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 2rem auto 0;
}
.hours-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2rem;
}
.hours-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}
.hours-note {
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-top: 1rem;
  font-style: italic;
}
.location-address {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* CONTACT */
.contact {
  text-align: center;
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
}
.contact h2 { color: var(--color-hero-text); }
.contact p {
  color: #B0ACA7;
  margin-bottom: 2rem;
}
.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.contact .btn-outline {
  border-color: #888;
  color: #ccc;
}
.contact .btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-hero-bg);
}
.contact-social {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.contact-social a {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
}
.contact-social a:hover { text-decoration: underline; }

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem var(--spacing);
  background: #111;
  color: #666;
  font-size: 0.8rem;
}
.footer-credit {
  margin-top: 0.3rem;
  color: #555;
}
.footer-credit strong {
  color: #777;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    padding: 1.5rem var(--spacing);
    gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 8rem var(--spacing) 4rem; }
  .hero h1 { font-size: 2.2rem; }

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

@media (max-width: 480px) {
  section { padding: 3rem 1.2rem; }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-buttons { flex-direction: column; align-items: center; }
  .contact-buttons { flex-direction: column; align-items: center; }
  .contact-social { flex-direction: column; gap: 0.8rem; }
}
