/* ============================================================
   SYLMAR BARBER SHOP — Stylesheet
   Color palette: near-black bg, cream text, crimson accent, gold highlight
   ============================================================ */

:root {
  --bg:        #0d0d0d;
  --bg-alt:    #141414;
  --bg-card:   #1a1a1a;
  --red:       #c0392b;
  --red-light: #e74c3c;
  --gold:      #c9a84c;
  --white:     #f5f0e8;
  --muted:     #888;
  --border:    #2a2a2a;
  --radius:    10px;
  --max-w:     1100px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}
.nav-logo span {
  color: var(--red);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--red-light) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

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

/* Subtle animated gradient behind content */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(192, 57, 43, 0.18) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}

/* Barber pole stripe top bar */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--red)   0px,  var(--red)   33%,
    #fff         33%,  #fff         66%,
    #1a3f7a      66%,  #1a3f7a      100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 24px;
  padding-top: 100px;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-inline: auto;
  margin-bottom: 28px;
  border: 3px solid var(--red);
  box-shadow: 0 0 40px rgba(192, 57, 43, 0.4);
}

.hero h1 {
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.3);
  font-size: 1.4rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STRIP
   ============================================================ */
.strip {
  background: var(--red);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}
.strip .divider { opacity: 0.4; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 64px;
}
.section-header p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--red);
}

.service-badge-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 { margin-bottom: 10px; }

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.services-note {
  text-align: center;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text p {
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.about-barbers h3 {
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.barber-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
}

.barber-initial {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.barber-card h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.barber-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }
.rating-num { font-size: 1.5rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.rating-count { color: var(--muted); font-size: 0.88rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}
.review-card:hover {
  border-color: rgba(192, 57, 43, 0.4);
  transform: translateY(-3px);
}

.review-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }

.review-card p {
  font-size: 0.92rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.review-card p strong { color: var(--white); font-style: normal; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.reviewer-initial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reviewer strong { display: block; font-size: 0.9rem; }
.reviewer span { font-size: 0.78rem; color: var(--muted); }

.reviews-cta {
  text-align: center;
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
   HOURS & LOCATION
   ============================================================ */
.hours-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.hours-block h2,
.location-block h2 {
  margin-bottom: 32px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.hours-table td:first-child {
  color: var(--muted);
  width: 130px;
}
.hours-table td:last-child {
  font-weight: 500;
  color: var(--white);
}
.hours-table tr.weekend td { color: var(--gold); }
.hours-table tr.weekend td:first-child { color: rgba(201, 168, 76, 0.7); }

.walkins-note {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--red-light);
}

address { font-style: normal; margin-bottom: 32px; }
.address-line {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
}

.amenities h4 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.amenities ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}
.amenities li {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.75);
}

/* ============================================================
   MAP
   ============================================================ */
.map-wrapper {
  line-height: 0;
  filter: grayscale(60%) contrast(1.05);
  border-top: 3px solid var(--red);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-logo strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}
.footer-logo span {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-info p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(136, 136, 136, 0.5);
  margin-top: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
    z-index: 99;
  }

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

  .section { padding: 64px 0; }

  .strip {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .strip .divider { display: none; }

  .about-stats { gap: 24px; }

  .amenities ul { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-logo { width: 120px; height: 120px; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
