/* ===================================================
   Fade & Co. Barbershop — "The Gentleman's Chair"
   Classic / Vintage Barbershop Theme
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Jost:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --burgundy: #722F37;
  --cream: #FFF8F0;
  --gold: #C5A55A;
  --walnut: #3B2316;
  --white: #FFFFFF;
  --black: #111111;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 4px;

  --shadow-sm: 0 2px 8px rgba(59, 35, 22, .08);
  --shadow-md: 0 4px 20px rgba(59, 35, 22, .12);
  --shadow-lg: 0 8px 40px rgba(59, 35, 22, .16);

  --transition: .3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--walnut);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--burgundy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--burgundy);
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 { margin-bottom: .5rem; }

.section-header .accent-text {
  font-size: 1.15rem;
}

.text-center { text-align: center; }

/* Gold Rule Divider */
.gold-rule {
  border: none;
  height: 1px;
  background: var(--gold);
  width: 80px;
  margin: 1.5rem auto;
}

.gold-rule--wide { width: 120px; }

.gold-rule--left {
  margin-left: 0;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn--primary {
  background: var(--gold);
  color: var(--walnut);
  border: 2px solid var(--gold);
}

.btn--primary:hover {
  background: transparent;
  color: var(--gold);
}

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

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

.btn--burgundy {
  background: var(--burgundy);
  color: var(--cream);
  border: 2px solid var(--burgundy);
}

.btn--burgundy:hover {
  background: transparent;
  color: var(--burgundy);
}

/* ---------- Barber Pole Stripe Accent ---------- */
.barber-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #C41E3A,
    #C41E3A 8px,
    var(--white) 8px,
    var(--white) 16px,
    #1B3A6B 16px,
    #1B3A6B 24px,
    var(--white) 24px,
    var(--white) 32px
  );
}

/* ---------- Decorative Vintage Border ---------- */
.vintage-border {
  border: 2px solid var(--gold);
  position: relative;
  padding: 2rem;
}

.vintage-border::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  pointer-events: none;
  border-radius: 2px;
}

/* ====================================
   NAVIGATION
   ==================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: .04em;
}

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

/* Desktop Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--walnut);
  position: relative;
  transition: color var(--transition);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--burgundy);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  padding: .55rem 1.4rem !important;
  font-size: .8rem !important;
  letter-spacing: .08em;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--walnut);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .nav__links.open { right: 0; }

  .nav__hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__hamburger.open span:nth-child(2) { opacity: 0; }
  .nav__hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ====================================
   HERO
   ==================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(59, 35, 22, .72) 0%,
      rgba(114, 47, 55, .65) 100%
    ),
    radial-gradient(ellipse at center, rgba(197, 165, 90, .15) 0%, transparent 70%),
    var(--walnut);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255, 248, 240, .03) 3px,
      rgba(255, 248, 240, .03) 4px
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero__eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: .5rem;
  letter-spacing: .1em;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-weight: 900;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255, 248, 240, .85);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====================================
   SERVICES PREVIEW (HOME)
   ==================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  border: 2px solid var(--gold);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  background: var(--cream);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(197, 165, 90, .4);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  margin-bottom: .5rem;
}

.service-card .price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .5rem;
}

.service-card p {
  font-size: .9rem;
  color: rgba(59, 35, 22, .7);
}

/* ====================================
   SERVICES PAGE — FULL LIST
   ==================================== */
.services-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.services-table tr {
  border-bottom: 1px solid rgba(197, 165, 90, .3);
  transition: background var(--transition);
}

.services-table tr:hover {
  background: rgba(197, 165, 90, .06);
}

.services-table td {
  padding: 1.2rem .5rem;
  vertical-align: middle;
}

.services-table .service-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--burgundy);
}

.services-table .service-desc {
  font-size: .88rem;
  color: rgba(59, 35, 22, .6);
  padding-top: .25rem;
}

.services-table .service-price {
  text-align: right;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  white-space: nowrap;
}

/* Package Card */
.package-card {
  background: var(--walnut);
  color: var(--cream);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.package-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.package-card h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: .5rem;
}

.package-card .price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--cream);
  margin-bottom: .75rem;
}

.package-card p {
  font-size: .95rem;
  margin-bottom: 1.5rem;
  opacity: .85;
  line-height: 1.6;
}

/* ====================================
   TEAM
   ==================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--walnut);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border: 3px solid var(--gold);
}

.team-card h3 { margin-bottom: .2rem; }

.team-card .role {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: .75rem;
}

.team-card p {
  font-size: .9rem;
  color: rgba(59, 35, 22, .7);
  max-width: 280px;
  margin: 0 auto;
}

/* ====================================
   TESTIMONIALS / REVIEWS
   ==================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--white);
  border: 1px solid rgba(197, 165, 90, .3);
  padding: 2rem 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: .35;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}

.review-card blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: .5rem;
  color: var(--walnut);
}

.review-card .reviewer {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  color: var(--burgundy);
  letter-spacing: .04em;
}

.review-card .stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: .5rem;
  letter-spacing: 2px;
}

/* ====================================
   FIND US / CONTACT
   ==================================== */
.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .find-us-grid {
    grid-template-columns: 1fr;
  }
}

.map-wrapper {
  width: 100%;
  border: 2px solid var(--gold);
  position: relative;
}

.map-wrapper::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(197, 165, 90, .4);
  pointer-events: none;
  z-index: 1;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.contact-info h3 {
  margin-bottom: .75rem;
}

.contact-info .info-item {
  margin-bottom: 1.5rem;
}

.contact-info .info-label {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold);
  font-size: .95rem;
  margin-bottom: .25rem;
}

.contact-info p,
.contact-info a {
  font-size: .95rem;
  line-height: 1.7;
}

.contact-info a:hover { color: var(--burgundy); }

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

.hours-table td {
  padding: .4rem 0;
  font-size: .95rem;
}

.hours-table td:last-child {
  text-align: right;
}

.hours-table .closed {
  color: var(--burgundy);
  font-weight: 500;
}

/* ====================================
   PAGE HERO (interior pages)
   ==================================== */
.page-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(59, 35, 22, .78) 0%,
      rgba(114, 47, 55, .6) 100%
    ),
    var(--walnut);
  position: relative;
}

.page-hero::after {
  content: '';
  display: block;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #C41E3A,
    #C41E3A 8px,
    var(--white) 8px,
    var(--white) 16px,
    #1B3A6B 16px,
    #1B3A6B 24px,
    var(--white) 24px,
    var(--white) 32px
  );
}

.page-hero h1 { color: var(--cream); margin-bottom: .25rem; }

.page-hero .accent-text {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ====================================
   CTA BANNER
   ==================================== */
.cta-banner {
  background: var(--burgundy);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  display: block;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #C41E3A,
    #C41E3A 8px,
    var(--white) 8px,
    var(--white) 16px,
    #1B3A6B 16px,
    #1B3A6B 24px,
    var(--white) 24px,
    var(--white) 32px
  );
  position: absolute;
  left: 0;
  right: 0;
}

.cta-banner::before { top: 0; }
.cta-banner::after { bottom: 0; }

.cta-banner h2 {
  color: var(--cream);
  margin-bottom: .5rem;
}

.cta-banner .accent-text {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
  background: var(--walnut);
  color: rgba(255, 248, 240, .75);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: .75rem;
  letter-spacing: .04em;
}

.footer a {
  transition: color var(--transition);
}

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

.footer p,
.footer li {
  font-size: .88rem;
  line-height: 1.8;
}

.footer__bottom {
  border-top: 1px solid rgba(197, 165, 90, .2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
}

.footer__est {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .08em;
}

/* ====================================
   SCROLL ANIMATIONS
   ==================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }

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

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero__buttons { flex-direction: column; align-items: center; }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
