/* ============================================
   EMPIRE BARBER SHOP — STYLESHEET
   Palette: Midnight Blue (#0d1b2a) + Mint (#2dd4bf)
   Fonts: Space Grotesk (headings) + Inter (body)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --midnight: #0d1b2a;
  --midnight-light: #1a2d42;
  --midnight-lighter: #243b54;
  --mint: #2dd4bf;
  --mint-dark: #1fb8a6;
  --mint-light: #5eead4;
  --mint-pale: #ccfbf1;
  --white: #ffffff;
  --off-white: #f0fdf9;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(13,27,42,0.08);
  --shadow-md: 0 4px 20px rgba(13,27,42,0.10);
  --shadow-lg: 0 8px 40px rgba(13,27,42,0.14);
  --shadow-xl: 0 16px 60px rgba(13,27,42,0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--mint); color: var(--midnight);
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
.text-mint { color: var(--mint); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.95rem; border-radius: var(--radius-md);
  padding: 14px 28px; transition: all var(--transition);
  white-space: nowrap;
}
.btn-mint {
  background: var(--mint); color: var(--midnight);
  box-shadow: 0 4px 20px rgba(45,212,191,0.35);
}
.btn-mint:hover {
  background: var(--mint-dark); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,212,191,0.45);
}
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  border-color: var(--mint); color: var(--mint);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Section Tags --- */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 0.8rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--mint); margin-bottom: 16px;
  background: rgba(45,212,191,0.1); padding: 6px 14px;
  border-radius: 50px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--midnight); margin-bottom: 20px;
}
.section-desc {
  font-size: 1.1rem; color: var(--gray-600);
  max-width: 560px; line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-desc { margin: 0 auto; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45,212,191,0.15);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(13,27,42,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.4rem; color: var(--white);
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--mint); color: var(--midnight);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
}
.logo-dot { color: var(--mint); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a:not(.btn) {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,0.08); }
.btn-nav { margin-left: 8px; padding: 10px 22px; font-size: 0.85rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.hamburger {
  display: block; width: 22px; height: 14px;
  position: relative;
}
.hamburger::before,
.hamburger::after,
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--white); border-radius: 2px;
  position: absolute; transition: all var(--transition);
}
.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  background: var(--midnight);
  overflow: hidden; padding: 120px 0 80px;
}
.hero-bg-pattern {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none;
}
.geo-circle {
  position: absolute; border-radius: 50%;
  background: rgba(45,212,191,0.06);
}
.geo-circle--1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: rgba(45,212,191,0.05);
}
.geo-circle--2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: rgba(45,212,191,0.04);
}
.geo-circle--3 {
  width: 200px; height: 200px;
  top: 40%; left: 60%;
  background: rgba(45,212,191,0.03);
}
.geo-diamond {
  position: absolute;
  background: rgba(45,212,191,0.05);
  transform: rotate(45deg);
}
.geo-diamond--1 { width: 120px; height: 120px; top: 20%; left: 10%; }
.geo-diamond--2 { width: 80px; height: 80px; bottom: 25%; right: 15%; }
.geo-stripe {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--mint) 0px, var(--mint) 60px,
    transparent 60px, transparent 80px
  );
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.25);
  color: var(--mint); font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 10px 20px; border-radius: 50px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 600px; margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex; justify-content: center; align-items: center; gap: 32px;
}
.stat { text-align: center; }
.stat-num {
  display: block; font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700; color: var(--mint);
}
.stat-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
}
.hero-geometric-accent {
  position: absolute; bottom: 80px; right: 60px;
  opacity: 0.4; z-index: 1;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  position: relative; padding: 100px 0;
  background: var(--gray-50);
  overflow: hidden;
}
.services-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 8px;
  display: flex;
}
.accent-block { flex: 1; }
.accent-block--mint { background: var(--mint); }
.accent-block--blue { background: var(--midnight); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--mint);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  background: rgba(45,212,191,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-dark); margin-bottom: 24px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--mint); color: var(--midnight);
}
.service-name {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 700;
  color: var(--midnight); margin-bottom: 12px;
}
.service-desc {
  font-size: 0.95rem; color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrapper {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-img-accent {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.2) 0%, transparent 60%);
  border-radius: var(--radius-xl);
}
.about-floating-card {
  position: absolute; bottom: -30px; right: -30px;
  background: var(--mint); color: var(--midnight);
  padding: 24px 28px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
}
.floating-card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 800;
  line-height: 1;
}
.floating-card-label {
  font-size: 0.85rem; font-weight: 600;
  line-height: 1.4;
}
.about-content .section-tag { margin-bottom: 16px; }
.about-text {
  font-size: 1.05rem; color: var(--gray-600);
  line-height: 1.8; margin-bottom: 16px;
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 32px 0 40px;
}
.value-item {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--gray-700);
  font-size: 0.95rem;
}
.value-icon {
  width: 28px; height: 28px;
  background: rgba(45,212,191,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-dark); flex-shrink: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0 0;
  background: var(--midnight);
  overflow: hidden;
}
.gallery .section-title { color: var(--white); }
.gallery .section-header { margin-bottom: 50px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  padding-bottom: 80px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
}
.gallery-item--large {
  grid-column: span 7;
  grid-row: span 2;
}
.gallery-item--wide { grid-column: span 5; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.8) 0%, transparent 60%);
  display: flex; align-items: flex-end;
  padding: 24px; opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 600;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-accent-bar {
  display: flex; height: 6px;
}
 accent-segment { flex: 1; }
.accent-segment--mint { background: var(--mint); }
.accent-segment--blue { background: var(--midnight-lighter); }
.accent-segment--dark { background: var(--gray-700); }

/* ============================================
   HOURS
   ============================================ */
.hours {
  padding: 100px 0;
  background: var(--gray-50);
}
.hours-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--white);
}
.hours-content {
  padding: 60px 56px;
  background: var(--midnight);
  color: var(--white);
}
.hours-content .section-tag { color: var(--mint); }
.hours-content .section-title { color: var(--white); }
.hours-table { margin-top: 36px; }
.hours-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hours-row:last-child { border-bottom: none; }
.hours-day {
  font-weight: 500; color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.hours-time {
  font-family: var(--font-heading);
  font-weight: 600; color: var(--mint);
  font-size: 0.95rem;
}
.hours-row--closed .hours-time { color: var(--gray-400); }
.hours-map {
  position: relative; min-height: 450px;
}
.hours-map iframe {
  position: absolute; inset: 0;
}
.map-overlay-accent {
  position: absolute; inset: 0;
  border-left: 4px solid var(--mint);
  pointer-events: none;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-desc {
  font-size: 1.05rem; color: var(--gray-600);
  line-height: 1.75; margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex; gap: 20px;
}
.contact-icon {
  width: 52px; height: 52px;
  background: rgba(45,212,191,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-dark); flex-shrink: 0;
}
.contact-item strong {
  display: block; font-family: var(--font-heading);
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-500);
  margin-bottom: 4px; font-weight: 600;
}
.contact-item p {
  font-size: 1rem; color: var(--gray-800);
  line-height: 1.6;
}
.contact-item a {
  color: var(--midnight); font-weight: 600;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--mint-dark); }

/* Form */
.contact-form-wrapper {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--gray-200);
}
.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  color: var(--midnight); margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem;
  font-weight: 600; color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem; color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; padding: 16px 20px;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.3);
  border-radius: var(--radius-md);
  color: var(--mint-dark); font-weight: 500;
}
.form-success svg { flex-shrink: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--midnight);
  color: var(--white);
}
.footer-inner {
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem; line-height: 1.75;
  margin-top: 20px; max-width: 320px;
}
.footer-links {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--mint);
  margin-bottom: 20px; font-weight: 700;
}
.footer-col a,
.footer-col p {
  display: block; color: rgba(255,255,255,0.6);
  font-size: 0.9rem; padding: 6px 0;
  transition: color var(--transition);
  line-height: 1.6;
}
.footer-col a:hover { color: var(--mint); }
.footer-col p { color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--mint); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 50px; }
  .gallery-item--large { grid-column: span 8; }
  .gallery-item--wide { grid-column: span 4; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(13,27,42,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch;
    padding: 24px; gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(45,212,191,0.15);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 14px 16px; }
  .btn-nav { margin-left: 0; text-align: center; justify-content: center; margin-top: 8px; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.2rem; }
  .hero-geometric-accent { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 28px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-floating-card {
    bottom: -20px; right: 16px;
    padding: 16px 20px;
  }
  .floating-card-num { font-size: 1.8rem; }
  .about-values { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hours-card { grid-template-columns: 1fr; }
  .hours-content { padding: 40px 32px; }
  .hours-map { min-height: 300px; }

  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-form-wrapper { padding: 32px 24px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px 40px;
  }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 50px; }
  .section-header { margin-bottom: 40px; }
  .services, .about, .hours, .contact { padding: 70px 0; }
  .contact-form-wrapper { padding: 24px 20px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .geo-circle, .geo-diamond { display: none; }
}
