/* ============================
   OFF THE TOP BARBERSHOP
   Welsh red & barber pole theme
   ============================ */

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

:root {
  --red:     #CC0000;
  --red-lt:  #e81010;
  --dark:    #111111;
  --dark2:   #1c1c1c;
  --dark3:   #252525;
  --text:    #e8e4e0;
  --text-dim: #9a9490;
  --white:   #f5f0ec;
  --stripe-red:   #CC0000;
  --stripe-white: #f0f0f0;
  --stripe-blue:  #1a3b6e;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
}

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

/* ── NAVBAR ── */
nav {
  background: #0a0a0a;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--red);
  letter-spacing: 1px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}
nav ul a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
nav ul a:hover, nav ul a.active { color: var(--red); }

/* ── BARBER POLE STRIPE ── */
.stripe {
  height: 7px;
  background: repeating-linear-gradient(
    90deg,
    var(--stripe-red)   0px,
    var(--stripe-red)   20px,
    var(--stripe-white) 20px,
    var(--stripe-white) 40px,
    var(--stripe-blue)  40px,
    var(--stripe-blue)  60px
  );
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--red);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--red);
  transition: background 0.2s, color 0.2s;
  margin: 0.4rem 0.3rem;
}
.btn:hover {
  background: var(--red-lt);
  border-color: var(--red-lt);
}
.btn-outline {
  background: transparent;
  color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('images/hero.jpg.png') center/cover no-repeat,
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
  text-align: center;
  padding: 4rem 2rem;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-sub {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }

.label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

/* ── ABOUT ── */
.about { background: var(--dark2); }
.about h2 { font-size: 2.5rem; margin-bottom: 1.25rem; }
.about p { color: var(--text-dim); margin-bottom: 1rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feature {
  background: var(--dark3);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  padding: 1.5rem;
}
.feature-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.feature h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.875rem; color: var(--text-dim); }

/* ── TEAM ── */
.team-section { background: var(--dark); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--dark2);
  border: 1px solid #2a2a2a;
  overflow: hidden;
}
.team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.team-photo:hover { filter: grayscale(0%); }
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--dark3);
  border-bottom: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}
.team-photo-placeholder .ph-icon { font-size: 3rem; margin-bottom: 1rem; }
.team-info {
  padding: 1.75rem;
  border-top: 3px solid var(--red);
}
.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.team-info .team-years {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.team-info p { font-size: 0.9rem; color: var(--text-dim); font-style: italic; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--dark3);
  padding: 5rem 2rem;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-banner p { color: var(--text-dim); margin-bottom: 2rem; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark2);
  border-bottom: 2px solid var(--red);
  text-align: center;
  padding: 4rem 2rem;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--text-dim); font-size: 1rem; }

/* ── SERVICES ── */
.services-section { background: var(--dark2); }
.service-category { margin-bottom: 3.5rem; }
.service-category h2 {
  font-size: 1.5rem;
  color: var(--red);
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}
.service-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid #1e1e1e;
}
.service-item:last-child { border-bottom: none; }
.service-name { font-weight: 700; color: var(--white); }
.service-desc { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.15rem; }

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.review-card {
  background: var(--dark2);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  padding: 1.5rem;
}
.stars { color: var(--red); font-size: 1rem; margin-bottom: 0.75rem; }
.review-card p { color: var(--text-dim); font-size: 0.9rem; font-style: italic; }
.reviewer { display: block; margin-top: 1rem; font-size: 0.8rem; color: #555; }

/* ── CONTACT ── */
.contact-section { background: var(--dark2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-block { margin-bottom: 2.5rem; }
.contact-block h3 {
  font-size: 1.1rem;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 0.5rem;
}
.contact-block p { color: var(--text-dim); margin-bottom: 0.4rem; font-size: 0.95rem; }
.contact-block a { color: var(--red); }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #1e1e1e;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.hours-row .day { color: var(--text); font-weight: 700; }
.hours-row.closed { color: #555; }
.hours-row.closed .day { color: #555; }
.map-embed { border: 1px solid #2a2a2a; overflow: hidden; }
.map-embed iframe { display: block; }

/* ── SOCIAL LINKS ── */
.social-links { margin-bottom: 0.4rem; }
.social-links a { color: var(--red); transition: color 0.2s; }
.social-links a:hover { color: var(--red-lt); }

/* ── FOOTER ── */
footer {
  background: #0a0a0a;
  border-top: 3px solid var(--red);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}
footer p { margin-bottom: 0.4rem; }
.footer-links a { color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }
.footer-copy { margin-top: 1rem; font-size: 0.75rem; color: #444; }

/* ── RESPONSIVE ── */
.nav-toggle {
     display: none;
     background: none;
     border: none;
     color: var(--text);
     font-size: 1.5rem;
     cursor: pointer;
     padding: 0.25rem 0.5rem;
     line-height: 1;
}
@media (max-width: 768px) {
     .nav-toggle { display: block; }
     nav { position: relative; }
     nav ul {
            display: none;
            position: absolute;
            top: 64px;
            left: 0;
            right: 0;
            background: #0a0a0a;
            flex-direction: column;
            padding: 1.25rem 2rem;
            gap: 1rem;
            border-bottom: 3px solid var(--red);
            z-index: 99;
     }
     nav.open ul { display: flex; }
  .about-grid, .contact-grid, .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-features, .reviews-grid { grid-template-columns: 1fr; }
  nav ul { gap: 1.25rem; }
}
