
@font-face {
    font-family: 'WelcomeRamadhan.ttf';
    src: url('fonts/WelcomeRamadhan.ttf') format('truetype');
    font-display: swap;
  }

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  
}
.logo {
    display: flex;
    align-items: center;
    gap: 6px; /* distanza tra logo e testo */
  }
  
  .logo-img {
    height: 45px;     /* regola la dimensione del logo */
    width: auto;
    display: block;
  }
  
  .logo span {
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    font-size: 1.rem;
    font-family: 'WelcomeRamadhan.ttf';
  }

/* ================= HAMBURGER MOBILE ================= */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: fixed;       /* sopra il menu */
  top: 1.8rem;           /* distanza dal top per allinearlo al logo */
  right: 1.8rem;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  height: 2.5px;           
  background: #fff;      
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(0,0,0,0.5), 0 0 6px rgba(255,255,255,0.5);
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* ================= MENU MOBILE OVERLAY ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 5rem;  /* distanza contenuto più in alto */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}

.mobile-menu.show {
  opacity: 1;
  visibility: visible;
}

/* ================= LINK MENU ================= */
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.nav-links li {
  margin: 0;
  padding: 10px 0; /* padding verticale tra i link */
}

.nav-links a {
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ccc;
}

/* ================= SOCIAL IN BASSO ================= */
.mobile-socials {
  position: absolute;
  bottom: 2rem;
  text-align: center;
}

.mobile-socials-text {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.mobile-socials-icons {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

.mobile-socials-icons a svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-socials-icons a:hover svg {
  transform: scale(1.2);
  opacity: 0.8;
}

/* ================= BLOCCO SCROLL QUANDO MENU APERTO ================= */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ================= MEDIA QUERY PER DESKTOP ================= */
@media (min-width: 1024px) {
  /* Nasconde hamburger su desktop */
  .menu-toggle {
    display: none;
  }
/* ================= HAMBURGER MOBILE ================= */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: fixed;
  top: 1.8rem;
  right: 1.8rem;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  height: 2.5px;           
  background: #fff;      
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}
}
/* ================= MENU MOBILE OVERLAY ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;

  align-items: center;
  padding-top: 5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
  padding:  6rem 1rem 2rem;
  overflow-y: auto;
}

.mobile-menu.show {
  opacity: 1;
  visibility: visible;
}

/* ================= LINK MENU MOBILE ================= */
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.nav-links li {
  margin: 0;
  padding: 10px 0;
}

.nav-links a {
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ccc;
}

/* ================= SOCIAL MOBILE ================= */
.mobile-socials {
  
  bottom: 1rem;
  text-align: center;
}

.mobile-socials p {
  color: #fb0505;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.mobile-socials-icons {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

.mobile-socials-icons a svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-socials-icons a:hover svg {
  transform: scale(1.2);
  opacity: 0.8;
}

/* ================= BLOCCO SCROLL QUANDO MENU APERTO ================= */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ================= MENU DESKTOP ================= */
.desktop-menu {
  display: none; /* nascosto su mobile */
}

@media (min-width: 1024px) {
  /* Nasconde hamburger e mobile menu su desktop */
  .menu-toggle, .mobile-menu {
    display: none;
  }

  /* Mostra menu desktop */
  .desktop-menu {
    display: block;
  }

  .desktop-nav-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }
  
  /* Link desktop con effetto ombra e stile pulsante */
  .desktop-nav-links li a {
    color: #fff; /* bianco */
    font-weight: 500; /* leggermente più spesso */
    font-size: 1rem;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* ombra più evidente */
    border-radius: 4px; /* angoli leggermente arrotondati */
    transition: all 0.2s ease;
  }

  /* Effetto hover: simula un pulsante */
  .desktop-nav-links li a:hover {
    background-color: rgba(255,255,255,0.1); /* leggero sfondo */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* ombra più intensa */
    transform: translateY(-2px); /* leggero sollevamento */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* ombra testo più intensa */
  }


}



/* ================= HERO TEXT ================= */
.hero-content h1 { font-size: 1.8rem; }
.hero-content p { font-size: 0.9rem; }


/* ================= HERO TEXT ================= */
.hero-content h1 { font-size: 1.8rem; }
.hero-content p { font-size: 0.9rem; }


/* ==== HERO ==== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.background-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}
.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 3px;
}
.hero-content h1 span {
  color: #fff;
  background: linear-gradient(90deg, #fff, #ccc);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  margin-top: 1rem;
  max-width: 600px;
  color: #ddd;
  font-size: 1rem;
}


  
/* ==== SECTIONS ==== */
.section {
  width: 100%; /* prende tutta la larghezza dello schermo */
  padding: 5rem 2rem;
  text-align: center;
  margin: 0;
}

.container {
  max-width: 1800px; /* limita solo il contenuto interno */
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sezioni a sfondo nero o bianco */
.section.white {

  color: #fff;
  width: 100%;
}

.section.black {
  background: #1f1f1f;
  color: #fff;
  width: 100%;
}

/* ==== GRID ==== */
.grid {
  display: grid;
  gap: 2rem; /* spazio regolare su desktop */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; /* un po’ di respiro ai bordi */
}

/* ==== CARD BASE ==== */
.studio-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #f2f2f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.studio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* ==== IMMAGINE ==== */
.studio-card img {
  width: 100%;
  height: 260px; /* compatte su desktop */
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 0 0;
  transition: transform 0.4s ease;
}

.studio-card:hover img {
  transform: scale(1.08);
}

/* ==== OVERLAY MOSTRA DI PIÙ ==== */
.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
  border-radius: 20px 20px 0 0;
}

.studio-card:hover .overlay-text,
.studio-card:active .overlay-text {
  opacity: 1;
}

/* ==== TESTI ==== */
.studio-card h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  color: #1f1f1f;
}

.studio-card p {
  margin: 0.5rem 1rem 1.5rem;
  font-size: 1rem;
  text-align: center;
  color: #333;
  opacity: 0.9;
}

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

/* --- Mobile --- */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 2.5rem; /* più spazio tra le card su mobile */
    padding: 0 1.2rem;
  }

  .studio-card img {
    height: 320px; /* un po’ più alta su mobile per proporzione */
  }

  .studio-card h3 {
    font-size: 1.2rem;
  }

  .studio-card p {
    font-size: 0.95rem;
  }
}

/* --- Tablet (3 colonne come desktop, ma più compatte) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .studio-card img {
    height: 240px; /* più simili al desktop */
  }
}
/* ==== FOTO & VIDEO ==== */
#foto-video .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  justify-content: center;
  gap: 2rem;
  max-width: 900px; /* più stretto per centrare la sezione */
  margin: 0 auto;
}

/* Card singola (foto/video) */
#foto-video .studio-card {
  max-width: 420px; /* dimensione visivamente più compatta */
  margin: 0 auto;
  background: #f2f2f4;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#foto-video .studio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

#foto-video .studio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 20px 20px 0 0;
}

#foto-video .studio-card:hover img {
  transform: scale(1.08);
}

#foto-video .studio-card h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  color: #1f1f1f;
}

#foto-video .studio-card p {
  margin: 0.5rem 1rem 1.5rem;
  font-size: 1rem;
  color: #1f1f1f;
  text-align: center;
  opacity: 0.9;
}
#foto-video h2 {
  margin-bottom: 3rem; /* distanza tra titolo e card */
  text-align: center;
}
/* ===== Responsive ===== */
@media (max-width: 768px) {
  #foto-video .grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 1.5rem;
  }

  #foto-video .studio-card {
    max-width: 90%;
  }

  #foto-video .studio-card img {
    height: 240px;
  }
}
/* ==== BOTTONE MOSTRA DI PIÙ ==== */
.mostra-btn {
  display: block;
  width: fit-content;
  margin: 1rem auto 1.5rem;
  background: #1f1f1f;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mostra-btn:hover {
  background: #fff;
  color: #1f1f1f;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* ================= SEZIONE PREZZI ================= */
#prezzi {
  background: #1f1f1f;
  color: #fff;
  padding: 5rem 0 2rem;
}

#prezzi h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 35px;
}
.studio-link {
  margin-top: 20px;
  text-align: center;
}

.portfolio-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  background-color: #780404; /* rosso coerente col sito */
  color:#fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-btn:hover {
  background-color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
/* ================= CATEGORIA ================= */
.prezzi-category {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #f2f2f4;
}

.prezzi-category::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #810909;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* ================= GRID ================= */
.prezzi-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 4rem;
}

/* ================= CARD ================= */
.prezzo-card {
  background: linear-gradient(135deg, #f2f2f4, #e0e0e0);
  color: #1f1f1f;
  border-radius: 20px;
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prezzo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.prezzo-card h3 {
  margin-bottom: 0.8rem;
  font-size: 25px;
}

/* ================= PREZZO ================= */
.price {
  display: inline-block;
  background: #1f1f1f;
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.prezzo-card:hover .price {
  background: #780404;
}

/* ================= SERVIZI ================= */
.services-container {
  margin-top: 1.5rem;
  text-align: center;
}

.services-title {
  font-size: 1.30rem;
  font-weight: 600;
  color: #810909;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.services-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}


.services-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.services-list li strong {
  font-size: 18px;
  font-weight: 700;
}
/* ================= HIGHLIGHT ================= */
.highlight {
  display: inline-block;
  background: rgba(0, 255, 200, 0.18);
  color: #00bfa6;
  padding: 3px 8px;
  border-radius: 8px;
  font-weight: 600;
 
}

/* ================= NOTE ================= */
.note {
  color: #6f6f6f;
  font-size: 0.85rem;
}

/* ================= BADGE PACK ================= */
.badge {
  display: inline-block;
  background: rgba(0, 255, 200, 0.18);
  color: #00bfa6;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}
.card-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  text-align: left;
}

.card-footer h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
  justify-content: center;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  font-size: 14px;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6772e5;
  font-weight: bold;
}
/* ================= MOBILE ================= */

/* ================= MOBILE (<481px) ================= */
@media (max-width: 480px) {
  .prezzi-grid {
    grid-template-columns: 1fr; /* una colonna */
    gap: 1.5rem;
  }

  .prezzo-card {
    padding: 0.4rem 0.3rem; /* padding verticale e orizzontale ridotto */
  }

  .prezzo-card h3 {
    font-size: 20px;
    margin-bottom: 0.5rem;
  }

  .services-title {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .services-list {
    font-size: 0.85rem;
    margin: 0 auto;
  }

  .services-list li {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* evita schiacciamento */
    margin-bottom: 0.5rem;
  }

  .price {
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
  }

  .badge,
  .highlight {
    display: inline-block;
    margin-bottom: 3px;
  }

  .plus-tag {
    font-size: 0.35rem;
    padding: 0.1rem 0.25rem;
    margin-left: 0.1rem;
  }

  .card-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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






/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .prezzi-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .prezzo-card {
    padding: 1.5rem 1rem;
  }

  #prezzi h2 {
    font-size: 1.7rem;
  }

  .prezzi-category {
    font-size: 1.2rem;
  }

  .services-title {
    font-size: 1rem;
  }

  .prezzo-card .price {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }
}
.plus-tag {
  background: #ff6b6b;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-left: 0.3rem;
  text-transform: uppercase;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .plus-tag {
    font-size: 0.7rem;       /* leggermente più piccolo su mobile */
    padding: 0.15rem 0.4rem; /* padding ridotto */
    margin-left: 0.2rem;     /* margine ridotto */
  }
  .card-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .card-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .plus-tag {
    font-size: 0.65rem;       /* ancora più piccolo per schermi molto stretti */
    padding: 0.1rem 0.3rem;
    margin-left: 0.1rem;
  }
}
/* ===== ANIMAZIONE FADE IN ===== */
@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RIDUZIONE SPAZI TRA SEZIONI ===== */
.section + .section {
  margin-top: -1rem; /* fa “avvicinare” le sezioni */
}



/* ==== SOCIAL ICONS ==== */


.social-icons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
  
  }
  .social-icons a {
    font-size: 2rem;
    color: #000; /* cambia in bianco se la sezione è scura */
    transition: 0.3s;
  }
  .section.black .social-icons a { color: #000; }
  .social-icons a:hover {
    transform: scale(1.2);
    opacity: 0.8;
  }
  

/* ==== FOOTER ==== */
footer {
  background: #000;
  color: #666;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}


/* === HERO FIX === *//* === HERO SEZIONE CON VIDEO A SCHERMO INTERO === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* 🔥 il video copre tutta l'altezza della finestra */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

/* video di sfondo grigio */
.hero-full-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) brightness(80%); /* effetto grigio elegante */
  z-index: 1;
}

/* overlay semitrasparente */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* testo sopra al video */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 3px;
}

.hero-content p {
  margin-top: 1rem;
  color: #ddd;
  font-size: 1.1rem;
}

/* === BOTTONE TRASPARENTE MODERNO ED ELEGANTE === */
.btn-primary {
  margin-top: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.8rem 2rem;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 50px; /* bordi arrotondati eleganti */
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* Effetto hover con sollevamento e inversione colori */
.btn-primary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}
/* === LOGO PERFETTAMENTE ALLINEATO VISIVAMENTE CON "BEAT" === */
@media (max-width: 1024px) {
  .nav-inner {
    justify-content: space-between;
    padding-left: 0;
    padding-right: 20px;
  }

  .logo {
    justify-content: flex-start;
    align-items: center;
    margin-left: -25px; /* 🔥 Sposta il logo ancora più a sinistra */
  }

  .logo-img {
    width: 130px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding-left: 0;
    padding-right: 15px;
  }

  .logo {
    margin-left: -40px; /* 🔥 Mobile: perfettamente in linea con "BEAT" */
  }

  .logo-img {
    width: 110px;
  }
}

/* === SEZIONE PRENOTAZIONI === */
.section-prenotazioni {
  padding: 7rem 2rem;
  background: rgba(0, 0, 0, 0.85); /* testata trasparente */
  color: #fff;
  text-align: center;
  backdrop-filter: blur(4px);
}

.section-prenotazioni .section-title {
  color: #111;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.section-prenotazioni .section-subtitle {
  font-size: 1.1rem;
  color: #1f1f1f;
  margin-bottom: 3rem;
}

/* === BLOCCO FORM === */
.booking-form {
  color:#1f1f1f;
  background: #1f1f1f; /* scuro come la sezione Studi */
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 3rem;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.booking-form:hover {
  transform: translateY(-3px);
}

/* Layout due colonne */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Campi */
.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1f1f1f; /* testo bianco */
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Riquadri bianchi */
input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #ffffff;
  color: #111;
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: #777;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #999;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

/* === BOTTONE INVIA === */
button,
input[type="submit"] {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0;
}

button:hover,
input[type="submit"]:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .section-prenotazioni {
    padding: 5rem 1.5rem;
  }

  .section-prenotazioni .section-title {
    font-size: 1.8rem;
  }

  .booking-form {
    padding: 2rem;
  }

  button,
  input[type="submit"] {
    width: 100%;
  }
}

/* === TEAM & DOVE SIAMO A TUTTO SCHERMO === */
#team,
#dove-siamo {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 6rem 2rem;
}

#team .container,
#dove-siamo .container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Mantiene il testo centrato e spazioso su desktop */
#team h2,
#dove-siamo h2 {
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

#team p,
#dove-siamo p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Mappa a piena larghezza con bordo arrotondato */
#dove-siamo .map-container {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}
/* === FORM PRENOTAZIONI - BOX BIANCO CENTRALE === */
#form-prenotazione {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  text-align: center;
}

#form-prenotazione h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #111;
}

#form-prenotazione .form-group {
  margin-bottom: 1.5rem;
}

#form-prenotazione input,
#form-prenotazione select,
#form-prenotazione textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
}

#form-prenotazione button {
  background: #000;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 500;
  letter-spacing: 1px;
}

#form-prenotazione button:hover {
  background: #333;
}
/* Contenitore centrato */
.button-container {
  display: flex;
  justify-content: center; /* centra orizzontalmente */
  align-items: center;     /* centra verticalmente se vuoi */
  height: 100px;           /* opzionale, se vuoi centrare verticalmente in un box */
}

/* Bottone */
.btn-acconto {
  padding: 12px 25px;
  background-color: #6772e5;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block; /* mantiene dimensioni del testo */
}

.btn-acconto:hover {
  background-color: #5469d4;
}
/* === SEZIONE TEAM - FULLSCREEN === */
#team {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 6rem 2rem;
  background: rgba(0,0,0,0.9);
  color: #fff;
  text-align: center;
}

#team h2 {
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

#team p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}
/* === SEZIONE DOVE SIAMO - FULLSCREEN === */
/* === SEZIONE DOVE SIAMO === */
/* === SEZIONE DOVE SIAMO === */
#dove-siamo {
  width: 100%;
  background: #111; /* sfondo scuro come le altre sezioni */
  color: #fff;
  padding: 6rem 2rem;
}

#dove-siamo .container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* testo + mappa */
  align-items: center;
  gap: 3rem;
}

/* Blocco testo */
#dove-siamo .info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 3rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  text-align: left;
}

#dove-siamo h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #000;
  letter-spacing: 1px;
}
#dove-siamo h4 {
  font-size: 2rem;
  line-height: 1.6;
  color: #1f1f1f;
  margin-bottom: 1.2rem;
}
#dove-siamo p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1f1f1f;
  margin-bottom: 1.2rem;
}

#dove-siamo .btn {
  display: inline-block;
  background: transparent;
  color: #1f1f1f;
  border: 1px solid #1f1f1f;
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

#dove-siamo .btn:hover {
  background: #fff;
  color: #111;
}

/* Blocco mappa */
#dove-siamo .map-container {
  width: 100%;
  height: 500px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

#dove-siamo iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  #dove-siamo .container {
    grid-template-columns: 1fr;
  }

  #dove-siamo .info {
    text-align: center;
  }

  #dove-siamo .map-container {
    height: 400px;
    margin-top: 2rem;
  }
}

/* ==== PRENOTAZIONI ==== */

.section.gray {
  background: #cdcaca;
  color: #000;
}

.booking-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 3rem;
}

.booking-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 2rem;
}

.booking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.booking-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;     /* mostra tutta l’immagine */
  object-position: center; /* centrata */
  background-color: #000;  /* riempie lo spazio vuoto */
  display: block;
}

.booking-card h3 {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.3rem;
}

.booking-card p {
  padding: 0 1rem;
  color: #555;
  margin: 0.8rem 0 1.5rem;
  font-size: 0.95rem;
}

.booking-card .btn-primary {
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  background: #000;
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s;
}

.booking-card .btn-primary:hover {
  background: #333;
}

.booking-form {
  margin-top: 4rem;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.booking-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.booking-form .form-group {
  margin-bottom: 1rem;
  display: flex;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.booking-form textarea {
  resize: vertical;
  min-height: 100px;
}


.booking-form button {
  margin-top: 1rem;
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.booking-form button:hover {
  background: #333;
}


/* ---- SEZIONE DOVE SIAMO ---- */
#dove-siamo {
  background-color: #f8f8f8;
  padding: 80px 0;
  text-align: center;
}

#dove-siamo address {
  font-style: normal;
  font-size: 1.1em;
  color: #333;
  margin: 10px 0 30px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  border: none;
}
/* ==== RESET ==== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: #1f1f1f; /* colore scuro uniforme di tutto il sito */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;}

/* ==== NAVBAR TRASPARENTE CON EMPIRE ==== */
/* Navbar base */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 15px 40px;
  font-family: 'Roboto', sans-serif;
}

/* Contenitore flex: logo a sinistra, links + icone a destra */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

/* Logo */
.logo {
  display: flex;              /* utile se vuoi centrare l’immagine */
  justify-content: center;    /* la centra orizzontalmente */
  align-items: center;        /* la centra verticalmente (se serve) */
  height: 100x;              /* altezza del contenitore, modificabile */
}

.logo-img {
  width: 150px;               /* aumenta per ingrandire il logo */
  height: auto;               /* mantiene le proporzioni corrette */
}


/* Links a destra (escludendo icone) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 6px 8px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ccc;
  background-color: rgba(255,255,255,0.15);
  border-radius: 4px;
}

/* Icone social: fila orizzontale a destra */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.nav-icon:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* === 🌫️ EFFETTO SCROLL: OMBRA MORBIDA SU TESTO E LOGO === */
.navbar.scrolled .logo,
.navbar.scrolled .logo span,
.navbar.scrolled .nav-links a {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); /* ⚫ Ombra nera semitrasparente dietro il testo */
}
/* 📱 Mobile e tablet: logo allineato perfettamente a sinistra */
/* === LOGO VISIVAMENTE ALLINEATO CON "BEAT" === */
@media (max-width: 1024px) {
  .nav-inner {
    justify-content: space-between;
    padding-left: 0;
    padding-right: 20px;
  }

  .logo {
    justify-content: flex-start;
    align-items: center;
    margin-left: -4px; /* 🔧 spinge un po’ più a sinistra */
  }

  .logo-img {
    width: 130px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding-left: 0;
    padding-right: 15px;
  }

  .logo {
    margin-left: -12px; /* 🔧 ancora più a sinistra su mobile */
  }

  .logo-img {
    width: 110px;
  }
}


/* Riduci icone su mobile se vuoi */
@media (max-width: 768px) {
  .nav-icons {
    display: none;
  }
}
/* ---------------------------------
//* === NEWSLETTER ESSEMAGAZINE STYLE === */
.newsletter-bdm {
  background-color: #1f1f1f;
  color: #fff;
  text-align: center;
  padding: clamp(70px, 8vw, 100px) 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #333;
}

.newsletter-content {
  width: 100%;
  max-width: 520px;
}

.newsletter-bdm h2 {
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  text-transform: uppercase;
  white-space: nowrap; /* 🔹 mantiene la scritta su una sola riga */
}

/* === FORM === */
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #666;
  background: #2a2a2a;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: #999;
  font-weight: 400;
}

.newsletter-form input[type="email"]:focus {
  border-color: #fff;
  outline: none;
  background: #222;
}

.newsletter-form button {
  background: #fff;
  color: #1f1f1f;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #ddd;
  transform: translateY(-2px);
}

/* === CHECKBOX PRIVACY === */
.privacy-check {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  color: #eaeaea; /* 🔹 testo chiaro ma non bianco pieno */
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 420px;
  text-align: left;
  margin: 10px auto 0 auto; /* 🔹 un po’ di spazio sopra e centrato */
  padding-left: 10px;
}

.privacy-check input[type="checkbox"] {
  appearance: none;
  width: 8px;
  height: 8px;
  border: 1.5px solid #fff;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.privacy-check input[type="checkbox"]:checked {
  background-color: #fff;
}
  .privacy-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 7px;
    border: solid #1f1f1f;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
  }
.privacy-check a {
  color: #fff;
  text-decoration: underline;
  font-weight: 400;
}

.privacy-check a:hover {
  opacity: 0.8;
}

/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {
  .newsletter-bdm {
    padding: 60px 20px;
  }

  .newsletter-bdm h2 {
    font-size: 1.8rem;
  }

  .newsletter-form input[type="email"] {
    max-width: 360px;
    padding: 10px 14px;
  }

  .newsletter-form button {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .privacy-check {
    font-size: 0.8rem;
    max-width: 340px;
    line-height: 1.4;
    justify-content: flex-start; /* 🔹 evita che esca dallo schermo */
    padding-left: 15px;
  }

  .privacy-check input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .newsletter-bdm h2 {
    font-size: 1.6rem;
  }

  .privacy-check {
    max-width: 95%;
    justify-content: flex-start;
    padding-left: 18px; /* 🔹 mantiene visibile la spunta */
  }
}




@media (max-width: 768px) {
  .section{
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
  }
  .container {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
}
.mobile-socials {
  display: none; /* nascosto su desktop */
}

.mobile-socials {
  display: none; /* nascosto su desktop */
}

@media (max-width: 768px) {
  .mobile-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .mobile-socials-text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
  }

  .mobile-socials-icons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
  }

  .mobile-socials-icons a svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-socials-icons a:hover svg {
    transform: scale(1.2);
    opacity: 0.8;
  }
}
/* Footer */
.bdm-footer {
  background: #1f1f1f; /* nero puro */
  color: #ffffff;      /* testo bianco */
  padding: 70px 0 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  width: min(1200px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 0.6;
}

.footer-logo {
    margin-bottom: 15px;
    filter: brightness(100%) contrast(100%); /* per garantire bianco nitido */
    width: 140px !important;
    height: auto !important;
    max-width: 140px !important;
  }


.footer-desc {
  max-width: 260px;
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.4;
}


/* Social icons */
.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.footer-social a {
  font-size: 1.4rem;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s;
  color: #ffffff;
}

.footer-social a:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  font-size: 0.85rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {

  .bdm-footer {
    padding: 50px 0 25px;
  }

  .footer-container {
    grid-template-columns: 1fr; /* tutto in colonna */
    gap: 35px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  .footer-desc {
    margin: 0 auto;
  }

  .footer-col h4 {
    margin-top: 10px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 40px;
    padding-top: 15px;
    font-size: 0.8rem;
  }
}

@media (max-width: 430px) {  
  .footer-social a {
    font-size: 1.2rem;  /* icone leggermente più piccole */
  }

  .footer-logo {
    width: 150px; /* dimensione ridotta per schermi molto piccoli */
  }
}
