/*
Theme Name: Baboon Tattoo Studio
Theme URI: https://baboon-tattoo-studio.local
Author: Baboon Tattoo Studio
Description: Baboon Tattoo Studio — Dark B/W theme. Two-artist layout (Alessia & Mario).
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: baboon-tattoo-studio
*/

/* ============================================
   VARIABLES
============================================ */
:root {
  --accent: #FFFFFF;
  --accent-dim: #CCCCCC;
  --dark: #141414;
  --dark-lighter: #1c1c1c;
  --dark-card: #181818;
  --dark-border: rgba(255, 255, 255, 0.08);
  --navbar-bg: #000000;
  --text: #F0F0F0;
  --text-dim: rgba(255, 255, 255, 0.7);
  --navbar-h: 170px;
}

@media (max-width: 900px) {
  :root { --navbar-h: 140px; }
}
@media (max-width: 480px) {
  :root { --navbar-h: 120px; }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: rgba(255, 255, 255, .4); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; cursor: pointer; color: inherit; font-family: inherit; }

/* ============================================
   TYPOGRAPHY HELPERS
============================================ */
.font-display { font-family: var(--font-title, 'Jost', sans-serif); }
.font-heading { font-family: var(--font-title, 'Jost', sans-serif); }
.font-body    { font-family: var(--font-body, 'Manrope', sans-serif); }
.font-sans    { font-family: var(--font-body, 'Manrope', sans-serif); }

/* ============================================
   LAYOUT
============================================ */
.container-custom { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.section-padding-lg { padding: 140px 0; }

/* ============================================
   GOLD ELEMENTS
============================================ */
.accent-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 1.5rem auto;
}

.accent-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 50%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  background: transparent;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  transition: left .4s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
}

.btn-primary:hover { color: var(--dark); border-color: var(--accent); }
.btn-primary:hover::before { left: 0; }

.section-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #000;
  transition: transform .3s;
}

.navbar.hidden { transform: translateY(-100%); }

/* WP admin bar offset */
body.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .navbar { top: 46px; }
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9rem;
  padding: 0;
  position: relative;
  height: var(--navbar-h);
}

@media (max-width: 900px) { .navbar-inner { gap: 1.5rem; } }
@media (max-width: 480px) { .navbar-inner { gap: 0.75rem; } }

.nav-link {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color .3s;
}

.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.navbar-logo img { height: 120px; width: auto; object-fit: contain; }

@media (max-width: 900px) {
  .navbar-logo img { height: 100px; }
  .nav-link { font-size: 13px; letter-spacing: 2.5px; }
}
@media (max-width: 480px) {
  .navbar-logo img { height: 85px; }
  .nav-link { font-size: 11px; letter-spacing: 1.5px; }
}

.navbar-burger {
  display: none;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.navbar-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  transition: all .3s;
}

.navbar-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-burger.open span:nth-child(2) { opacity: 0; }
.navbar-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Burger menu disabled — desktop links stay visible on mobile */
.navbar-burger { display: none !important; }
.mobile-menu { display: none !important; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, .98);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s;
}

.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu a {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  transition: color .3s;
}

.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--navbar-h));
}

main {
  padding-top: var(--navbar-h);
}

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

.hero-bg img, .hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg.gradient {
  background: linear-gradient(180deg, var(--dark-lighter), var(--dark), var(--dark));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(10, 10, 10, .3) 0%,
    rgba(10, 10, 10, .1) 30%,
    rgba(10, 10, 10, .5) 60%,
    rgba(10, 10, 10, .95) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 6px;
  line-height: 1.2;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 50%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 2px 6px rgba(0, 0, 0, .95))
    drop-shadow(0 4px 20px rgba(0, 0, 0, .85))
    drop-shadow(0 0 40px rgba(0, 0, 0, .6));
  animation: fadeInUp .8s ease .2s both;
}

.hero-subtitle {
  margin-top: 0.5rem;
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 6px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, .95),
    0 4px 16px rgba(0, 0, 0, .8),
    0 0 32px rgba(0, 0, 0, .6);
  animation: fadeInUp .8s ease .5s both;
}

.hero .accent-line {
  margin-top: 2rem;
  animation: fadeInUp .8s ease .7s both;
}

/* ============================================
   SECTIONS
============================================ */
.bg-dark-lighter { background: var(--dark-lighter); }

.section-title {
  font-family: var(--font-title, 'Jost', sans-serif);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body, 'Manrope', sans-serif);
  color: rgba(255, 255, 255, .5);
  font-style: italic;
  font-size: 1.25rem;
  margin-top: 1rem;
  text-align: center;
}

.text-accent { color: var(--accent); }
.text-white { color: #fff; }
.text-white-70 { color: rgba(255, 255, 255, .7); }
.text-white-50 { color: rgba(255, 255, 255, .5); }
.text-white-40 { color: rgba(255, 255, 255, .4); }

.intro-body {
  max-width: 700px;
  margin: 3rem auto 0;
  text-align: center;
}

.intro-body p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  text-align: center;
}

.intro-image {
  max-width: 800px;
  margin: 4rem auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
}

.intro-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   SPECIALIZATIONS
============================================ */
.specializations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .specializations-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    padding: .5rem 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .specializations-grid::-webkit-scrollbar { display: none; }
  .specializations-grid .spec-card {
    flex: 0 0 75%;
    min-width: 0;
    scroll-snap-align: center;
  }
}

.spec-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--dark-card);
}

.spec-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.spec-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  text-align: center;
  background: radial-gradient(ellipse at center,
    rgba(0, 0, 0, .75) 0%,
    rgba(0, 0, 0, .45) 55%,
    rgba(0, 0, 0, 0) 85%);
}


.spec-card-title {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: clamp(1rem, 1.9vw, 1.75rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: break-word;
  hyphens: auto;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 1),
    0 4px 20px rgba(0, 0, 0, .95),
    0 0 40px rgba(0, 0, 0, .9);
}

.spec-card-title-sm {
  font-size: clamp(0.8rem, 1.4vw, 1.2rem);
  letter-spacing: 1.5px;
}

.spec-card-desc {
  margin-top: 0.75rem;
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 1),
    0 2px 10px rgba(0, 0, 0, .9);
}

a.spec-card {
  display: block;
  text-decoration: none;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
a.spec-card:hover { transform: translateY(-4px); }
a.spec-card:hover img { transform: scale(1.04); transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
a.spec-card img { transition: transform .6s cubic-bezier(.4, 0, .2, 1); }

.spec-card-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, .7);
  color: var(--accent);
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .45);
  transition: all .3s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
}
a.spec-card:hover .spec-card-cta {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  text-shadow: none;
}

/* ============================================
   QUOTE / PRESS
============================================ */
.quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quote-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1.5rem;
  fill: rgba(255, 255, 255, .4);
}

.quote-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, .7);
  font-style: italic;
  line-height: 1.6;
}

.quote-author {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: .875rem;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ============================================
   CTA
============================================ */
.cta-block {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-block h2 {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-block p {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .5);
  font-style: italic;
  margin-bottom: 2.5rem;
}

/* ============================================
   CHI SIAMO
============================================ */
.profile-image {
  max-width: 450px;
  margin: 0 auto 3rem;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
}

.profile-image img { width: 100%; height: 100%; object-fit: cover; }

.bio-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.bio-block h2 {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.bio-subtitle {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: 1rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  margin-top: .5rem;
  margin-bottom: 1rem;
}

.bio-block p {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  text-align: center;
}

.contact-block { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-block h2 {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.contact-block p {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .9);
  margin-top: .75rem;
}
.contact-block a { transition: color .3s; }
.contact-block a:hover { color: var(--accent); }

/* ============================================
   GALLERY
============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  animation: fadeInUp .6s ease both;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-empty {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 0;
}
.gallery-empty h3 {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .4);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.gallery-empty p {
  color: rgba(255, 255, 255, .3);
  font-style: italic;
}

/* YouTube embed */
.yt-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.yt-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 2px;
}

/* ============================================
   LIGHTBOX
============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  color: rgba(255, 255, 255, .6);
  font-size: 1.5rem;
  transition: color .3s;
}
.lightbox-close:hover { color: var(--accent); }

.lightbox-counter {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .4);
}

.lightbox-image {
  position: relative;
  width: 85vw;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, .6);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--accent);
  font-size: 1.25rem;
  transition: background .3s;
}

.lightbox-nav:hover { background: rgba(255, 255, 255, .1); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================
   FOOTER
============================================ */
.site-footer {
  border-top: 1px solid var(--dark-border);
  position: relative;
}

.footer-top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
}

.footer-inner {
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-info {
  flex: 1 1 320px;
  text-align: left;
}

.footer-form {
  flex: 1 1 400px;
  scroll-margin-top: 80px;
}

.footer-info .footer-nav {
  justify-content: flex-start;
}

.footer-info .footer-socials {
  justify-content: flex-start;
}

.footer-info .accent-line {
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 768px) {
  .footer-grid { gap: 3rem; }
  .footer-info { text-align: center; }
  .footer-info .footer-nav,
  .footer-info .footer-socials { justify-content: center; }
  .footer-info .accent-line { margin-left: auto; margin-right: auto; }
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-studio-name {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.footer-inner p {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.125rem;
  color: #fff;
  margin-top: .75rem;
}

.footer-inner a { transition: color .3s; }
.footer-inner a:hover { color: var(--accent); }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-socials a {
  color: rgba(255, 255, 255, .4);
  transition: color .3s;
}
.footer-socials a:hover { color: var(--accent); }
.footer-socials svg { width: 20px; height: 20px; fill: currentColor; }

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .15);
  text-transform: uppercase;
}

/* ============================================
   SOCIAL SIDEBAR
============================================ */
.social-sidebar {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.social-sidebar a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px solid var(--dark-border);
  color: rgba(255, 255, 255, .4);
  transition: all .3s;
}

.social-sidebar a:hover {
  border-color: rgba(255, 255, 255, .5);
  color: var(--accent);
}

.social-sidebar svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 640px) { .social-sidebar { display: none; } }

/* ============================================
   SCROLL REVEAL
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PRENOTA / FORM
============================================ */
.fillout-box {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--dark-card);
  padding: 3rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fillout-corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-color: rgba(255, 255, 255, .4);
}
.fillout-corner.tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.fillout-corner.tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.fillout-corner.bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.fillout-corner.br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }

.fillout-embed {
  position: relative;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--dark-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.fillout-embed iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: #fff;
}

@media (max-width: 640px) {
  .fillout-embed { padding: 0.5rem; }
  .fillout-embed iframe { height: 780px; }
}

/* ============================================
   RECENSIONI
============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .reviews-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    padding: .5rem 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid .review-card {
    flex: 0 0 85%;
    min-width: 0;
    scroll-snap-align: center;
  }
  .reviews-grid .review-card:hover { transform: none; }
}

.review-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  transition: border-color .4s, transform .4s;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, .45);
  transform: translateY(-3px);
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: .25rem;
  margin-bottom: 1.25rem;
}
.review-stars svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, .15);
  transition: fill .3s;
}
.review-stars svg.active { fill: var(--accent); }

.review-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: rgba(255, 255, 255, .82);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.review-author-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 1rem auto;
}

.review-author {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: .95rem;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: .5rem;
}

.review-role {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  margin-top: .35rem;
}

/* ============================================
   CHI SIAMO — due colonne (foto + testo)
============================================ */
.chi-siamo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

/* Bio column: natural height (no clipping), photo stretches to match */
@media (min-width: 901px) {
  .chi-siamo-bio {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .chi-siamo-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.chi-siamo-photo {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  position: relative;
  /* On desktop the row is align-items: stretch, so photo fills bio height */
  min-height: 100%;
  aspect-ratio: 4 / 5; /* fallback shape on mobile / when bio is shorter */
}
@media (min-width: 901px) {
  .chi-siamo-photo {
    aspect-ratio: auto;
    height: 100%;
  }
}
.chi-siamo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chi-siamo-bio h2 {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: .25rem;
  text-align: center;
}

.chi-siamo-bio .bio-subtitle { text-align: center; margin-top: .5rem; }

.chi-siamo-divider {
  width: 60px;
  margin: 1.5rem auto 2rem !important;
}

.chi-siamo-bio p {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-bottom: 0.85rem;
  text-align: center;
}
.chi-siamo-bio p:last-child { margin-bottom: 0; }

/* Tighter heading + subtitle on chi-siamo to balance with photo height */
.chi-siamo-bio h2 { margin-bottom: 0.2rem; }
.chi-siamo-bio .bio-subtitle {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .6);
}
.chi-siamo-divider { margin: 1rem auto 1.25rem !important; }

/* ============================================
   LO STUDIO (home intro)
============================================ */
.lo-studio-header {
  max-width: 900px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.lo-studio-title {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.lo-studio-divider {
  width: 80px;
  margin: 1.5rem auto 0 !important;
}

.lo-studio-sub {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 1rem;
}

.lo-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .lo-studio-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.lo-studio-bottom {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
}
.lo-studio-bottom p {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.lo-studio-bottom p:last-child { margin-bottom: 0; }

.lo-studio-col p {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  text-align: center;
}

.lo-studio-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   PRENOTA — slogan
============================================ */
.prenota-slogan-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.prenota-slogan-title {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.prenota-slogan-title span {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 1px;
  font-size: 1.05em;
}
.prenota-slogan-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
  margin-top: 2rem;
  font-style: italic;
}

/* ============================================
   GALLERIA — decorative divider around intro
============================================ */
.galleria-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.galleria-intro-title {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: #fff;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 1.5rem 0 1rem;
}
.galleria-intro-text {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.galleria-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0 auto;
  max-width: 300px;
}
.galleria-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.galleria-divider .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 255, 255, .6);
}
.galleria-divider-bottom { margin-top: 2.5rem; }

/* ============================================
   BOTTOM FOOTER BAR (su tutte le pagine)
============================================ */
.footer-bottom-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-logo {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom-logo span {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 2px;
  text-transform: none;
  margin-top: 4px;
  font-weight: 400;
}

@media (max-width: 600px) {
  .footer-bottom-logo { font-size: 16px; letter-spacing: 3px; }
  .footer-bottom-logo span { font-size: 13px; }
}

.footer-bottom-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-bottom-nav a {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  transition: color .3s;
}
.footer-bottom-nav a:hover { color: var(--accent); }

.footer-bottom-social { display: flex; gap: .75rem; }
.footer-bottom-social a {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: all .3s;
}
.footer-bottom-social a:hover {
  color: var(--accent);
  border-color: rgba(255, 255, 255, .5);
}

.footer-bottom-copy {
  margin: 1.5rem 0 0;
  text-align: center;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .25);
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 1.25rem;
}

@media (max-width: 768px) {
  .footer-bottom-inner { justify-content: center; text-align: center; gap: 1.25rem; }
  .footer-bottom-logo { align-items: center; }
  .footer-bottom-nav { gap: 1.25rem; }
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   UTILITIES
============================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.relative { position: relative; }

/* Responsive hero heights (account for fixed navbar) */
.hero-half { min-height: calc(50vh - var(--navbar-h) / 2); }
.hero-full { min-height: calc(100vh - var(--navbar-h)); }

/* ============================================
   CHI SIAMO — alternation (Mario: foto a destra)
============================================ */
.chi-siamo-split.reverse .chi-siamo-photo { order: 2; }
.chi-siamo-split.reverse .chi-siamo-bio   { order: 1; }
@media (max-width: 900px) {
  .chi-siamo-split.reverse .chi-siamo-photo,
  .chi-siamo-split.reverse .chi-siamo-bio { order: unset; }
}

/* ============================================
   GALLERY TABS — filter (Tutti / Alessia / Mario)
============================================ */
.gallery-tabs-hint {
  text-align: center;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto 1.25rem;
  max-width: 560px;
  letter-spacing: 0.3px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--dark-border);
  max-width: 600px;
  margin: 0 auto;
}

.gallery-tab {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 14px 28px;
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .55);
  background: transparent;
  border: none;
  border-right: 1px solid var(--dark-border);
  cursor: pointer;
  transition: all .25s ease;
  text-transform: uppercase;
}
.gallery-tab:last-child { border-right: none; }
.gallery-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }

.gallery-tab.active {
  color: #000;
  background: var(--accent);
}

@media (max-width: 600px) {
  .gallery-tab { font-size: 12px; letter-spacing: 2px; padding: 12px 18px; min-width: 90px; }
}

/* ============================================
   SLOGAN BLOCK (chi-siamo final section)
============================================ */
.slogan-block { text-align: center; max-width: 720px; margin: 0 auto; }

.slogan-title {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 .5rem;
}
.slogan-title span {
  color: var(--accent);
  display: inline-block;
  margin-top: .25rem;
}

.slogan-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 1.5rem auto 0;
  max-width: 560px;
}

/* ============================================
   REVIEWS GRID (front-page)
============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-rating {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.65;
  font-style: italic;
}

.review-author {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: 1rem;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-top: auto;
}
.review-author span {
  display: block;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .8rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .5);
  text-transform: none;
  margin-top: .25rem;
}

/* ============================================
   NAVBAR — fallback wordmark when logo image fails
============================================ */
.navbar-logo-fallback {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  color: #fff;
  font-size: 1.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ============================================
   HERO SLIDESHOW (galleria) — cross-fade
============================================ */
.hero.has-slideshow .hero-bg { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; }

/* When only 1 slide present — keep it visible, no transition needed */
.hero:not(.has-slideshow) .hero-slide { position: static; opacity: 1; transition: none; }

/* ============================================
   SPECIALIZZAZIONI — tabs + fade rotation
============================================ */
.specs-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--dark-border);
  max-width: 420px;
  margin: 0 auto 3rem;
}

.specs-tab {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 14px 28px;
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .55);
  background: transparent;
  border: none;
  border-right: 1px solid var(--dark-border);
  cursor: pointer;
  transition: all .25s ease;
  text-transform: uppercase;
}
.specs-tab:last-child { border-right: none; }
.specs-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.specs-tab.active {
  color: #000;
  background: var(--accent);
}

.specs-wrapper {
  position: relative;
}
.specs-set {
  display: none;
}
.specs-set.active {
  display: block;
  animation: specsFadeIn .55s ease both;
}
@keyframes specsFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .specs-tab { font-size: 12px; letter-spacing: 2px; padding: 12px 18px; min-width: 110px; }
}

/* ============================================
   HERO LINES — unified style with variants (title / subtitle)
   Each hero line in admin can be set to render as title (large, font-title)
   or subtitle (small, font-subtitle) — applied via .hero-line--title /
   .hero-line--subtitle modifier classes.
============================================ */
.hero-line {
  margin: 0;
  padding: 0;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, .95),
    0 4px 16px rgba(0, 0, 0, .8),
    0 0 32px rgba(0, 0, 0, .6);
  animation: fadeInUp .8s ease both;
}
.hero-line + .hero-line { margin-top: 0.5rem; }

.hero-line--title {
  font-family: var(--font-title, 'Jost', sans-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 6px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-line--subtitle {
  font-family: var(--font-subtitle, 'Jost', sans-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 3px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Stagger animation delays */
.hero-line:nth-child(1) { animation-delay: .2s; }
.hero-line:nth-child(2) { animation-delay: .4s; }
.hero-line:nth-child(3) { animation-delay: .6s; }

/* ============================================
   JOST — bold weight for all headings (Avant Garde Gothic Bold look)
============================================ */
.hero-title,
.hero-subtitle,
.section-title,
.lo-studio-title,
.lo-studio-sub,
.galleria-intro-title,
.slogan-title,
.slogan-title span,
.chi-siamo-bio h2,
.footer-studio-name,
.footer-bottom-logo,
.navbar-logo-fallback,
.btn-primary,
.gallery-tab,
.gallery-tab.active,
.specs-tab,
.specs-tab.active,
.review-author,
.spec-card-title,
.spec-card-cta {
  font-weight: 700;
}

/* Hero & section titles — extra bold like the BABOON wordmark */
.hero-title,
.section-title,
.lo-studio-title,
.chi-siamo-bio h2 {
  font-weight: 800;
}

/* ============================================
   BODY base font tweaks for Inter
============================================ */
body { font-size: 16px; line-height: 1.65; }
