/* ============================================================
   Northline Barbers — Main Stylesheet
   ============================================================ */

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

:root {
  --bg:        #0d0d0d;
  --bg-card:   #161616;
  --bg-alt:    #111111;
  --border:    #2a2a2a;
  --gold:      #C9A84C;
  --gold-lite: #e0c06a;
  --white:     #f5f5f5;
  --grey:      #888888;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-w:     1120px;
  --radius:    6px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--grey);
  font-size: 17px;
  max-width: 520px;
  line-height: 1.7;
}

.gold-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #0d0d0d;
}

.btn-primary:hover {
  background: var(--gold-lite);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--grey);
  transition: color var(--transition);
}

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

.nav-cta { margin-left: 12px; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* Gradient noise texture background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(201,168,76,0.04) 0%, transparent 60%),
    #0d0d0d;
}

/* Decorative vertical lines */
.hero-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
  opacity: 0.04;
}

.hero-lines span {
  width: 1px;
  height: 100%;
  background: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

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

.hero-body {
  font-size: 18px;
  color: var(--grey);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Floating stat cards */
.hero-stats {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  min-width: 140px;
}

.stat-card .num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

/* Styled placeholder image block */
.about-img-block {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1a1a 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Scissor SVG icon decorative placeholder */
.about-img-block::before {
  content: '✂';
  font-size: 80px;
  opacity: 0.08;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-img-inner {
  text-align: center;
  z-index: 1;
}

.about-img-inner .year-badge {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.about-img-inner .shop-name {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

/* Gold corner accent */
.about-visual::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 0 8px;
}

.about-list {
  list-style: none;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--grey);
}

.about-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.service-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-price {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}

.service-price span {
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--grey);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why { background: var(--bg-alt); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
}

.why-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.why-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg); }

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .gold-divider { margin: 20px auto 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: border-color var(--transition);
}

.testimonial-card:hover { border-color: rgba(201,168,76,0.25); }

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.stars span {
  color: var(--gold);
  font-size: 14px;
}

.testimonial-text {
  font-size: 15px;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-head);
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.author-label {
  font-size: 12px;
  color: var(--grey);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item-val {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.hours-table caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  margin-bottom: 16px;
  padding-bottom: 12px;
  caption-side: top;
}

.hours-table tr { border-bottom: 1px solid var(--border); }

.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 10px 0;
  font-size: 14px;
  color: var(--grey);
}

.hours-table td:last-child { text-align: right; color: var(--white); }

/* CTA strip inside contact */
.contact-cta {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  text-align: center;
}

.contact-cta p {
  font-size: 18px;
  font-family: var(--font-head);
  margin-bottom: 20px;
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--grey);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--grey);
}

.footer-copy span { color: var(--gold); }

.footer-badge {
  font-size: 11px;
  color: #444;
  letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-stats { display: none; }

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

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

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Nav mobile */
  .nav-links, .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(13,13,13,0.98);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }

  .nav-links.open a { font-size: 20px; }

  .nav-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero-title { font-size: clamp(36px, 10vw, 54px); }

  /* Grids → single column */
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .about-visual::after { display: none; }

  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

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

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .services-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
