/* Import Vintage Barber Display Font + Clean UI Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Rye&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg-ink: #0d0f12;           /* Deep tattoo ink black */
  --bg-card: #16191e;          /* Charcoal card surface */
  --bg-card-hover: #1e2229;
  --parchment: #f4f1ea;        /* Ribbon off-white from logo */
  --text-muted: #9ba1ab;       /* Muted silver/grey */
  --barber-red: #c83228;       /* Crimson stripe from pole */
  --barber-red-hover: #e03b30;
  --barber-blue: #2b5b84;      /* Vintage blue stripe from pole */
  --chrome-border: rgba(244, 241, 234, 0.12);
}

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

body {
  background-color: var(--bg-ink);
  color: var(--parchment);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  padding-bottom: 96px; /* Space for Option C Sticky Bar */
  -webkit-font-smoothing: antialiased;
}

/* Subtle classic barber-pole top accent bar */
body::before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--barber-red),
    var(--barber-red) 15px,
    var(--parchment) 15px,
    var(--parchment) 30px,
    var(--barber-blue) 30px,
    var(--barber-blue) 45px,
    var(--parchment) 45px,
    var(--parchment) 60px
  );
}

/* ==========================================
   HERO SECTION & LOGO MEDALLION
   ========================================== */
.hero {
  text-align: center;
  padding: 44px 20px 36px;
  max-width: 600px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 20%, rgba(43, 91, 132, 0.22) 0%, transparent 70%);
}

/* Turns his white-background screenshot into a clean circular badge */
.logo-badge {
  width: 155px;
  height: 155px;
  margin: 0 auto 20px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--barber-red);
  box-shadow: 
    0 0 0 4px var(--bg-ink),
    0 0 0 6px var(--barber-blue),
    0 12px 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge {
  display: inline-block;
  background: rgba(200, 50, 40, 0.15);
  color: #ff6b61;
  border: 1px solid rgba(200, 50, 40, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: 'Rye', serif;
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--parchment);
  text-shadow: 2px 3px 0px #000000;
  margin-bottom: 6px;
}

.est-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto 24px;
}

.btn-primary {
  display: inline-block;
  background: var(--barber-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(200, 50, 40, 0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
  background: var(--barber-red-hover);
  transform: translateY(-2px);
}

/* ==========================================
   SERVICES & PRICING MENU
   ========================================== */
.section {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px;
}

.section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--chrome-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section h2::after {
  content: "EST. 2023";
  font-size: 0.75rem;
  color: var(--barber-blue);
  letter-spacing: 0.15em;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  border-left: 4px solid var(--barber-blue);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-left-color: var(--barber-red);
}

.service-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 4px;
}

.service-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.service-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--parchment);
}

.btn-book-inline {
  background: rgba(43, 91, 132, 0.25);
  color: #7ab3e6;
  border: 1px solid var(--barber-blue);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-book-inline:hover {
  background: var(--barber-red);
  border-color: var(--barber-red);
  color: #ffffff;
}

/* ==========================================
   OPTION C: STICKY MOBILE BOTTOM BAR
   ========================================== */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 15, 18, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--barber-blue);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.8);
}

.btn-sticky-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--parchment);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(43, 91, 132, 0.6);
}

.btn-sticky-book {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--barber-red) 0%, #9e2018 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(200, 50, 40, 0.45);
}

/* Smooth scrolling when tapping Services or About & Location */
html {
  scroll-behavior: smooth;
}

/* ==========================================
   TOP NAVIGATION BAR
   ========================================== */
.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  background: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--chrome-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: #ff6b61;
}

.nav-cta {
  background: var(--barber-blue);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.nav-cta:hover {
  background: var(--barber-red);
  color: #ffffff;
}

/* ==========================================
   ABOUT & LOCATION CARD
   ========================================== */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  border-top: 4px solid var(--barber-red);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.story-badge {
  display: inline-block;
  background: rgba(43, 91, 132, 0.25);
  color: #7ab3e6;
  border: 1px solid var(--barber-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.about-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  color: var(--parchment);
  margin-bottom: 12px;
}

.story-text {
  color: var(--parchment);
  opacity: 0.9;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.story-quote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--barber-blue);
  padding-left: 14px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

/* Location Box & Dual Map Buttons */
.location-box {
  background: var(--bg-ink);
  border: 1px solid var(--chrome-border);
  border-radius: 10px;
  padding: 18px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.location-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff6b61;
  font-weight: 700;
}

.location-details strong {
  font-size: 1.05rem;
  color: var(--parchment);
}

.address-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .map-buttons {
    grid-template-columns: 1fr; /* Stacks cleanly for easy thumb tapping on phones */
  }
}

.btn-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-apple-maps {
  background: #22262e;
  color: var(--parchment);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-apple-maps:hover {
  background: #2e333d;
  transform: translateY(-1px);
}

.btn-google-maps {
  background: rgba(43, 91, 132, 0.3);
  color: #90c4f2;
  border: 1px solid var(--barber-blue);
}

.btn-google-maps:hover {
  background: var(--barber-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.page-section {
  padding-top: 40px;
}

/* Highlights the active page tab in the navbar */
.nav-link.active {
  color: #ff6b61;
  border-bottom: 2px solid var(--barber-red);
  padding-bottom: 2px;
}

/* ==========================================
   UPDATED TOP NAVIGATION BAR STYLING
   ========================================== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(13, 15, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--chrome-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand {
  font-family: 'Rye', serif;
  font-size: 1.1rem;
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}

.nav-brand:hover {
  color: #ff6b61;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================
   UPDATED STICKY BOTTOM BAR (Single Call Button)
   ========================================== */
body {
  padding-bottom: 76px; /* Adjusted spacing for single button bar */
}

.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 15, 18, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--chrome-border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.8);
}

.btn-sticky-call-only {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--parchment);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(43, 91, 132, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: background 0.15s ease;
}

.btn-sticky-call-only:hover {
  background: var(--bg-card-hover);
}

/* Hide sticky bottom bar on large desktop screens */
@media (min-width: 768px) {
  .sticky-mobile-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* ==========================================
   RESPONSIVE TOP NAVIGATION BAR
   ========================================== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(13, 15, 18, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--chrome-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand {
  font-family: 'Rye', serif;
  font-size: 1.05rem;
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: #ff6b61;
}

.nav-cta {
  background: var(--barber-blue);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* Hidden hamburger button on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--parchment);
  transition: 0.2s;
}

/* Mobile Screen Breakpoint (< 768px) */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 15, 18, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    border-bottom: 1px solid var(--chrome-border);
  }

  .nav-links.nav-active {
    max-height: 280px; /* Expands smoothly when tapped */
  }

  .nav-link {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
  }

  .nav-cta {
    background: var(--barber-red);
    text-align: center;
    margin: 10px 20px 16px;
    border-radius: 8px;
    padding: 12px;
  }
}