/* BOSS Erkek Kuaförü — premium one-page */

:root {
  --bg: #0b0b0b;
  --bg-2: #151515;
  --bg-3: #1a1a1a;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --gold: #c4a36a;
  --gold-2: #d8bc86;
  --gold-dim: rgba(196, 163, 106, 0.22);
  --line: rgba(245, 245, 245, 0.08);
  --line-gold: rgba(196, 163, 106, 0.35);
  --font-d: "Sora", sans-serif;
  --font-b: "Manrope", sans-serif;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-b);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 8px 14px;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 12px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("../images/noise.png");
  mix-blend-mode: overlay;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-b);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}

h1,
h2,
h3,
.hero__force {
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-top: 14px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: #111;
  box-shadow: 0 0 0 0 rgba(196, 163, 106, 0);
}

.btn--gold:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 163, 106, 0.22);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(245, 245, 245, 0.28);
}

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

.btn--lg {
  min-height: 54px;
  padding: 0 28px;
}

.btn--xl {
  min-height: 64px;
  padding: 0 36px;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  z-index: 2;
}

.nav__logo {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.78);
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta-mobile {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 2;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.3s;
}

.nav__toggle span:first-child {
  top: 18px;
}

.nav__toggle span:last-child {
  top: 26px;
}

.nav.is-open .nav__toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0 0 88px;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11, 11, 11, 0.18) 0%, rgba(11, 11, 11, 0.62) 72%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.42) 0%, rgba(11, 11, 11, 0.28) 40%, rgba(11, 11, 11, 0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: 12px;
  container-type: inline-size;
  text-align: center;
}

.hero__force {
  font-size: clamp(3.2rem, 13vw, 9.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  margin: 18px 0 10px;
  color: var(--text);
  white-space: nowrap;
  max-width: 100%;
}

@supports (font-size: 1cqi) {
  .hero__force {
    font-size: clamp(3.2rem, 18.5cqi, 9.5rem);
  }
}

.hero__title {
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  font-weight: 700;
  max-width: 14ch;
  margin: 0 auto 18px;
}

.hero__title span {
  color: var(--gold);
}

.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(245, 245, 245, 0.78);
  font-weight: 300;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero__phone {
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  color: rgba(245, 245, 245, 0.62);
}

.hero__phone:hover {
  color: var(--gold);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(245, 245, 245, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-hint i {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  display: block;
  animation: pulse-line 2.2s var(--ease) infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.7);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Statement */

.statement {
  padding: 140px 0 120px;
  border-top: 1px solid var(--line);
}

.statement__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.statement__quote {
  font-family: var(--font-d);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: none;
  max-width: 16ch;
}

.statement__copy {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 42ch;
  padding-top: 0;
}

/* Services */

.services {
  padding: 40px 0 120px;
}

.section-head {
  margin-bottom: 56px;
  text-align: center;
}

.section-head__sub {
  margin: 16px auto 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 36ch;
}

.section-head--split {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--bg-2);
  padding: 40px 28px 42px;
  min-height: 230px;
  text-align: center;
  border: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.service-card:hover {
  background: #1b1b1b;
  border-color: var(--line-gold);
  transform: translateY(-6px);
}

.service-card__no {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  margin-bottom: 28px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--muted);
  font-weight: 300;
  max-width: 28ch;
  margin-inline: auto;
}

/* Gallery */

.gallery {
  padding: 40px 0 80px;
  overflow: hidden;
}

.gallery .container {
  margin-bottom: 40px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 28vw;
  gap: 10px;
  width: min(1600px, calc(100% - 24px));
  margin-inline: auto;
}

.gallery__item {
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 11, 0.35) 100%);
  transition: border-color 0.4s var(--ease);
}

.gallery__item:hover::after {
  border-color: rgba(196, 163, 106, 0.4);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.12);
}

.gallery__item--a {
  grid-column: 1 / 8;
  grid-row: span 2;
}

.gallery__item--b {
  grid-column: 8 / 13;
  grid-row: span 1;
}

.gallery__item--c {
  grid-column: 8 / 13;
  grid-row: span 1;
}

.gallery__item--d {
  grid-column: 1 / 6;
  grid-row: span 1;
}

.gallery__item--e {
  grid-column: 6 / 13;
  grid-row: span 1;
}

.gallery__item--f {
  grid-column: 1 / 5;
  grid-row: span 1;
}

.gallery__item--g {
  grid-column: 5 / 9;
  grid-row: span 1;
}

.gallery__item--h {
  grid-column: 9 / 13;
  grid-row: span 1;
}

/* Why */

.why {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why__item {
  padding: 36px 24px 32px;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.why__item:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
}

.why__item span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
}

.why__item h3 {
  font-size: 1.15rem;
  margin: 22px 0 12px;
  text-transform: none;
}

.why__item p {
  color: var(--muted);
  font-weight: 300;
  padding-right: 0;
}

/* CTA */

.cta {
  padding: 130px 0;
  background:
    radial-gradient(ellipse at center, rgba(196, 163, 106, 0.09), transparent 58%),
    var(--bg-2);
  border-block: 1px solid var(--line-gold);
  text-align: center;
}

.cta__title {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5.4vw, 4.25rem);
}

.cta__title span {
  display: block;
}

.cta__copy {
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 300;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Location */

.location {
  padding: 120px 0 100px;
}

.location__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.location__info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location__lead {
  color: var(--muted);
  font-weight: 300;
  margin: 22px auto 32px;
  max-width: 38ch;
}

.location__address {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.location__phone {
  margin-bottom: 32px;
}

.location__phone a {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.location__map {
  min-height: 460px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.72);
}

/* Footer */

.footer {
  padding: 64px 0 110px;
  border-top: 1px solid var(--line);
  background: #080808;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  align-items: center;
  padding-bottom: 40px;
}

.footer__brand img {
  width: min(240px, 70vw);
  height: auto;
  margin-inline: auto;
}

.footer__meta {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  font-weight: 300;
}

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

.footer__copy {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #6a6a6a;
  font-size: 0.78rem;
}

/* Mobile bar */

.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #111;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease);
}

.mobile-bar.is-hidden {
  transform: translateY(140%);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
}

.hero .reveal,
.reveal.is-in {
  animation: fade-up 0.95s var(--ease) forwards;
}

.hero .eyebrow { animation-delay: 0.05s; }
.hero .hero__force { animation-delay: 0.12s; }
.hero .hero__title { animation-delay: 0.22s; }
.hero .hero__lead { animation-delay: 0.32s; }
.hero .hero__actions { animation-delay: 0.4s; }
.hero .hero__phone { animation-delay: 0.5s; }

.service-card.reveal.is-in:nth-child(2) { animation-delay: 0.07s; }
.service-card.reveal.is-in:nth-child(3) { animation-delay: 0.14s; }
.service-card.reveal.is-in:nth-child(4) { animation-delay: 0.08s; }
.service-card.reveal.is-in:nth-child(5) { animation-delay: 0.16s; }
.service-card.reveal.is-in:nth-child(6) { animation-delay: 0.22s; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.gallery__item.reveal {
  transform: none;
  clip-path: inset(12% 12% 12% 12%);
}

.gallery__item.reveal.is-in {
  animation: reveal-img 1.1s var(--ease) forwards;
}

@keyframes reveal-img {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* Responsive */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why__item {
    padding: 32px 24px;
    border-bottom: 0;
  }

  .why__item:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .location__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .gallery__grid {
    grid-auto-rows: 42vw;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 72px;
  }

  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 11, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .nav.is-open .nav__links {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a {
    font-family: var(--font-d);
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    font-weight: 700;
  }

  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 12px;
  }

  .nav__logo {
    height: 34px;
    max-width: min(58vw, 180px);
    object-fit: contain;
    object-position: left center;
  }

  .hero {
    align-items: center;
    padding-bottom: 120px;
  }

  .hero__force {
    font-size: clamp(3rem, 17cqi, 5.5rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .scroll-hint {
    display: none;
  }

  .section-head--split {
    flex-direction: column;
    align-items: center;
  }

  .services__grid,
  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__item,
  .why__item:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 58vw;
    gap: 8px;
  }

  .gallery__item--a,
  .gallery__item--b,
  .gallery__item--c,
  .gallery__item--d,
  .gallery__item--e,
  .gallery__item--f,
  .gallery__item--g,
  .gallery__item--h {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery__item--a,
  .gallery__item--d {
    grid-column: 1 / -1;
    min-height: 58vw;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
  }

  .footer__meta {
    text-align: center;
  }

  .mobile-bar {
    display: flex;
  }

  .footer {
    padding-bottom: 96px;
  }

  .container {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--lg,
  .btn--xl {
    width: 100%;
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .gallery__item.reveal,
  .scroll-hint i {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }
}
