/* ==============================================================
   style.css — G Vanity Nails
   Unione degli stili da index.html, galleria.html, privacypolicy.html
   ============================================================== */

/* ===== VARIABLES & RESET ===== */
:root {
  --rose: #b0485e;
  --rose-light: #b24860;
  --rose-pale: #f7e8ed;
  --cream: #fdf8f5;
  --ivory: #f5ede6;
  --dark: #1a1218;
  --mid: #6b5060;
  --gold: #8a6c30;
  --gold-light: #e8d5b0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== NOISE TEXTURE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== NAVIGATION ===== */
nav.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  transition: background 0.4s, box-shadow 0.4s;
}

nav.top-nav.scrolled {
  background: rgba(253, 248, 245, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(192,86,110,0.12);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-logo span { color: var(--rose); }

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--rose); }

/* ── Galleria: nav sempre visibile ── */
body.page-galleria nav.top-nav {
  background: rgba(253, 248, 245, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(192,86,110,0.12);
}

/* ── Torna-indietro (galleria) ── */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--rose); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 80px;
  position: relative;
  z-index: 2;
  background: var(--cream);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose);
  display: block;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 44px;
}

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

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-image:hover img { transform: scale(1); }

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,86,110,0.1) 0%, transparent 60%);
}

/* ── Floating orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(192,86,110,0.08) 0%, transparent 70%);
  top: 10%; right: -80px;
}

.orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
  bottom: 15%; left: 5%;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose);
  color: white;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rose-light);
  color: var(--rose);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
}

.btn-ghost:hover {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
}

/* ===== MARQUEE BAND ===== */
.marquee-band {
  background: var(--dark);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.marquee-inner span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 0 40px;
}

.marquee-inner .dot {
  color: var(--rose-light);
  padding: 0;
}

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

/* ===== SVG ICONS (common) ===== */
.icon-svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== SECTIONS ===== */

/* ── Section Header (shared pattern) ── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
}

.section-title em {
  font-style: italic;
  color: var(--rose);
}

/* ── SERVICI ── */
#servizi {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}

.service-card {
  background: white;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  transition: width 0.4s ease;
}

.service-card:hover::before { width: 100%; }
.service-card:hover { transform: translateY(-4px); z-index: 2; }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--rose-pale);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-card:hover .service-num { color: var(--rose-light); }

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
}

/* ── PERCHE' SCEGLIERCI ── */
#perche {
  background: var(--dark);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

#perche::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192,86,110,0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.why-text .section-label { color: var(--gold); }
.why-text .section-title { color: white; }
.why-text .section-title em { color: var(--rose-light); }

.why-text p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-top: 24px;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.feature-item {
  background: rgba(255,255,255,0.03);
  padding: 32px 28px;
  transition: background 0.3s;
}

.feature-item:hover { background: rgba(192,86,110,0.1); }

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--gold-light);
  fill: none; stroke-width: 1.5;
}

.feature-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
  margin-bottom: 6px;
}

.feature-body {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ── ORARI & INFO ── */
#info {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.hours-table tr { border-bottom: 1px solid var(--rose-pale); }
.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 300;
}

.hours-table td:first-child {
  color: var(--mid);
  text-transform: capitalize;
  letter-spacing: 0.03em;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--dark);
}

.hours-table tr.closed td { color: rgba(107,80,96,0.4); }
.hours-table tr.closed td:last-child { font-weight: 400; }

.open-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 8px;
}

.address-block {
  margin-top: 32px;
  padding: 28px;
  background: var(--ivory);
  border-left: 3px solid var(--rose);
}

.address-block p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--mid);
}

.address-block strong { color: var(--dark); font-weight: 600; }

/* ── CONTATTI ── */
#contatti {
  background: var(--ivory);
  padding: 100px 40px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-title { margin-top: 14px; }

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid rgba(192,86,110,0.12);
  padding: 20px 28px;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.25s;
  min-width: 220px;
}

.contact-card:hover {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,86,110,0.25);
}

.contact-card .cc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .cc-icon svg {
  width: 20px; height: 20px;
  fill: currentColor;
}

/* Hover specifici per social */
.contact-card.wa:hover { background: #25D366; border-color: #25D366; }
.contact-card.maps:hover { background: #4285F4; border-color: #4285F4; }
.contact-card.fb:hover { background: #3b5998; border-color: #3b5998; }
.contact-card.ig:hover { background: #843aaa; border-color: #843aaa; }

/* ── SVG ICONS in nav items (bottom nav) ── */
.nav-item svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  display: block; margin: 0 auto 4px;
}

/* ── Galleria Teaser (home page index) ── */
#galleria {
  padding: 100px 40px;
  background: var(--ivory);
}

#galleria > div {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

#galleria p {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  max-width: 400px;
}

/* ── GALLERY TEASER (index home) ── */
.gallery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
  min-width: 140px;
  aspect-ratio: 1/1;
  border-radius: 4px;
}

.gallery-card svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.gallery-card:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.gallery-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── FAQ ── */
#faq {
  padding: 100px 40px;
  background: var(--cream);
}

#faq .section-title {
  text-align: center;
  margin-bottom: 48px;
}

#faq details,
details {
  background: white;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 2px;
  cursor: pointer;
}

#faq summary,
summary {
  font-weight: 500;
  color: var(--dark);
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#faq summary::-webkit-details-marker,
summary::-webkit-details-marker { display: none; }

#faq summary::after,
summary::after { content: '+'; color: var(--rose); font-size: 20px; }

#faq details[open] summary::after,
details[open] summary::after { content: '−'; }

#faq details p,
details p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.8;
}

/* ── RECENSIONI ── */
#recensioni {
  padding: 100px 40px;
  background: var(--cream);
}

.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--rose-pale);
  padding: 16px 24px;
  border-radius: 2px;
}

.reviews-score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
}

.reviews-score-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stars { color: #f4b400; font-size: 16px; letter-spacing: 2px; }
.reviews-count { font-size: 12px; font-weight: 300; color: var(--mid); letter-spacing: 0.05em; }

.reviews-google-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.reviews-google-link:hover { color: var(--dark); }

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

.review-card {
  background: white;
  padding: 32px 28px;
  border: 1px solid rgba(192,86,110,0.08);
  border-radius: 2px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}

.review-card:hover {
  box-shadow: 0 8px 32px rgba(192,86,110,0.1);
  transform: translateY(-3px);
}

.review-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--rose-pale);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.review-stars { color: #f4b400; font-size: 14px; letter-spacing: 1px; margin-bottom: 16px; }

.review-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--rose);
  flex-shrink: 0;
}

.review-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.review-date {
  font-size: 11px;
  font-weight: 300;
  color: var(--mid);
  letter-spacing: 0.05em;
}

.review-google-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  color: rgba(107,80,96,0.3);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  padding: 60px 40px 100px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  max-width: 100%;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-brand span { color: var(--rose-light); }

.footer-address {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--rose-light); }

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-align: right;
}

/* ── Galleria: footer padding ridotto ── */
body.page-galleria footer {
  padding: 50px 40px 80px;
}

body.page-galleria .footer-brand {
  font-size: 26px;
  margin-bottom: 10px;
}

/* ===== BOTTOM NAV (mobile) ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(26,18,24,0.96);
  backdrop-filter: blur(12px);
  z-index: 100;
  justify-content: space-around;
  border-top: 1px solid rgba(192,86,110,0.2);
}

.nav-item {
  padding: 12px 0;
  text-align: center;
  flex: 1;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-item:hover { color: var(--rose-light); }
.nav-item span { display: block; font-size: 20px; margin-bottom: 4px; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ==============================================================
   GALLERIA PAGE (specifico)
   ============================================================== */

/* ── Page Hero ── */
.page-hero {
  padding: 120px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--dark);
}

.page-title em { font-style: italic; color: var(--rose); }

.page-subtitle {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  max-width: 480px;
  line-height: 1.7;
}

/* ── Filter Tabs ── */
.filter-bar {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 40px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--rose-pale);
  background: white;
  color: var(--mid);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: white;
}

/* ── Gallery Grid ── */
.gallery-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--ivory);
  transition: opacity 0.3s;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,18,24,0.6) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  gap: 8px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
}

.gallery-item-tag {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

/* Placeholder */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--rose-light);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  border: 1px dashed var(--rose-pale);
}

.gallery-placeholder .plus {
  font-size: 32px;
  font-weight: 300;
  color: var(--rose-pale);
}

/* hidden when filtered */
.gallery-item.hidden { display: none; }

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,18,24,0.96);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: white;
  cursor: pointer;
  opacity: 0.6;
  background: none;
  border: none;
  padding: 12px;
  transition: opacity 0.2s;
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-info {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.lightbox-caption {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: block;
}

.lightbox-counter {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  display: block;
}

/* ==============================================================
   PRIVACY POLICY PAGE (specifico)
   ============================================================== */

body.page-privacy {
  line-height: 1.7;
  padding: 40px 20px 80px;
  min-height: 100vh;
}

.privacy-container {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  padding: 48px 40px;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(192,86,110,0.08);
}

body.page-privacy h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

body.page-privacy .subtitle {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rose-pale);
}

body.page-privacy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--rose);
  margin-top: 32px;
  margin-bottom: 16px;
}

body.page-privacy p,
body.page-privacy li {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

body.page-privacy ul {
  padding-left: 20px;
}

body.page-privacy li {
  margin-bottom: 12px;
}

body.page-privacy strong {
  color: var(--dark);
  font-weight: 500;
}

body.page-privacy a {
  color: var(--rose);
  text-decoration: none;
  transition: color 0.2s;
}

body.page-privacy a:hover {
  color: var(--dark);
}

body.page-privacy .highlight {
  color: var(--dark);
  font-weight: 600;
}

body.page-privacy .footer-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rose-pale);
  font-size: 12px;
  color: rgba(107,80,96,0.85);
  text-align: center;
}

body.page-privacy .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}

body.page-privacy .back-link:hover {
  color: var(--dark);
}

body.page-privacy .back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */

@media (max-width: 900px) {
  nav.top-nav { padding: 16px 20px; }
  .nav-links { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 100px 24px 60px; }
  .hero-image { height: 280px; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }

  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  #info { grid-template-columns: 1fr; gap: 48px; }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px 90px;
  }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .footer-copy { text-align: center; }
  .footer-address { text-align: center; }

  #servizi, #perche, #info, #contatti, #faq { padding: 70px 24px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0; }

  .bottom-nav { display: flex; }

  /* Galleria page responsive */
  body.page-galleria nav.top-nav { padding: 14px 20px; }
  body.page-galleria .page-hero,
  body.page-galleria .filter-bar,
  body.page-galleria .gallery-wrap { padding-left: 20px; padding-right: 20px; }
  body.page-galleria .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  body.page-galleria .gallery-item.wide { grid-column: span 2; }
  body.page-galleria .gallery-item.tall { grid-row: span 1; aspect-ratio: 1/1; }
  body.page-galleria footer { grid-template-columns: 1fr; text-align: center; }
  body.page-galleria .footer-links { justify-content: center; }
  body.page-galleria .footer-copy { text-align: center; }
  body.page-galleria footer { padding-bottom: 90px; }

  /* Index: galleria teaser */
  #galleria { padding: 70px 24px !important; }
  #galleria > div { grid-template-columns: 1fr !important; gap: 40px !important; }
  .gallery-teaser-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-card { font-size: 12px !important; }
  .gallery-card svg { width: 28px !important; height: 28px !important; margin-bottom: 8px !important; }

  /* Privacy page responsive */
  body.page-privacy { padding: 20px 16px 80px; }
  body.page-privacy .privacy-container { padding: 32px 24px; }
  body.page-privacy h1 { font-size: 28px; }

  /* Reviews responsive */
  #recensioni { padding: 70px 24px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
}
