/* ============================================================
   GHAZI'S FRISEUR — Style inspired by jfvegancafe.com
   ============================================================ */

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

:root {
  --bg:       #0d0c0a;
  --bg2:      #141210;
  --bg3:      #1c1915;
  --gold:     #c9a96e;
  --gold-lt:  #dfc28a;
  --cream:    #f0ebe3;
  --muted:    rgba(240,235,227,.5);
  --border:   rgba(201,169,110,.15);
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
  --ease:     cubic-bezier(.4,0,.2,1);
  --radius:   4px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── LABEL ── */
.label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -.02em;
}

/* ── GHOST BUTTON ── */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn-ghost:hover { background: var(--gold); color: var(--bg); }

/* ── SECTION BASE ── */
.section { padding: 120px 24px; max-width: 1280px; margin: 0 auto; }

/* ════════════════════════════════
   NAV
════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 40px;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  background: rgba(13,12,10,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 40px;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
}
.nav__list--left  { justify-content: flex-end; }
.nav__list--right { justify-content: flex-start; }

.nav__list a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(240,235,227,.65);
  transition: color .3s;
}
.nav__list a:hover { color: var(--gold); }

.nav__cta {
  display: none;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 64px;
}
.nav__logo-img {
  height: 128px;
  width: auto;
  object-fit: contain;
  transition: transform .3s var(--ease);
  filter: drop-shadow(0 2px 12px rgba(201,169,110,.2));
}
.nav__logo-img:hover { transform: scale(1.04); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.nav__burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

/* ════════════════════════════════
   DRAWER
════════════════════════════════ */
.drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--bg2);
  z-index: 1000;
  padding: 80px 40px 40px;
  transition: right .45s var(--ease);
  border-left: 1px solid var(--border);
}
.drawer.open { right: 0; }

.drawer__close {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
}
.drawer__close:hover { opacity: 1; }

.drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.drawer ul li a {
  display: block;
  padding: 18px 0;
  font-size: 1.1rem;
  font-family: var(--serif);
  color: var(--cream);
  border-bottom: 1px solid var(--border);
  transition: color .3s, padding-left .3s;
}
.drawer ul li a:hover { color: var(--gold); padding-left: 8px; }

.drawer__cta {
  color: var(--gold) !important;
  font-weight: 700;
}

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.drawer-overlay.active { opacity: 1; pointer-events: all; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(13,12,10,.88) 0%, rgba(13,12,10,.72) 60%, rgba(13,12,10,.9) 100%);
}

/* Floating photos */
.hero__float {
  position: absolute;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
  animation: floatImg 8s ease-in-out infinite;
}
.hero__float img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero__float--tl {
  width: clamp(140px, 16vw, 240px);
  height: clamp(180px, 22vw, 320px);
  top: 12%;
  left: 4%;
  animation-delay: 0s;
  transform: rotate(-3deg);
}
.hero__float--tr {
  width: clamp(120px, 14vw, 200px);
  height: clamp(150px, 18vw, 280px);
  top: 18%;
  right: 4%;
  animation-delay: -3s;
  transform: rotate(4deg);
}
.hero__float--bl {
  width: clamp(130px, 15vw, 220px);
  height: clamp(160px, 20vw, 300px);
  bottom: 12%;
  left: 6%;
  animation-delay: -6s;
  transform: rotate(2deg);
}

@keyframes floatImg {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -3deg)); }
  50%       { transform: translateY(-18px) rotate(var(--rot, -3deg)); }
}

.hero__float--tl { --rot: -3deg; }
.hero__float--tr { --rot: 4deg; }
.hero__float--bl { --rot: 2deg; }

/* Hero content — title centered, no CTA inside */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 640px;
  padding: 0 20px;
}

.hero__eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: .95;
  color: var(--cream);
  letter-spacing: -.03em;
}

.hero__sub {
  font-size: clamp(.6rem, 1.1vw, .8rem);
  font-weight: 400;
  letter-spacing: .28em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 2;
}

/* Circular rotating CTA — anchored right side of hero */
.hero__cta {
  position: absolute;
  right: 6%;
  bottom: 8%;
  top: auto;
  transform: none;
  z-index: 3;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.hero__cta-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spinRing 12s linear infinite;
}
.hero__cta-ring text {
  fill: var(--gold);
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 2px;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__cta-icon {
  font-size: 2.4rem;
  color: var(--cream);
  position: relative;
  z-index: 1;
  transition: transform .4s var(--ease);
  line-height: 1;
}
.hero__cta:hover .hero__cta-icon { transform: scale(1.2) rotate(-15deg); }

/* Scroll line */
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero__scroll span {
  display: block;
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: .3; transform: scaleY(.6); }
}

/* ════════════════════════════════
   TICKER
════════════════════════════════ */
.ticker {
  background: var(--gold);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}
.ticker__track span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bg);
}
.ticker__track .sep {
  font-size: .55rem;
  opacity: .6;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
.services {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.services__header { position: sticky; top: 120px; }

.services__list {
  display: flex;
  flex-direction: column;
}

.srv {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.srv:first-child { border-top: 1px solid var(--border); }

.srv__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  transition: color .3s;
}
.srv:hover .srv__num { color: var(--gold); }

.srv__body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
  transition: color .3s;
}
.srv:hover .srv__body h3 { color: var(--gold); }

.srv__body p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

.srv__price {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 6px;
}

/* ════════════════════════════════
   GALLERY
════════════════════════════════ */
.gallery {
  padding-top: 80px;
  padding-bottom: 120px;
}
.gallery__intro {
  text-align: center;
  margin-bottom: 64px;
}
.gallery__intro p {
  margin-top: 16px;
  font-size: .95rem;
  color: var(--muted);
  max-width: 420px;
  margin-left: auto; margin-right: auto;
}

.gallery__masonry {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.gi {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.gi img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  display: block;
}
.gi:hover img { transform: scale(1.06); }

.gi__ov {
  position: absolute; inset: 0;
  background: rgba(201,169,110,.0);
  transition: background .4s;
}
.gi:hover .gi__ov { background: rgba(201,169,110,.08); }

.gi--tall {
  grid-row: span 2;
  min-height: 560px;
}

.gi__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gi__col .gi {
  flex: 1;
  min-height: 240px;
}
.gi__col--offset { margin-top: 60px; }

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
.about {
  position: relative;
  overflow: hidden;
  padding: 140px 24px;
  max-width: none;
  background: var(--bg2);
}

.about__bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 20rem);
  font-weight: 700;
  color: rgba(201,169,110,.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.about__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
}
.about__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  border: 1px solid var(--border);
}
.about__badge svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spinRing 16s linear infinite;
}
.about__badge svg text {
  fill: var(--gold);
  font-size: 10px;
  font-family: var(--sans);
  letter-spacing: 2px;
  font-weight: 500;
}
.about__badge span {
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.about__text .section-title { margin-bottom: 28px; }

.about__text p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__checks {
  list-style: none;
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__checks li {
  display: flex;
  gap: 14px;
  font-size: .9rem;
  color: var(--cream);
}
.about__checks li span { color: var(--gold); }

/* ════════════════════════════════
   INFO (hours + contact merged)
════════════════════════════════ */
.info {
  max-width: none;
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}
.info::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/interior-3.jpg') center/cover no-repeat;
  filter: brightness(.16) saturate(.4);
  z-index: 0;
}

.info__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 80px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

/* Vertical divider between the two halves */
.info__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  min-height: 320px;
}

/* Hours half */
.info__hours .section-title { margin: 12px 0 32px; }

.info__rows {
  display: flex;
  flex-direction: column;
}

.hours__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.hours__row:first-child { border-top: 1px solid var(--border); }
.hours__row span:first-child { min-width: 180px; color: var(--cream); font-weight: 500; }
.hours__row span:last-child { color: var(--gold); font-weight: 600; letter-spacing: .05em; }
.hours__line { flex: 1; height: 1px; background: var(--border); }
.hours__row--closed span:first-child,
.hours__row--closed span:last-child { color: var(--muted); }

/* Contact half */
.info__contact .section-title { margin: 12px 0 36px; }

.info__cblocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.cblock h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.cblock p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}
.clink { color: var(--gold); font-weight: 600; }
.clink:hover { color: var(--gold-lt); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: #080806;
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo img {
  height: 48px; width: auto;
  object-fit: contain;
  opacity: .7;
  transition: opacity .3s;
}
.footer__logo:hover img { opacity: 1; }

.footer__copy {
  font-size: .78rem;
  color: rgba(240,235,227,.3);
  letter-spacing: .06em;
}

.footer__maps {
  font-size: .78rem;
  color: rgba(240,235,227,.3);
  letter-spacing: .06em;
  transition: color .3s;
}
.footer__maps:hover { color: var(--gold); }

/* ════════════════════════════════
   LIGHTBOX
════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none;
  color: var(--cream);
  font-size: 3rem;
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s;
  line-height: 1;
}
.lightbox__close:hover { opacity: 1; }

/* ════════════════════════════════
   SCROLL REVEAL
════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.rv-1 { transition-delay: .1s; }
.rv-2 { transition-delay: .2s; }
.rv-3 { transition-delay: .3s; }
.rv-4 { transition-delay: .4s; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr; gap: 48px; }
  .services__header { position: static; }
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__img-wrap { max-width: 100%; aspect-ratio: 16/9; }
  .about__badge { bottom: -10px; right: 10px; width: 100px; height: 100px; }
  .info__inner { grid-template-columns: 1fr; gap: 56px; }
  .info__divider { display: none; }
}

@media (max-width: 900px) {
  .nav__list { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 10px 24px; }
  .nav__logo { margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero__float--tr, .hero__float--bl { display: none; }
  .hero__float--tl {
    top: auto; bottom: 10%;
    left: 50%; transform: translateX(-50%) rotate(-2deg);
    width: 160px; height: 200px;
  }
  .hero__title { font-size: clamp(3.5rem, 12vw, 6rem); }
  .hero__sub { font-size: .6rem; }
  .hero__cta { width: 100px; height: 100px; left: 4%; right: auto; bottom: 14%; top: auto; transform: none; }
  .hero__cta-ring text { font-size: 10px; }

  .gallery__masonry {
    grid-template-columns: 1fr 1fr;
  }
  .gi--tall { grid-column: span 2; grid-row: span 1; min-height: 300px; }
  .gi__col--offset { margin-top: 0; }

  .hours__row span:first-child { min-width: 120px; }

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

  .section { padding: 80px 20px; }
  .about { padding: 80px 20px; }
  .hours { padding: 80px 20px; }
  .contact { padding: 80px 20px; }
  .footer { padding: 40px 20px; }
  .nav { padding: 14px 20px; }
}

@media (max-width: 480px) {
  .gallery__masonry { grid-template-columns: 1fr; }
  .gi--tall { grid-column: span 1; min-height: 260px; }
  .gi__col { flex-direction: row; }
  .gi__col--offset { margin-top: 0; }
  .srv { grid-template-columns: 44px 1fr; }
  .srv__price { display: none; }
}
