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

:root {
  --black: #0a0a0a;
  --black-deep: #050505;
  --red: #c41a1a;
  --red-dark: #8b1212;
  --red-glow: #e62222;
  --white: #f5f5f5;
  --white-soft: #e0e0e0;
  --grey: #888;
  --grey-dark: #333;
  --grey-card: #111;
  --grey-surface: #1a1a1a;
  --font-display: 'Permanent Marker', cursive;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --nav-h: 70px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196,26,26,0.15);
  transition: all 0.4s;
}
.navbar.scrolled { background: rgba(5,5,5,0.97); }
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.nav-logo .dot { color: var(--red); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 2px solid var(--red);
  border-radius: 100px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--red); }
.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--black-deep);
}
.hero-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 300px);
  color: rgba(196,26,26,0.04);
  white-space: nowrap;
  user-select: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: -5px;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 5%;
  animation: fadeUp 1s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(196,26,26,0.4);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 30px;
  animation: fadeUp 1s ease-out 0.2s both;
}
.hero-logo-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: block;
  animation: fadeUp 1s ease-out 0.3s both;
  filter: drop-shadow(0 0 60px rgba(196,26,26,0.3));
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 10px;
  animation: fadeUp 1s ease-out 0.4s both;
}
.hero h1 .red { color: var(--red); }
.hero-sub {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 40px;
  animation: fadeUp 1s ease-out 0.5s both;
}
.hero-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.6s both;
}
.btn-primary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  border-radius: 100px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--red-glow); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(196,26,26,0.3); }
.btn-outline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 2px solid var(--grey-dark);
  border-radius: 100px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--white); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.hero-scroll span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
}
.hero-scroll svg { width: 20px; height: 20px; stroke: var(--grey); }

/* ============ SECTIONS GENERAL ============ */
section { padding: 100px 5%; }
.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.1;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 550px;
}

/* ============ SERVICES ============ */
.services { background: var(--black-deep); position: relative; }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-desc { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--grey-surface);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(196,26,26,0.2); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 50px; height: 50px;
  background: rgba(196,26,26,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--red);
}
.service-price span {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 400;
}

/* ============ BARBERS ============ */
.barbers {
  background: #0a0f12;
  position: relative;
}
.barbers-header { margin-bottom: 60px; }
.barbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
}
.barber-card {
  background: var(--grey-surface);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  border: 1px solid rgba(255,255,255,0.03);
}
.barber-card:hover { transform: translateY(-4px); border-color: rgba(196,26,26,0.15); }
.barber-img {
  width: 100%; height: 280px;
  background: var(--grey-dark);
  position: relative;
  overflow: hidden;
}
.barber-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(196,26,26,0.2);
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}
.barber-info { padding: 24px; }
.barber-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.barber-info .role {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 10px;
}
.barber-info p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.5;
}
.barber-rating {
  display: flex; align-items: center; gap: 6px;
  margin-top: 12px;
}
.barber-rating .stars { color: var(--red); font-size: 0.75rem; }
.barber-rating span { font-size: 0.75rem; color: var(--grey); }

/* ============ APP SECTION ============ */
.app-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.app-section .bg-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,26,26,0.08) 0%, transparent 70%);
  top: 50%; right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.app-info .section-desc { margin-bottom: 30px; }
.app-features {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 30px;
}
.app-feature {
  display: flex; align-items: center; gap: 14px;
}
.app-feature .check {
  width: 28px; height: 28px;
  background: rgba(196,26,26,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-feature .check svg { width: 14px; height: 14px; stroke: var(--red); fill: none; stroke-width: 2.5; }
.app-feature span { font-size: 0.9rem; color: var(--white-soft); }

/* Phone Mockup */
.phone-mockup {
  width: 280px;
  margin: 0 auto;
  position: relative;
}
.phone-frame {
  background: #111;
  border-radius: 40px;
  border: 3px solid #222;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(196,26,26,0.08);
}
.phone-notch {
  width: 120px; height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
}
.phone-screen {
  padding: 0;
  min-height: 520px;
}

/* ============ BOOKING APP SCREENS ============ */
.app-screen { padding: 20px; }
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.app-header .greeting {
  font-size: 0.65rem;
  color: var(--grey);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.app-header h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.app-search {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #222;
  background: #0e0e0e;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-bottom: 20px;
  outline: none;
}
.app-services-list { display: flex; flex-direction: column; gap: 10px; }
.app-service-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: #0e0e0e;
  border-radius: 14px;
  border: 1px solid #1a1a1a;
}
.app-service-item .info h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.app-service-item .info .meta {
  font-size: 0.7rem;
  color: var(--grey);
  margin-top: 2px;
}
.toggle {
  width: 44px; height: 24px;
  border-radius: 12px;
  background: #222;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle.on { background: var(--red); }
.toggle::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  top: 3px; left: 3px;
  transition: transform 0.3s;
}
.toggle.on::after { transform: translateX(20px); }
.app-book-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.app-book-btn:hover { background: var(--red-glow); }

/* ============ LOCATION ============ */
.location { background: var(--black-deep); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
}
.location-map {
  width: 100%;
  height: 350px;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #1a1a1a;
}
.location-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(1) invert(1) contrast(0.8) brightness(0.6); }
.location-details h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--red);
}
.location-item {
  display: flex; gap: 14px;
  margin-bottom: 20px;
}
.location-item svg {
  width: 20px; height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.location-item .text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.location-item .text p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.5;
}
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin-top: 10px;
}
.hours-grid .day { font-size: 0.8rem; color: var(--grey); }
.hours-grid .time { font-size: 0.8rem; font-weight: 500; }
.hours-grid .closed { color: var(--red); opacity: 0.7; }

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--red-dark) 0%, #0a0a0a 60%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section .bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 200px);
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-section .section-title { margin-bottom: 16px; position: relative; z-index: 2; }
.cta-section .section-desc { margin: 0 auto 40px; text-align: center; position: relative; z-index: 2; }

/* ============ FOOTER ============ */
.footer {
  background: #060606;
  padding: 60px 5% 30px;
  border-top: 1px solid #111;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin-bottom: 40px;
}
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-brand .name .red { color: var(--red); }
.footer-brand p { font-size: 0.8rem; color: var(--grey); line-height: 1.6; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 0.8rem;
  color: var(--grey);
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.3s;
}
.footer-col li:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #111;
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1100px;
}
.footer-bottom p { font-size: 0.7rem; color: #444; }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #111;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.social-links a:hover { background: var(--red); }
.social-links svg { width: 16px; height: 16px; fill: var(--white); }

/* ============ MOBILE NAV ============ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(5,5,5,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 60px 5%; }
  .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-mockup { order: -1; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .barbers-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}