/*
Theme Name: Leather Strop Barbershop
Theme URI: https://www.theleatherstropbarbershop.com
Author: The Leather Strop Barbershop
Description: Custom theme for The Leather Strop Barbershop, Waukesha WI
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: leather-strop
*/

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

:root {
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --cream: #f5ede0;
  --dark: #0e0d0b;
  --dark-2: #181714;
  --dark-3: #242220;
  --border: rgba(201,168,76,0.25);
  --text: #d4c9b8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  background: rgba(14,13,11,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 54px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.45rem 1.25rem;
  border-radius: 2px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--gold-light); color: var(--dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ─────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,13,11,0.55) 0%, rgba(14,13,11,0.75) 60%, var(--dark) 100%);
  z-index: 0;
}

#hero > *:not(.hero-scroll) { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

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

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
  letter-spacing: 0.05em;
}

.hero-desc {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: var(--text);
  opacity: 0.85;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 1;
  white-space: nowrap;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold);
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.25s;
  cursor: pointer;
  border: none;
}

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

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

/* ── SECTION SHARED ───────────────────────────── */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gold-rule {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 2rem;
}

/* ── STORY ────────────────────────────────────── */
#story { background: var(--dark-2); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-img-wrap { position: relative; }

.story-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  z-index: 0;
}

.story-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  display: block;
}

.story-badge {
  position: absolute;
  z-index: 2;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--dark);
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
}

.story-badge strong { font-size: 1.6rem; display: block; line-height: 1; }
.story-text p { margin-bottom: 1.25rem; opacity: 0.85; }

/* ── WHY US ───────────────────────────────────── */
#why { background: var(--dark); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.25s;
}

.why-card:hover { border-color: var(--gold); }
.why-icon { font-size: 2.25rem; margin-bottom: 1rem; }

.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.why-card p { font-size: 0.88rem; opacity: 0.7; }

/* ── SERVICES ─────────────────────────────────── */
#services { background: var(--dark); }

.services-category { margin-bottom: 3.5rem; }
.services-category:last-child { margin-bottom: 0; }

.services-category-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.services-category-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
}

.services-category-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.services-category-tag {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--dark-2);
  padding: 1.75rem 2rem;
  transition: background 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover { background: var(--dark-3); }
.service-card:hover .service-name { color: var(--gold-light); }

.service-card-book-hint {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover .service-card-book-hint { opacity: 1; }

.service-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
}

.service-price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.service-desc {
  font-size: 0.875rem;
  opacity: 0.72;
  line-height: 1.6;
}

.service-tag {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.services-note {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.55;
  font-style: italic;
  text-align: center;
}

/* ── GALLERY ──────────────────────────────────── */
#gallery { background: var(--dark-2); }

.gallery-grid {
  columns: 3;
  column-gap: 8px;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 8px;
  display: block;
  border-radius: 2px;
  transition: opacity 0.25s, transform 0.25s;
  cursor: zoom-in;
}

.gallery-grid img:hover { opacity: 0.85; transform: scale(1.01); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 2px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-size: 2.5rem;
  color: var(--gold);
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

/* ── CONTACT ──────────────────────────────────── */
#contact { background: var(--dark-2); }

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

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p, .contact-info a {
  font-size: 0.95rem;
  opacity: 0.8;
  color: var(--text);
  text-decoration: none;
}

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

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table tr:not(:last-child) td { padding-bottom: 0.35rem; }
.hours-table td:last-child { text-align: right; opacity: 0.75; }
.hours-table .closed { opacity: 0.35; }

.map-embed {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 2px;
  filter: grayscale(0.6) contrast(1.1);
}

/* ── SEO BLOCK ────────────────────────────────── */
.seo-block {
  background: var(--dark);
  padding: 2.5rem 2rem 3rem;
}

.seo-block-inner {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  text-align: center;
}

.seo-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.seo-block p {
  font-size: 0.85rem;
  opacity: 0.5;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-style: italic;
  opacity: 0.5;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s;
}

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

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.1rem;
  transition: border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.footer-copy { font-size: 0.78rem; opacity: 0.35; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-img-wrap::before { display: none; }
  .story-badge { width: 80px; height: 80px; bottom: 12px; right: 12px; }
  .story-badge strong { font-size: 1.3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 0.85rem 1.5rem; font-size: 0.9rem; border-bottom: 1px solid rgba(201,168,76,0.08); }
  .nav-links li:last-child a { margin: 0.75rem 1.5rem 0; display: block; text-align: center; border-bottom: none; }
  .nav-hamburger { display: flex; }
  #hero { padding: 5rem 1.5rem 4rem; }
  .hero-scroll { display: none; }
  section { padding: 3.5rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-category-header { flex-wrap: wrap; gap: 0.75rem; }
  .services-category-tag { font-size: 0.62rem; padding: 0.25rem 0.6rem; }
  .service-card-book-hint { opacity: 0.6; }
  .gallery-grid { columns: 2; column-gap: 6px; }
  .gallery-grid img { margin-bottom: 6px; }
  .map-embed { height: 260px; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
  .story-img-wrap img { max-height: none; height: auto; }
}

@media (max-width: 480px) {
  .nav-logo img { height: 44px; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-desc { font-size: 0.9rem; }
  .btn { padding: 0.75rem 1.75rem; font-size: 0.75rem; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.25rem); }
  .services-category-label { font-size: 1.25rem; }
  .gallery-grid { columns: 1; }
  .why-grid { gap: 1.25rem; }
  .why-card { padding: 1.5rem 1.25rem; }
  .hours-table { font-size: 0.85rem; }
  .footer-links { gap: 0.75rem; }
  .footer-links a { font-size: 0.75rem; }
}

/* ── ANIMATIONS ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
