/* Ichama Barber — Production Stylesheet */
:root {
  --bg-primary: #0B1A12;
  --bg-elevated: #122419;
  --bg-card: #142A1D;
  --text-primary: #F1ECDF;
  --text-secondary: #C8CFC4;
  --text-muted: #A8B2A6;
  --text-dim: #7F8C80;
  --accent-gold: #C9A55A;
  --border-subtle: rgba(241, 236, 223, 0.08);
  --border-light: rgba(241, 236, 223, 0.14);
  --border-input: rgba(241, 236, 223, 0.25);
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: var(--accent-gold);
}

input, select, button, textarea {
  font-family: inherit;
}

/* Accessibility & Touch Targets (min 44x44px) */
.touch-target {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}

/* Header & Navigation */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6%;
}

.site-header--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.86;
  color: var(--text-primary);
}

.brand-logo img {
  height: 76px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: none;
  gap: 44px;
  font-size: 15px;
  font-weight: 500;
}

.desktop-nav a {
  color: var(--text-muted);
  padding: 12px 0 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover {
  color: var(--text-primary);
}

.desktop-nav a.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-phone {
  display: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  min-height: 44px;
  align-items: center;
}

.menu-toggle {
  background: none;
  border: 0;
  padding: 10px 8px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s ease, width 0.25s ease, background-color 0.25s ease;
}

.menu-toggle:hover span {
  background: var(--accent-gold);
}

.menu-toggle span:nth-child(1) { width: 28px; }
.menu-toggle span:nth-child(2) { width: 20px; }
.menu-toggle span:nth-child(3) { width: 28px; }

/* Fullscreen Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  padding: 28px 6% 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-close {
  background: none;
  border: 0;
  color: var(--text-primary);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 8px;
  min-height: 44px;
  min-width: 44px;
}

.menu-close:hover {
  color: var(--accent-gold);
}

.menu-overlay__nav {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.menu-overlay__nav a {
  display: inline-block;
  width: fit-content;
}

.menu-overlay__footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--text-muted);
}

.menu-overlay__footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Buttons & Hover Utilities */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 18px 28px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(241, 236, 223, 0.3);
  color: var(--text-primary);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.link-underline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

/* Card Image Zoom */
.card-link {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--text-primary);
}

.card-link:hover {
  color: var(--text-primary);
}

.card-link:hover h3 {
  color: var(--accent-gold);
}

.card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-card);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.card-link:hover .card-media img {
  transform: scale(1.04);
}

/* Home Hero Slider Controls */
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease, transform 7s ease-out;
  pointer-events: none;
}

.hero-slide-img.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-side-list {
  display: none;
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  z-index: 4;
}

.hero-side-btn {
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  font: inherit;
  color: #8A968B;
  transition: color 0.3s ease;
}

.hero-side-btn:hover {
  color: var(--text-primary);
}

.hero-side-btn.is-active {
  color: var(--text-primary);
}

.hero-side-dash {
  display: block;
  height: 1px;
  background: var(--text-primary);
  width: 0;
  transition: width 0.4s ease;
}

.hero-side-btn.is-active .hero-side-dash {
  width: 24px;
}

.hero-counter-nav {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translate(50%, -50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.hero-arrow-btn {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  transition: color 0.25s ease;
}

.hero-arrow-btn:hover {
  color: var(--accent-gold);
}

/* Services Sticky Subnav */
.services-subnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 26, 18, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 6%;
  display: flex;
  gap: 36px;
  overflow-x: auto;
  font-size: 14px;
  font-weight: 500;
  scrollbar-width: none;
}

.services-subnav::-webkit-scrollbar {
  display: none;
}

.services-subnav a {
  padding: 20px 0;
  min-height: 44px;
  white-space: nowrap;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.services-subnav a:hover {
  color: var(--accent-gold);
}

/* Credentials Grid on Founder Page */
.credentials-grid {
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.credentials-cell {
  padding: 56px 6%;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Footer */
.site-footer {
  padding: 64px 6% 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  border-top: 1px solid var(--border-subtle);
}

.site-footer__main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.site-footer__links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  font-size: 15px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__col a,
.site-footer__col span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

/* Form Styles */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-input,
.form-select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-input);
  color: var(--text-primary);
  font-size: 18px;
  padding: 12px 0;
  min-height: 48px;
  outline: none;
  border-radius: 0;
  width: 100%;
  transition: border-color 0.25s ease;
}

.form-select {
  background-color: var(--bg-elevated);
}

.form-input:focus,
.form-select:focus {
  border-bottom-color: var(--accent-gold);
}

/* Responsive Breakpoints */
@media (min-width: 900px) {
  .site-header {
    padding: 36px 6%;
  }
  .desktop-nav {
    display: flex;
  }
  .header-phone {
    display: inline-flex;
  }
  .hero-side-list {
    display: flex;
  }
  .credentials-cell {
    border-bottom: 0;
    border-right: 1px solid var(--border-subtle);
  }
  .credentials-cell:last-child {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .brand-logo img {
    height: 60px;
  }
  .hero-counter-nav {
    right: 4%;
    transform: translateY(-50%);
  }
  .services-hero-img {
    width: 100% !important;
    opacity: 0.35;
  }
}

