/* ===============================================
   FADE AWAY BARBERSHOP — styles.css
   Dark & bold: black backgrounds, gold accents
   Mobile-first responsive
   =============================================== */

/* -----------------------------------------------
   CSS VARIABLES
----------------------------------------------- */
:root {
  --black:      #0f0f0f;
  --dark:       #1a1a1a;
  --card-dark:  #1e1e1e;
  --gold:       #C9A84C;
  --gold-light: #ddbf6e;
  --gold-dim:   #a07c2e;
  --white:      #ffffff;
  --light-gray: #cccccc;
  --gray:       #888888;
  --border:     #2a2a2a;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1100px;
  --section-pad: 80px;
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

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

.section {
  padding: var(--section-pad) 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--black);
}

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

.btn-cta-dark {
  background-color: var(--black);
  color: var(--gold);
  border: 2px solid var(--black);
}

.btn-cta-dark:hover {
  background-color: #1a1a1a;
}

/* Inline text link */
.text-link {
  color: var(--gold);
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--gold-light);
}

/* -----------------------------------------------
   HEADER
----------------------------------------------- */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  height: 50px;
  width: auto;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}

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

/* -----------------------------------------------
   HERO
----------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('assets/jayhero.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--light-gray);
  margin-bottom: 36px;
  line-height: 1.5;
}

/* -----------------------------------------------
   BUSINESS INFO BAR
----------------------------------------------- */
.info-bar {
  background-color: var(--dark);
  padding: 40px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

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

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.info-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}

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

.info-sub {
  font-size: 0.78rem;
  color: var(--gray);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* -----------------------------------------------
   SERVICES
----------------------------------------------- */
.services-section {
  background-color: var(--black);
}

.services-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}

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

.service-card {
  background-color: var(--card-dark);
  border-top: 3px solid var(--gold);
  padding: 36px 28px;
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
}

/* -----------------------------------------------
   ABOUT
----------------------------------------------- */
.about-section {
  background-color: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 720px;
}

.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  margin-bottom: 28px;
}

.about-text p {
  font-size: 1rem;
  color: var(--light-gray);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------
   PRICING
----------------------------------------------- */
.pricing-section {
  background-color: var(--black);
}

.pricing-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}

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

.pricing-card {
  background-color: var(--card-dark);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  padding: 32px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.service-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}

.service-price {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* -----------------------------------------------
   BOTTOM CTA SECTION
----------------------------------------------- */
.cta-section {
  background-color: var(--gold);
  padding: 80px 0;
}

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

.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: 32px;
}

/* -----------------------------------------------
   MAP
----------------------------------------------- */
.map-section {
  line-height: 0;
  border-top: 2px solid var(--gold);
}

.map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
.footer {
  background-color: var(--dark);
  border-top: 2px solid var(--gold);
  padding-top: 60px;
}

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

.footer h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* Footer About */
.footer-about p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}

.insta-link {
  display: inline-flex;
  color: var(--gray);
  transition: color 0.2s;
}

.insta-link:hover {
  color: var(--gold);
}

/* Footer Nav */
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--gray);
  transition: color 0.2s;
}

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

/* Footer Contact (NAP) */
.footer-contact address p,
.footer-contact .footer-hours {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-contact address a {
  color: var(--gold);
  transition: color 0.2s;
}

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

.footer-hours {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #444;
  text-align: center;
}

/* -----------------------------------------------
   RESPONSIVE — Tablet (max 900px)
----------------------------------------------- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-about {
    grid-column: 1 / -1;
  }
}

/* -----------------------------------------------
   RESPONSIVE — Mobile (max 640px)
----------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --section-pad: 56px;
  }

  /* Hide desktop nav on mobile */
  .nav {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .logo {
    height: 42px;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
    background-position: center center;
  }

  /* Info bar: stack vertically */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Services: single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing: single column */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-text h2 {
    text-align: center;
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-about {
    grid-column: auto;
  }

  /* CTA */
  .cta-section {
    padding: 60px 0;
  }
}
