/* ======================================================
   TO MAN Barber Club — Ana Stil Dosyası
   Renk: Siyah / Antrasit / Beyaz / Altın
   Başlık fontu: Oswald  |  Metin fontu: Inter
   ====================================================== */

:root {
  /* Marka Renkleri */
  --c-black: #0b0a09;
  --c-anthracite: #1b1917;
  --c-anthracite-2: #26221e;
  --c-white: #f6f4ef;
  --c-white-dim: #cfc9be;
  --c-gold: #dba928;
  --c-gold-light: #eec765;
  --c-gold-dark: #a87c17;
  --c-line: rgba(246, 244, 239, 0.12);

  /* Tipografi */
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Boşluk / Ölçek */
  --container-w: 1180px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-elevate: 0 18px 40px -22px rgba(0, 0, 0, 0.6);

  --header-h: 76px;
  --mobile-bar-h: 62px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font: inherit; }

body {
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: var(--c-white);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-gold);
  color: var(--c-black);
  padding: 12px 18px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* -------------------- Section rahmen -------------------- */
.section { padding: 96px 0; position: relative; scroll-margin-top: var(--header-h); }
.section--tight { padding: 72px 0; }
#ana-icerik { scroll-margin-top: 0; }
.section-anthracite { background: var(--c-anthracite); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-gold);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-kicker .scissors-mark {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.section-head p {
  color: var(--c-white-dim);
  margin-top: 14px;
  font-size: 1.02rem;
  max-width: 52ch;
}
.section-head--center p { margin-left: auto; margin-right: auto; }

/* -------------------- Barber Stripe Accent -------------------- */
.stripe-divider {
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--c-gold) 0, var(--c-gold) 10px,
    var(--c-black) 10px, var(--c-black) 20px
  );
  opacity: 0.9;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-black);
}
.btn--gold:hover { background: var(--c-gold-light); transform: translateY(-2px); }

.btn--outline {
  border-color: rgba(246, 244, 239, 0.35);
  color: var(--c-white);
}
.btn--outline:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  border-color: rgba(11, 10, 9, 0.25);
  color: var(--c-black);
}
.btn--ghost-dark:hover { background: rgba(11,10,9,0.08); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 0.85rem; }

/* -------------------- Header -------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.3s var(--ease);
  background: linear-gradient(to bottom, rgba(11,10,9,0.75), rgba(11,10,9,0));
}
.site-header.is-scrolled {
  background: rgba(11, 10, 9, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -14px rgba(0,0,0,0.7);
  height: 68px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
}
.brand img {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-desktop a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--c-white); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--c-gold);
  transition: right 0.28s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { right: 0; }

.header-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 6px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
}
.hamburger span:nth-child(1) { width: 26px; }
.hamburger span:nth-child(2) { width: 20px; }
.hamburger span:nth-child(3) { width: 26px; }
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  width: 26px;
}
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  width: 26px;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--c-black);
  z-index: 490;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 20px) 28px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.nav-mobile.is-open {
  transform: translateX(0);
  visibility: visible;
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--c-line);
}
.nav-mobile a {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-white);
}
.nav-mobile-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,7,6,0.96) 2%, rgba(8,7,6,0.55) 42%, rgba(8,7,6,0.35) 65%, rgba(8,7,6,0.72) 100%),
    linear-gradient(to right, rgba(8,7,6,0.55) 0%, rgba(8,7,6,0.05) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 96px;
  padding-top: calc(var(--header-h) + 40px);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-gold-light);
  font-family: var(--font-head);
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .rule { width: 40px; height: 1px; background: var(--c-gold); }

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  max-width: 15ch;
  margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--c-white-dim);
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-white-dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* -------------------- Hakkımızda -------------------- */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-content .section-kicker { justify-content: center; }
.about-text p {
  color: var(--c-white-dim);
  font-size: 1.05rem;
  margin: 0 auto 20px;
  max-width: 58ch;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
  max-width: 480px;
}
.about-stats .stat-num {
  font-family: var(--font-head);
  color: var(--c-gold);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  display: block;
}
.about-stats .stat-label {
  color: var(--c-white-dim);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -------------------- Hizmetler -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.service-card {
  background: var(--c-anthracite);
  padding: 38px 32px;
  transition: background 0.3s var(--ease);
}
.service-card:hover { background: var(--c-anthracite-2); }
.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--c-gold);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.service-card p {
  color: var(--c-white-dim);
  font-size: 0.95rem;
}

/* -------------------- İletişim -------------------- */
.contact-grid {
  display: grid;
  gap: 40px;
}
.contact-card {
  background: var(--c-anthracite);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 40px 34px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 30px 0 34px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-list .ic {
  width: 22px;
  height: 22px;
  color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list a:hover { color: var(--c-gold-light); }
.contact-list .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-white-dim);
  margin-bottom: 3px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}
.hours-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.95rem;
}
.hours-table td:last-child { text-align: right; color: var(--c-white-dim); }
.hours-table tr:last-child td { color: var(--c-gold); border-bottom: none; }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 380px;
  position: relative;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* -------------------- Mobil Sabit Çubuk -------------------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 480;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(11,10,9,0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 4px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--font-head);
  color: var(--c-white-dim);
  border-right: 1px solid var(--c-line);
}
.mobile-bar a:last-child { border-right: none; }
.mobile-bar a.is-accent { color: var(--c-gold); }
.mobile-bar svg { width: 21px; height: 21px; }

@media (min-width: 901px) {
  .mobile-bar { display: none; }
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--c-black);
  padding: 64px 0 28px;
  border-top: 1px solid var(--c-line);
}
.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-brand p {
  color: var(--c-white-dim);
  font-size: 0.94rem;
  max-width: 34ch;
}
.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span {
  color: var(--c-white-dim);
  font-size: 0.94rem;
}
.footer-col a:hover { color: var(--c-white); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--c-white-dim);
  font-size: 0.82rem;
}

/* -------------------- Responsive -------------------- */
@media (min-width: 640px) {
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 780px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 901px) {
  body { padding-bottom: 0; }
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .hamburger, .nav-mobile { display: none; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-scroll-cue { display: flex; }
}

/* body offset for fixed mobile bar */
body { padding-bottom: var(--mobile-bar-h); }
@media (min-width: 901px) { body { padding-bottom: 0; } }

/* Lazy load fade */
img[loading="lazy"] {
  background: var(--c-anthracite);
}
