/* ==============================================
   BALD MONKEY HAIRMAKERS — style.css
   Mobile-first. No framework.
   ============================================== */

/* ------ FONTS ------ */
@font-face {
  font-family: 'Novecentowide';
  src: url('../assets/fonts/Novecentowide-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Novecentowide';
  src: url('../assets/fonts/Novecentowide-Normal.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SackersGothic';
  src: url('../assets/fonts/SackersGothicStd-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Qanelas';
  src: url('../assets/fonts/Qanelas-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Qanelas';
  src: url('../assets/fonts/Qanelas-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Qanelas';
  src: url('../assets/fonts/Qanelas-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ------ VARIABLES ------ */
:root {
  --color-black:  #0a0a0a;
  --color-dark:   #1a1a1a;
  --color-mid:    #2e2e2e;
  --color-gray:   #888888;
  --color-light:  #cccccc;
  --color-white:  #ffffff;

  --header-h:    68px;
  --transition:  0.3s ease;
}

/* ------ RESET & BASE ------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-black);
  color: var(--color-gray);
  font-family: 'Qanelas', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.text-center { text-align: center; }

/* Section labels — Qanelas Medium, tracked uppercase */
.section-label {
  font-family: 'Qanelas', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 14px;
}

/* Section headings — H2 */
.section-heading {
  font-family: 'Novecentowide', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 48px;
}

/* ------ BUTTONS ------ */
.btn {
  display: inline-block;
  font-family: 'Qanelas', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}

/* Primary: white background, black text */
.btn--primary {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-light);
  border-color: var(--color-light);
  color: var(--color-black);
  outline: none;
}

/* Ghost: transparent, white border */
.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
  outline: none;
}

.btn--large {
  font-size: 0.85rem;
  padding: 17px 44px;
}

/* ------ FADE-IN ANIMATION ------ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}


/* ==============================================
   HEADER
   ============================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background-color: var(--color-dark);
  box-shadow: 0 1px 0 var(--color-mid);
}

.header__inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header logo — icon + two-line brand name */
.header-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header-logo__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.header-logo__main {
  font-family: 'SackersGothic', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header-logo__sub {
  font-family: 'SackersGothic', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  color: #888888;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
/* NOTE: SackersGothic is the exclusive font for all brand name
   instances — hero title and header logo. Novecentowide is for
   section headings only. Do not use Novecentowide on .hero-title
   or .header-logo selectors. */

/* Mobile nav overlay */
.header__nav {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-dark);
  padding: 48px 24px;
  z-index: 99;
}
.header__nav.open {
  display: flex;
}

/* Nav links */
.header__nav a {
  font-family: 'Qanelas', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header__ig {
  display: flex;
  align-items: center;
  color: var(--color-white);
  transition: color var(--transition);
}
.header__ig:hover,
.header__ig:focus-visible {
  color: var(--color-gray);
  outline: none;
}

.lang-toggle {
  background: none;
  border: 1px solid var(--color-mid);
  color: var(--color-gray);
  font-family: 'Qanelas', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 6px 10px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.lang-toggle:hover,
.lang-toggle:focus-visible {
  color: var(--color-white);
  border-color: var(--color-white);
  outline: none;
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}
.header__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.header__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Tablet+ */
@media (min-width: 768px) {
  .header__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    position: static;
    background: none;
    padding: 0;
  }
  .header__hamburger {
    display: none;
  }
}


/* ==============================================
   HERO
   ============================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0a0a0a;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

/* H1 */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
  margin-bottom: 22px;
}

.hero-title__main {
  font-family: 'SackersGothic', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 5.5rem);
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-title__sub {
  font-family: 'SackersGothic', sans-serif;
  font-weight: 500;
  font-size: clamp(0.8rem, 2.5vw, 2rem);
  color: #cccccc;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__tagline {
  font-family: 'Qanelas', sans-serif;
  font-weight: 500;
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-light);
  margin-bottom: 44px;
}


/* ==============================================
   ABOUT
   ============================================== */
.about {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* H2 */
.about__heading {
  font-family: 'Novecentowide', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 24px;
}

.about__content p {
  color: var(--color-gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about__content p:last-of-type {
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }
  .about__image {
    flex: 0 0 40%;
  }
  .about__content {
    flex: 1;
  }
}


/* ==============================================
   MARQUEE STRIP
   ============================================== */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  background: #0a0a0a;
  border-top: 1px solid #2e2e2e;
  border-bottom: 1px solid #2e2e2e;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee-scroll 18s linear infinite;
}

.marquee-track span {
  font-family: 'SackersGothic', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #888888;
}

.marquee-track span[aria-hidden="true"] {
  color: #2e2e2e;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}


/* ==============================================
   GALLERY
   ============================================== */
.gallery {
  padding: 100px 0;
  background-color: var(--color-black);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.gallery__item {
  overflow: hidden;
  position: relative;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Dark overlay on hover */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.gallery__item:hover::after {
  opacity: 1;
}
.gallery__item:hover img,
.gallery__item:hover video {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
}

@media (min-width: 1200px) {
  .gallery__grid {
    gap: 9px;
  }
}

/* Image reveal — clip-path slide from top */
.reveal-image {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.18, 1);
}
.reveal-image.revealed {
  clip-path: inset(0% 0 0 0);
}

/* Gallery stagger delays — actual class is .gallery__item */
.gallery__item:nth-child(1) .reveal-image { transition-delay: 0s; }
.gallery__item:nth-child(2) .reveal-image { transition-delay: 0.1s; }
.gallery__item:nth-child(3) .reveal-image { transition-delay: 0.2s; }
.gallery__item:nth-child(4) .reveal-image { transition-delay: 0.3s; }
.gallery__item:nth-child(5) .reveal-image { transition-delay: 0.4s; }
.gallery__item:nth-child(6) .reveal-image { transition-delay: 0.5s; }
.gallery__item:nth-child(7) .reveal-image { transition-delay: 0.6s; }
.gallery__item:nth-child(8) .reveal-image { transition-delay: 0.7s; }
.gallery__item:nth-child(9) .reveal-image { transition-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-image {
    clip-path: inset(0% 0 0 0) !important;
    transition: none !important;
  }
}


/* ==============================================
   DYSON AMBASSADOR
   ============================================== */
.dyson-section {
  background: #0a0a0a;
  border-top: 1px solid #2e2e2e;
  border-bottom: 1px solid #2e2e2e;
  padding: 5rem 2rem;
  text-align: center;
}

.dyson-content {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.dyson-label {
  font-family: 'SackersGothic', sans-serif;
  font-size: 0.7rem;
  color: #888888;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.dyson-logo {
  max-width: 160px;
  width: 100%;
  display: block;
  margin: 0 auto;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.dyson-logo:hover {
  opacity: 1;
}

.dyson-text {
  font-family: 'Qanelas', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #888888;
  line-height: 1.8;
  text-align: center;
}


/* ==============================================
   BOOKING CTA
   ============================================== */
.booking-cta {
  padding: 112px 24px;
  background-color: var(--color-dark);
  border-top: 1px solid var(--color-mid);
  border-bottom: 1px solid var(--color-mid);
}

/* H2 */
.booking-cta__heading {
  font-family: 'Novecentowide', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}

.booking-cta__sub {
  color: var(--color-gray);
  font-size: 1rem;
  margin-bottom: 44px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.booking-cta__ig {
  margin-top: 28px;
  font-family: 'Qanelas', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.booking-cta__ig a {
  color: var(--color-gray);
  transition: color var(--transition);
}
.booking-cta__ig a:hover,
.booking-cta__ig a:focus-visible {
  color: var(--color-white);
  outline: none;
}


/* ==============================================
   CONTACT & INFO
   ============================================== */
.contact {
  padding: 100px 0;
  background-color: var(--color-dark);
  border-top: 1px solid var(--color-mid);
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon {
  color: var(--color-gray);
  margin-bottom: 1rem;
}

/* H3 */
.contact__title {
  font-family: 'Novecentowide', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
}

.contact__line {
  font-family: 'Qanelas', sans-serif;
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin: 0;
}

.contact__line--closed {
  opacity: 0.5;
}

.contact__phone {
  transition: color var(--transition);
}
.contact__phone:hover,
.contact__phone:focus-visible {
  color: var(--color-white);
  outline: none;
}

.contact__map {
  margin-top: 3rem;
}

.contact__map-iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 4px;
  display: block;
  filter: grayscale(100%) invert(90%) contrast(90%);
}

@media (min-width: 768px) {
  .contact__map-iframe {
    height: 350px;
  }

  .contact__grid {
    flex-direction: row;
    gap: 0;
  }

  .contact__col {
    flex: 1;
    padding: 3rem 48px;
  }

  .contact__col:first-child {
    padding-left: 0;
  }

  .contact__col:not(:last-child) {
    border-right: 1px solid rgba(46, 46, 46, 0.5);
  }
}

@media (min-width: 1200px) {
  .contact__col {
    padding: 3rem 64px;
  }
}


/* ==============================================
   FOOTER
   ============================================== */
.footer {
  padding: 52px 0 36px;
  background-color: var(--color-dark);
  border-top: 1px solid var(--color-mid);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer__logo-img {
  width: 26px;
  height: 26px;
  opacity: 0.6;
}

/* Salon name in footer — SackersGothic */
.footer__logo span {
  font-family: 'SackersGothic', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gray);
}

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

.footer__links a {
  font-family: 'Qanelas', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--color-white);
  outline: none;
}

.footer__copy {
  font-family: 'Qanelas', sans-serif;
  font-size: 0.75rem;
  color: var(--color-gray);
  opacity: 0.5;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* ==============================================
   CUSTOM CURSOR (desktop only — injected via JS)
   ============================================== */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
  will-change: left, top;
  mix-blend-mode: difference;
}

.cursor-dot.hover {
  transform: translate(-50%, -50%) scale(4);
  background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-dot { display: none; }
}


/* ==============================================
   MOBILE VIDEO FALLBACKS (max-width: 768px)
   ============================================== */

/* Hide fallback images on desktop by default */
.mobile-fallback {
  display: none !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {

  /* Hero: hide video, show static background */
  .hero__video {
    display: none !important;
  }
  .hero {
    background-image: url('../public/images/foto2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
  }

  /* Gallery video1 fallback */
  .gallery-item-video1 video {
    display: none;
  }
  .gallery-item-video1 .mobile-fallback {
    display: block !important;
  }

  /* Gallery video2 fallback */
  .gallery-item-video2 video {
    display: none;
  }
  .gallery-item-video2 .mobile-fallback {
    display: block !important;
  }
}
