/* ===== Ako Barbershop — Design System =====
   Palette: #0f0f0f (near-black bg), #f5f0eb (warm off-white text/cards), #c8a45c (aged gold accent)
   Type: Playfair Display (display), Inter (body)
   ========================================== */

:root {
  /* Colors */
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --text: #f5f0eb;
  --text-muted: #9a9287;
  --accent: #c8a45c;
  --accent-hover: #dbb86e;
  --rule: #2a2824;
  --card-bg: #1a1a1a;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;

  /* Type */
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius: 6px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0 0 var(--space-xl);
  position: relative;
}
.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-top: var(--space-sm);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--accent);
  color: #0f0f0f;
}
.btn--primary:hover { background: var(--accent-hover); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, #1a1814 0%, #0f0f0f 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero__label {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1.05;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: var(--space-lg) auto;
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.4;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--accent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== TESTIMONIAL SPOTLIGHT ===== */
.testimonial-spotlight {
  padding: var(--space-2xl) 0;
  background: var(--surface);
}
.spotlight {
  margin: 0;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.spotlight__quote {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 var(--space-lg);
  quotes: none;
}
.spotlight__attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}
.spotlight__stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.spotlight__author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services {
  padding: var(--space-2xl) 0;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--accent); }
.service-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}
.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
  padding: var(--space-2xl) 0;
  background: var(--surface);
}
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.gallery__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity 0.3s;
}
.gallery__img:hover { opacity: 0.92; }

/* ===== REVIEWS ===== */
.reviews {
  padding: var(--space-2xl) 0;
}
.reviews__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.review-card__stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}
.review-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 var(--space-sm);
  quotes: none;
}
.review-card__author {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===== INFO (hours + location) ===== */
.info {
  padding: var(--space-2xl) 0;
  background: var(--surface);
}
.info__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.info__block .section-label { margin-bottom: var(--space-lg); }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.hours-table td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--rule);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}
.hours-table tr:last-child td { border-bottom: none; }
.info__address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.info__address strong { color: var(--text); }
.info__phone {
  margin-top: var(--space-md);
  font-size: 1.1rem;
  font-weight: 600;
}
.info__phone a { color: var(--accent); }
.info__phone a:hover { color: var(--accent-hover); }

/* ===== CONTACT ===== */
.contact {
  padding: var(--space-2xl) 0;
}
.contact__intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: -0.5rem 0 var(--space-xl);
  max-width: 500px;
}
.contact__form {
  max-width: 520px;
}
.form-row {
  margin-bottom: var(--space-lg);
}
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { resize: vertical; }
.form-status {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: var(--accent);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
}
.attribution {
  font-size: 0.7rem;
  opacity: 0.5;
  margin: 0;
}
.attribution a { color: var(--text-muted); }
.attribution a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews__list {
    grid-template-columns: 1fr 1fr;
  }
  .info__cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__img {
    height: 340px;
  }
  .gallery__img:first-child {
    grid-column: 1 / -1;
    height: 420px;
  }
}

/* ===== MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
