/*!
 * Don Geppi Restaurant - Video Styles
 * Copyright (c) 2025 Manolo De Angelis - Mdaweb
 * All rights reserved.
 */

/* ========== RESET ========== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* ========== HERO WRAPPER ========== */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

/* ========== HERO VIDEO ========== */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
  background-color: #000;
}

/* ========== HERO OVERLAY ========== */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  padding: 0 0px;
  text-align: center;

}

/* ========== CONTROLS (Volume + Prenota + Telefono) ========= */
.controls {
  position:fixed;
  top: 60px;          /* aumentato da 20px per non sovrapporsi al testo */
  right: 40px;
  display: flex;
  gap: 16px;
  pointer-events: auto;
  text-transform: uppercase;
  color:#000;
  z-index: 999;
  font-family: 'Julius';
}
.controls .volume-toggle,
.controls .book-link {
  background: none;
  color: #fff;
  padding: 10px;
  border: none;
  text-decoration: none; /* rimosse linee di sottolineatura */
  font-weight: bold;
	font-size: 1em;       /* leggermente più grande e leggibile */
  text-transform: none; /* nessun maiuscolo forzato */
  cursor: pointer;
}
.controls .volume-toggle i,
.controls .book-link i {
  font-size: 1.4em;
}

/* ========== SCROLL DOWN ========= */
.hero-overlay .scroll-down {
  position: absolute;
  bottom: 20px;
  left: calc(50% + 90px);
  transform: translateX(-50%);
  color: #fff;
  font-size: 1em;
  text-align: center;
  pointer-events: none;
}
.hero-overlay .scroll-down .arrow {
  display: block;
  font-size: 2em;
  margin-top: 4px;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(10px); }
}

/* ========== MAIN CONTENT OFFSET per desktop ========= */
.main-content {
  margin-left: 140px;
  transition: margin 0.3s ease;
}

/* ========== MOBILE ADJUSTMENTS ========= */
@media (max-width: 768px) {
  .hero-wrapper {
    height: 80vh;
  }
  .main-content {
    margin-left: 0;
    padding-top: 0px;
  }
  /* nasconde i controlli su mobile */
  .hero-overlay .controls {
    display: none;
  }
  /* mantiene solo scroll-down */
	.hero-overlay .scroll-down {
	left: 50%;
  }
  .hero-overlay .scroll-down {
    font-size: 0.9em;
  }
  .hero-overlay .scroll-down .arrow {
    font-size: 1.5em;
  }
}

/* animazione pulse per il volume */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.hero-overlay .volume-toggle {
  transition: transform 0.2s ease;
}

.hero-overlay .volume-toggle.pulse {
  animation: pulse 0.4s ease;
}