/* === Palette ===
   Oro: #d4af37
   Sfondo: #282C2F
   Sfondo chiaro: #CCCCCC
   Testo: #f5f5f5
   Accento Rosa: #ff3399
*/

/* BODY + OVERLAY */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #282C2F;
  color: #f5f5f5;
  position: relative;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('overlay3.png');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  pointer-events: none;
  z-index: -1;
}

/* HERO BANNER */
.hero-banner {
  background-image: url('bubbles_bg3.png');
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-banner_i {
  background-image: url('bubbles_bg_vuoto.png');
  background-size: cover;
  background-position: center;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Overlay centrale */
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
}

/* === INTRO TEXT === */
.intro p {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

/* white paragraph texts */
p {
  color: #ffffff !important;
}

/* === TITOLI DORATI === */
h2,
h3 {
  color: #d4af37 !important;
  text-shadow: 0 0 8px rgba(0,0,0,0.4);
}

/* === GALLERIA === */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
  box-shadow: 0 0 22px rgba(212,175,55,0.25);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  filter: none !important;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.08);
  filter: none !important;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  color: white;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  pointer-events: none;
}

.gallery-caption {
  font-size: 0.95rem;
  margin-bottom: 6px;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

.like-btn {
  font-size: 1.4rem;
  color: #ffffffa8;
  transition: color 0.3s ease;
  pointer-events: auto;
}

.like-btn.liked {
  color: #ff2f4b;
}

/* === HIGHLIGHTS === */
.highlights {
  background: rgba(0,0,0,0.35);
  padding-top: 60px;
  padding-bottom: 60px;
}

.highlight-box {
  background: #000;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 2rem;
}

.highlight-box:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
  box-shadow: 0 0 22px rgba(212,175,55,0.25);
}

.highlight-box h5 {
  margin-bottom: 0.75rem;
}

.highlight-box p {
  flex-grow: 1;
  margin-bottom: 0;
}

/* === LOCATION + ORARI === */
.location-hours-section {
  background: rgba(0,0,0,0.35);
  padding-top: 60px;
  padding-bottom: 60px;
}

.info-box {
  background: #000;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 2rem;
}

.info-box:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
  box-shadow: 0 0 22px rgba(212,175,55,0.25);
}

.info-box h5 {
  margin-bottom: 0.75rem;
}

.info-box p,
.info-box ul {
  margin-bottom: 0;
}

/* === MENU CARDS === */
.menu-card {
  background: #000 !important;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.35s ease;
  overflow: hidden;
}

.menu-card img {
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.menu-card .card-title {
  color: #f5f5f5;
  margin-bottom: 0.75rem;
}

.menu-card .card-text {
  color: #bfbfbf;
}

.menu-card:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
  box-shadow: 0 0 22px rgba(212,175,55,0.25);
}

/* === FIX DEFINITIVO: OVERRIDE DELLE CLASSI BOOTSTRAP === */

.text-secondary,
.text-muted,
.card-text,
.lead,
.small,
.list-unstyled li {
  color: #ffffff !important;
}

/* Per sicurezza: paragrafi dentro box */
.highlight-box p,
.info-box p,
.info-box ul {
  color: #ffffff !important;
}

      /*Video Intro */
/* Wrapper quadrato centrato */
.video-square-wrapper {
  max-width: 380px;   /* dimensione perfetta per PC e mobile */
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  position: relative;
}

/* Video quadrato */
.video-bubbles-square {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* riempie il quadrato in modo elegante */
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 0 22px rgba(212,175,55,0.25);
  display: block;
}

/* Popup Scheda Menù */
.close-popup-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #d4af37; /* Oro Bubbles */
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
}

.close-popup-btn:hover {
    background-color: #000;
    color: #d4af37;
    transform: scale(1.1);
}

/* Nasconde il tasto se la pagina non è aperta come popup (opzionale) */
@media print {
    .close-popup-btn { display: none; }
}

/* ==========================================================================
   STILE TEMA UFFICIALE (INDEX.HTML)Con Popup Video
   ========================================================================== */

/* 1. Il Pulsante Principale */
.btn-theme-animated {
  background-color: transparent;
  color: #d4af37; /* Oro Bubbles */
  border: 2px solid #d4af37;
  border-radius: 50px;
  padding: 15px 35px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  overflow: visible;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-theme-animated:hover {
  background-color: #d4af37;
  color: #000 !important;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* 2. L'icona circolare con l'effetto impulso */
.pulse-icon {
  display: inline-block;
  margin-right: 12px;
  background: #d4af37;
  color: #000;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  text-align: center;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

/* L'anello che pulsa all'esterno */
.pulse-icon::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  border-radius: 50%;
  background: #d4af37;
  animation: pulse-ring 1.5s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* 3. Personalizzazione del Popup (Modal) */
.modal-content {
  background-color: #000 !important; /* Sfondo nero puro per il video */
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  border-bottom: none !important;
  padding: 15px 20px;
}

.modal-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 4. Player Video Quadrato (Fix definitivo) */
.ratio-1x1 video {
  object-fit: cover; /* Taglia il video per riempire il quadrato senza deformarsi */
  width: 100%;
  height: 100%;
  background: #000;
}

/* Responsive: riduce la dimensione del font su mobile */
@media (max-width: 576px) {
  .btn-theme-animated {
    padding: 12px 20px;
    font-size: 0.8rem;
  }
}

/* --- SEZIONE EVENTI --- */
.events-section {
  position: relative;
  overflow: hidden;
}

.divider-gold {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin-top: 10px;
}

/* Box Evento In evidenza */
.event-featured-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 40px 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.event-featured-box:hover {
  border-color: #d4af37;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.event-icon {
  color: #d4af37;
  animation: float 3s ease-in-out infinite;
}

.event-text {
  font-size: 1.1rem;
  color: #f5f5f5;
  line-height: 1.6;
}

/* Badge Coming Soon */
.coming-soon-badge {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid #d4af37;
  color: #d4af37;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

/* Animazione Galleggiamento Icona */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
  .event-text {
    font-size: 1rem;
  }
}