/* Barber Co - Theme-Aware Styles v2 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #F2CB07;
  --gold-dark: #d4b106;
  --bg-dark: #0a0a0a;
  --bg-section: #0F1317;
  --bg-card: #1a1a1a;
  --text-white: #ffffff;
  --text-light: #cccccc;
  --text-muted: #999999;
  --text-dim: #666666;
  --border: #222222;
  --border-light: #333333;
  --hero-overlay: 0.85;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======================== NAVIGATION ======================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
  padding: 16px 0;
}
.site-nav.scrolled {
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  padding: 0 24px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold) !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover {
  color: var(--gold-dark) !important;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-btn {
  padding: 8px 20px !important;
  font-size: 12px !important;
  color: var(--bg-dark) !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-btn {
    align-self: stretch;
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ======================== HERO ======================== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark) url('/images/hero.jpg') center/cover no-repeat;
  padding: 160px 24px 80px;
  position: relative;
  border-bottom: 2px solid var(--gold);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-dark);
  opacity: var(--hero-overlay);
  z-index: 1;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--text-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero .subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 300;
}
.hero .btn {
  margin-top: 8px;
}

/* ======================== ABOUT ======================== */
.about {
  padding: 80px 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.about h2 {
  font-size: 36px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}
.about p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
}

/* ======================== SERVICES ======================== */
.services {
  padding: 80px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}
.services h2 {
  font-size: 36px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 8px;
  font-weight: 600;
}
.service-card .price {
  font-size: 22px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card .description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ======================== HOURS ======================== */
.hours {
  padding: 80px 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.hours h2 {
  font-size: 36px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}
.hours-grid {
  max-width: 500px;
  margin: 0 auto;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-row .day {
  color: var(--text-white);
  font-weight: 500;
}
.hours-row .time {
  color: var(--gold);
  font-weight: 400;
}
.hours-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 20px;
  font-style: italic;
}

/* ======================== TESTIMONIALS ======================== */
.testimonials {
  padding: 80px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}
.testimonials h2 {
  font-size: 36px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 60px;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: serif;
  line-height: 1;
}
.testimonial-card .quote {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
  padding-top: 20px;
}
.testimonial-card .author {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}
.testimonial-card .rating {
  color: var(--gold);
  font-size: 16px;
  margin-top: 8px;
  letter-spacing: 2px;
}

/* ======================== CONTACT ======================== */
.contact {
  padding: 80px 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.contact h2 {
  font-size: 36px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}
.contact-info {
  text-align: center;
  margin-bottom: 40px;
}
.contact-info p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.contact-info strong {
  color: var(--text-white);
  font-size: 18px;
}
.contact-info a {
  color: var(--gold);
}
.contact-info .btn {
  margin-top: 16px;
}
.map {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-light);
}
.map iframe {
  display: block;
}

/* ======================== FOOTER ======================== */
footer {
  padding: 40px 0;
  background: var(--bg-dark);
  text-align: center;
  border-top: 2px solid var(--gold);
}
footer p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: 80px 20px 60px;
  }
  .about, .services, .hours, .testimonials, .contact {
    padding: 60px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
    letter-spacing: 1px;
  }
  .hero .subtitle {
    font-size: 15px;
  }
  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }
}
