.elementor-7370 .elementor-element.elementor-element-0300863{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-7370 .elementor-element.elementor-element-0300863{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-2a6a4f5 *//* ─── RESET & VARIABILI ──────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base: #050505;
  --bg-surface: #0f0f0f;
  --bg-card: #141414;
  --accent-gold: #d4af37;
  --accent-gold-glow: color-mix(in srgb, var(--accent-gold) 15%, transparent);
  --text-100: #ffffff;
  --text-200: #e5e5e5;
  --text-300: #a0a0a0;
  --border-color: #2a2a2a;
  --radius-lg: 16px;
  --radius-md: 10px;
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background-color: var(--bg-base);
  color: var(--text-200);
  font-family: 'Inter', sans-serif;
  /* Testi più grandi per alta leggibilità */
  font-size: 1.125rem; 
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .font-heading {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #444; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* ─── ANIMAZIONI ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ─── STRUTTURA SEZIONI ───────────────── */
.section {
  padding: 100px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── HERO SECTION ────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
  border-bottom: 1px solid var(--border-color);
  /* In Elementor, imposta qui la foto grande di facciata come sfondo copertina */
  background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, var(--bg-base) 100%);
}

/* Placeholder per Elementor Background */
.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  background-image: repeating-linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111), repeating-linear-gradient(45deg, #111 25%, #0a0a0a 25%, #0a0a0a 75%, #111 75%, #111);
  background-position: 0 0, 20px 20px;
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent-gold), #ffdf70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-200);
  max-width: 700px;
  margin: 0 auto;
}

/* ─── INTRO PROGETTO ──────────────────── */
.project-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.5rem;
  color: var(--text-100);
  margin-bottom: 24px;
}
.intro-text p {
  margin-bottom: 20px;
  color: var(--text-300);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.stat-item {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.stat-num {
  font-size: 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── EFFETTO SPOTLIGHT (MOUSE) ───────── */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base), border-color 0.3s;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0), 
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0), 
    var(--accent-gold),
    transparent 40%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spotlight-card:hover { transform: translateY(-6px); }
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card:hover::after { opacity: 0.5; }

/* ─── GALLERIA FOTOGRAFICA (BENTO) ────── */
.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}
.gallery-header h2 { font-size: 2.5rem; color: var(--text-100); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 350px;
  gap: 24px;
}

/* Classi per dare dimensioni diverse alle foto nel bento grid */
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Il contenitore dove in Elementor andrà l'immagine */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Stile per indicare dove caricare le foto in WP */
.wp-hint {
  color: #666;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.8s ease, opacity 0.4s ease;
}

.spotlight-card:hover .img-placeholder img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 2;
}

.gallery-caption h3 {
  font-size: 1.25rem;
  color: var(--text-100);
  margin: 0;
}

/* ─── LIGHTBOX ────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.4s var(--transition-base);
}

.lightbox.active img { transform: scale(1); }

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.lb-btn:hover { background: var(--accent-gold); color: black; }
.lb-close { top: 30px; right: 30px; }
.lb-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 30px; top: 50%; transform: translateY(-50%); }

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
  .project-intro { grid-template-columns: 1fr; gap: 40px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; grid-row: span 1; }
  .bento-tall { grid-row: span 1; }
}
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .hero { padding: 80px 20px; }
  .section { padding: 60px 20px; }/* End custom CSS */