/* ------------------------
RESET
------------------------ */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  transition:background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

body{
  font-family: 'Segoe UI', sans-serif;
  background:#111;
  color:#eee;
  line-height:1.6;
}

/* ------------------------
COLORI
------------------------ */
:root{
  --primary:#c89b3c;
  --dark:#111;
  --light:#f5f5f5;
  --accent:#3A2E24;
}

/* ------------------------
HEADER MIGLIORATO
------------------------ */
.main-header{
  position:fixed;
  top:0;
  width:100%;
  background:rgba(0,0,0,0.75);
  backdrop-filter:blur(12px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 35px;
  z-index:1000;
  border-bottom:1px solid rgba(255,255,255,0.05);
  transition:0.3s;
}

.main-header.scrolled{
  background:rgba(0,0,0,0.95);
  box-shadow:0 5px 20px rgba(0,0,0,0.5);
}

.logo-img{
  height:50px;
  transition:transform .3s;
}
.logo-img:hover{
  transform:scale(1.05);
}

#navbar{
  display:flex;
  gap:30px;
}

#navbar a{
  color:white;
  text-decoration:none;
  font-weight:500;
  font-size:0.95rem;
  transition:0.3s;
  position:relative;
  padding:5px 0;
}

#navbar a::after{
  content:"";
  width:0%;
  height:2px;
  background:var(--primary);
  position:absolute;
  bottom:-5px;
  left:0;
  transition:0.3s;
}

#navbar a:hover::after{
  width:100%;
}

#navbar a:hover{
  color:var(--primary);
}

/* ------------------------
MENU MOBILE
------------------------ */
.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  cursor:pointer;
  width:40px;
  height:40px;
  border-radius:8px;
  transition:0.3s;
}

.menu-toggle:hover{
  background:rgba(255,255,255,0.08);
}

.menu-toggle span{
  width:26px;
  height:3px;
  background:white;
  border-radius:5px;
  transition:0.4s;
}

.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(6px,-6px);
}

/* ------------------------
HERO ANIMATO MODERNO
------------------------ */
.page-hero{
  height:85vh;
  background-size:cover;
  background-position:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
  position:relative;
  overflow:hidden;
}

.page-hero::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  z-index:0;
}

/* Hero elements animation */
.page-hero h1,
.page-hero p{
  position:relative;
  z-index:1;
  opacity:0;
  transform:translateY(40px) scale(0.95);
  animation:heroFadeUp 1s forwards;
}

.page-hero h1{
  font-size:3rem;
  margin-bottom:10px;
  animation-delay:0.3s;
}

.page-hero p{
  margin-bottom:20px;
  font-size:1.2rem;
  animation-delay:0.6s;
}

.page-hero .btn{
  position:relative;
  z-index:1;
  opacity:0;
  transform:translateY(50px) scale(0.9);
  animation:heroFadeUp 0.9s forwards;
  animation-delay:0.9s;
}

/* Animazione hero */
@keyframes heroFadeUp{
  0%{
    opacity:0;
    transform:translateY(40px) scale(0.95);
  }
  60%{
    opacity:1;
    transform:translateY(-5px) scale(1.02);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

/* ------------------------
SEZIONI
------------------------ */
section{
  padding:80px 20px;
  max-width:1100px;
  margin:auto;
  text-align:center;
  animation:fadeUp 0.8s ease both;
}

section h2{
  margin-bottom:20px;
  font-size:2rem;
  color:var(--primary);
}

section::after{
  content:"";
  display:block;
  width:60px;
  height:2px;
  background:var(--primary);
  margin:30px auto 0;
  opacity:0.3;
}

/* ------------------------
BOTTONI
------------------------ */
.btn{
  display:inline-block;
  padding:12px 25px;
  background:var(--primary);
  color:#000;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  position:relative;
  overflow:hidden;
  transition:0.3s;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 5px 15px rgba(0,0,0,0.4);
}

.btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
  transition:0.5s;
}

.btn:hover::after{
  left:100%;
}

/* ------------------------
SLIDESHOW
------------------------ */
.slideshow-container{
  position:relative;
  max-width:900px;
  margin:auto;
  overflow:hidden;
  border-radius:10px;
}

.slide{
  opacity:0;
  transition:opacity 1s ease;
  position:absolute;
  width:100%;
  top:0;
  left:0;
}

.slide.active{
  opacity:1;
  position:relative;
  animation:fade 1s;
}

.prev,.next{
  cursor:pointer;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.5);
  color:white;
  padding:12px;
  border-radius:50%;
  font-size:18px;
  user-select:none;
  transition:background 0.3s;
}

.prev:hover,.next:hover{
  background:rgba(0,0,0,0.8);
}

.prev{left:10px;}
.next{right:10px;}

.dots-container{
  margin-top:15px;
  display:flex;
  justify-content:center;
  gap:8px;
}

.dot{
  width:10px;
  height:10px;
  background:#555;
  border-radius:50%;
  cursor:pointer;
}

.dot.active{
  background:var(--primary);
}

/* ------------------------
REVIEWS
------------------------ */
.reviews-section{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.review-card{
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.05);
  padding:25px;
  border-radius:10px;
  transition:0.3s;
}

.review-card:hover{
  transform:translateY(-5px);
}

.review-stars{
  color:gold;
  margin-bottom:10px;
}

/* ------------------------
MERCH
------------------------ */
.merch-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.product-card{
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(8px);
  border-radius:10px;
  overflow:hidden;
  transition:transform 0.4s ease, box-shadow 0.4s ease;
  cursor:pointer;
}

.product-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:10px;
  transition:transform .4s ease, box-shadow .4s ease;
}

.product-card img:hover{
  transform:scale(1.05);
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.price{
  color:var(--primary);
  font-size:1.2rem;
  margin:10px 0;
}

/* ------------------------
FORM PRENOTAZIONE
------------------------ */
.booking-container{
  max-width:500px;
  margin:auto;
}

form{
  display:flex;
  flex-direction:column;
  gap:15px;
}

input,select,textarea{
  padding:12px;
  border-radius:8px;
  border:none;
  background:#1b1b1b;
  color:white;
}

textarea{
  min-height:100px;
}

/* ------------------------
FOOTER
------------------------ */
footer{
  background:#000;
  padding:40px 20px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.05);
}

.footer-content{
  max-width:1100px;
  margin:auto;
}

.footer-logo img{
  height:50px;
}

.footer-text{
  color:#aaa;
  font-size:14px;
  margin-bottom:15px;
}

.social-links{
  margin:20px 0;
}

.social-links a{
  color:white;
  font-size:22px;
  margin:0 10px;
  display:inline-block;
  transition:0.3s;
}

.social-links a:hover{
  color:var(--primary);
  transform:translateY(-3px);
}

.credit{
  margin-top:15px;
  font-size:13px;
  color:#777;
}

/* ------------------------
ANIMAZIONI
------------------------ */
@keyframes fade{
  from{opacity:0;}
  to{opacity:1;}
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeMenu{
  from{
    opacity:0;
    transform:translateY(-10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,0.5);}
  70%{box-shadow:0 0 0 10px rgba(37,211,102,0);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* ------------------------
RESPONSIVE
------------------------ */
@media(max-width:768px){
  #navbar{
    position:absolute;
    top:75px;
    right:20px;
    background:rgba(0,0,0,0.95);
    backdrop-filter:blur(10px);
    flex-direction:column;
    width:220px;
    border-radius:10px;
    padding:25px;
    display:none;
    gap:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.6);
    animation:fadeMenu .4s ease;
  }
  #navbar.show{
    display:flex;
  }
  .menu-toggle{
    display:flex;
  }
  .page-hero h1{
    font-size:2rem;
  }
  .menu-card img,
  .gallery-grid img{
    height:180px;
  }
  .btn{
    padding:10px 20px;
    font-size:0.9rem;
  }
  .cocktail-card img{
    height:180px;
  }
  .cocktail-card h3{
    font-size:1.1rem;
  }
  .cocktail-card p{
    font-size:0.85rem;
  }
}

/* ------------------------
COCKTAIL SECTION
------------------------ */
.cocktail-section{
  padding:60px 20px;
  background:rgba(0,0,0,0.05);
  border-top:1px solid rgba(255,255,255,0.1);
  border-bottom:1px solid rgba(255,255,255,0.1);
}

.cocktail-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-top:30px;
}

.cocktail-card{
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(8px);
  border-radius:12px;
  overflow:hidden;
  transition:transform 0.4s ease, box-shadow 0.4s ease;
  cursor:pointer;
  text-align:center;
  padding-bottom:15px;
}

.cocktail-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-bottom:1px solid rgba(255,255,255,0.1);
  transition:transform 0.4s ease, filter 0.4s ease;
}

.cocktail-card img:hover{
  transform:scale(1.08) rotate(1deg);
  filter:brightness(1.1);
}

.cocktail-card h3{
  margin-top:12px;
  font-size:1.3rem;
  color:var(--primary);
}

.cocktail-card p{
  font-size:0.95rem;
  color:#ddd;
  margin-top:6px;
  padding:0 10px;
}

.cocktail-card a{
  display:block;
  overflow:hidden;
  border-radius:12px;
  transition:transform 0.4s ease, box-shadow 0.4s ease;
}

.cocktail-card a:hover img{
  transform:scale(1.08) rotate(1deg);
  filter:brightness(1.15);
}

.cocktail-card a:focus,
.cocktail-card img:active{
  outline:2px solid var(--primary);
  outline-offset:2px;
  transform:scale(1.8);
  z-index:1000;
  box-shadow:0 15px 40px rgba(0,0,0,0.7);
  border-radius:12px;
}

/* ------------------------
PULSANTE WHATSAPP
------------------------ */
.whatsapp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  max-width:280px;
  padding:12px 20px;
  margin:10px auto 0;
  background:#25D366;
  color:#fff;
  font-weight:600;
  font-size:1rem;
  border:none;
  border-radius:8px;
  cursor:pointer;
  text-decoration:none;
  transition:transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
  animation:pulse 2s infinite;
}

.whatsapp-btn img{
  width:24px;
  height:24px;
  object-fit:contain;
  transition:transform 0.3s ease;
}

.whatsapp-btn:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 8px 20px rgba(0,0,0,0.3);
  background:#1ebe57;
}

.whatsapp-btn:hover img{
  transform:rotate(-15deg) scale(1.2);
}

.whatsapp-btn:focus{
  outline:2px solid #fff;
  outline-offset:2px;
}