:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #8d8d8d;
  --soft: #f6f6f6;
  --footer: #0f0b08; /* #060200;  */
  --footer-text: rgba(255,255,255,.92);
  --footer-soft: rgba(255,255,255,.72);
 
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

@font-face {
  font-family: 'MioFont';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'MioFont';
  src: url('../fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'MioFont';
  src: url('../fonts/Poppins-Thin.ttf') format('truetype');
  font-weight: 100;
}

@font-face {
  font-family: 'MioFont';
  src: url('../fonts/Poppins-ExtraLight.ttf') format('truetype');
  font-weight: 200;
}

html, body {
  width: 100%;
  overflow-x: hidden;

}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  color: #fff;
  background-color: #2b2b2b;
  animation: bgMove 10s ease infinite alternate;
}
.logo {
  
  display: block;
  margin: 0 auto; 
  height: 35px;
}

.header {
    display: flex;
    justify-content: center; /* centro orizzontale */
    align-items: center;     /* centro verticale */
    position: relative;
    height: 50px; /* altezza header, regola se necessario */
    background: transparent;
}

/* Contenitore logo */
.logo-container {

    position: relative;
    display: inline-block;
}
.alert {

  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  padding: 12px;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-left: 3px solid;
  background: rgba(255, 255, 255, 0.05);
  opacity: 1;               /* piena visibilità */
  transition: opacity 1s;  

}

.alert-custom.succes {
  color: #28a745 ;
  border-color: #28a745 ;
  background-color: #2b2b2b;
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 9999;
}

.alert-custom.error {
  color: #ff4d4d;
  border-color: #ff4d4d;
}

/* Sole / fascio di luce */
.sunlight {
    position: absolute;
    top: -33px; /* sopra il logo */
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 50px;
    background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgba(255,255,200,0.1) 40%, rgba(255,255,200,0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
    animation: sunlightGlow 3s infinite alternate ease-in-out;
}

/* Animazione pulsante */
@keyframes sunlightGlow {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.7;
    }
}

/* Logo sopra luce */
.logo-container .logo {
    position: relative;
    z-index: 2; /* sempre sopra la luce */
  
}

.asteroid {
  position: absolute;
  top: 15%;   /* 👈 posizione reale */
  right: 20%; 
  
  width: 400px;/* cambia tu */
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.1s ease-out;
  z-index: -1;
}

.container_titolo{

  /* Fade in */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;

}

.container_titolo.show {
  opacity: 1;
  transform: translateY(0);
}

.titolo{

    font-size: 72px;
    color: #b47241;
    font-weight:100 ;
    font-family: 'MioFont';
    text-align: center;
    
    
}
.titolo span {
      color: #b47241;
      font-weight: 600;
}

.sottotitolo{

    font-size: 22px;
    color: #b47241;
    font-weight:300 ;
    font-family: 'MioFont';
    
    text-align: center;
}

.spazio{

  margin-top: 170px;

}

.spazio2{

  margin-top: 100px;
}

.spazio3{

  margin-top: 500px;
}

.countdown {
  position: relative;
    display: flex;
    justify-content: flex-start; /* puoi cambiare in center se vuoi al centro */
    gap: 30px;

    z-index: 1;
    flex-wrap: wrap; /* per mobile */
}


.countdown-card {
  position: absolute;  /* assoluto rispetto a .container_cucina */
  top: 66%;            /* verticale al centro */
  left: 50%;           /* orizzontale al centro */
  transform: translate(-50%, -50%); /* centra perfettamente */
  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;

 



  z-index: 2; /* sopra l’immagine */
}
/* singolo blocco tempo */
.time {
    display: flex;
    flex-direction: column; /* numero sopra, testo sotto */
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    min-width: 80px; /* larghezza uniforme */
    color: #d2d2d2; /* testo */
    z-index: 1;
}

/* numeri */
.time span {
    font-family: 'MioFont', sans-serif;
    font-weight: 300;
    font-size: 40px; /* leggibile */
    color: #d2d2d2; /* colore evidenziato */
    margin-bottom: 5px;
    z-index: 1;
}

/* etichette */
.time p {
    font-size: 16px;
    color: #ccc;
    margin: 0;
    letter-spacing: 1px;
}
.container_cucina,
.container_dettagli{

  position: relative;
}

.container_cucina p1{

  position: absolute; 
  top: 50%;    
  left: 50%; 
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  

  z-index: 2;

}

.testo_cucina{

color: #d2d2d2;
font-family: 'MioFont' ;
font-size: 24px;
}

.cucina {
  filter: blur(16px); 
  max-width: 1440px;
  max-height: 724px;
  margin-top: 100px;
  margin-bottom: 10px;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

}


.pulsante_sfocatura{
  background: transparent;
  position: absolute;
  top: 75%;    
  left: 50%; 
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1;
}

.schizzo, .cucina {
  
  width: 1440px;
  height: 724;
  z-index: 0;

}

.intestazione {
  position: absolute;
  top: 29%;    
  left: 50%; 
  transform: translate(-50%, -50%);
  
  font-family: 'MioFont';
  font-size: 39px;
  font-weight: 200;
  z-index: 2;
  color: #d2d2d2;
}

.dettagli{
  position: absolute;
  top: 40%;    
  left: 50%; 
  width: 331px;
  height: 108px;
  transform: translate(-50%, -50%);  
  font-family: 'MioFont';
  z-index: 2;
  text-align: center;
  margin-top: 40px;
  color: #d2d2d2;
}




/* placeholder */
input::placeholder,
textarea::placeholder {
  color: #DDDDDD;
  letter-spacing: 1px;
  text-transform: uppercase;
}









.container_dettagli p1 { 
  
  font-family: 'MioFont';
  font-weight: 100;
}

.container_dettagli P2 {

  padding-top: 30px;
  font-family: 'MioFont';
  font-weight: 300;

}

.Prenotazione {

  position: absolute;
  top: 75%;    
  left: 50%; 
  transform: translate(-50%, -50%);
  height: 50px;
  width: 280px;
  font-family: 'MioFont';
  font-weight: 200;
  color: #dddddd;
  border-radius: 5px;
  border: transparent;
  background-color: #242424;
  z-index: 2;
  
}

.Prenotazione:hover {

  background-color: #3b3b3b;
  transition: 0.3s ease-in ;

}

.Prenotazione:not(:hover){
  background-color: #242424;
  transition: 0.3s ease-in ;
}



/* FOOTER */

.site-footer {
  width: 100%;
  min-height: 400px;
  background: var(--footer);
  color: var(--footer-text);
  position: relative;
  display: flex;
  align-items: stretch;
    justify-content: center;

}

.footer-wrap {
  width: 1440px;
  min-height: 400px;
  padding: 30px 38px 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.footer-left {
  
  
  max-width: 560px;
  font-size: .72rem;
  line-height: 2;
  color: var(--footer-soft);
  font-family: 'MioFont';
}

.footer-brand {
  
  color: #fff;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  font-weight: 200;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.04em;
}

.logo_footer{
  width: 96px;
  height: 21px;
}

.footer-nav {
  
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
  font-size: .82rem;
  line-height: 1.95;
}
.x-el-h2{
  font-family: 'MioFont';
  font-weight: 200;
}
.x-el .mioform input, .mioform textarea{
  padding: 10PX;
  font-family: 'MioFont';
  font-weight: 200;
  background:none ;
  border: none;
  margin-top: 5px;
  width: 100%;
  border-bottom: 1px solid #444;
  color: #dddddd;

}

.mioform textarea{

  width: 161px;
  font-family: 'MioFont';
  width: 100%;
  
  
 }

.x-el-button{
  margin-top: 10px;
  width: 75%;
  font-family: 'MioFont';
  font-weight: 400;
  border: none;
  background-color: #DDDDDD;
  
}

.x-el-div{
  text-align: center;
}

.footer-nav a {
  color: var(--footer-soft);
  transition: color .25s ease, transform .25s ease;
}

.footer-nav a::after {
  bottom: -2px;
  background: #fff;
  transform-origin: left;
}

.footer-nav a:hover {
  color: #fff;
  transform: translateX(-4px);
}

.footer-nav a:hover::after {
  transform: scaleX(1);
}

.back-to-top {
  position: absolute;
  top: 54px;
  right: 38px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.08);
  border-color: #fff;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--transition), transform var(--transition);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}



@media screen and (max-width: 1000px) {

  .cucina,
  .schizzo {
    width: 150%;            /* ingrandisce oltre i bordi */
    max-width: none;        /* rimuove limiti */
    height: auto;           /* mantiene proporzioni */
    position: relative;
    left: 50%;              /* centra l’immagine rispetto al centro dello schermo */
    transform: translateX(-50%);
  }
  
/* CONTAINER GENERALE */
.container_cucina
 {
  width: 100%;
  margin-top: 120px;
  text-align: center;
}
.container_dettagli {
  width: 100%;
  
  text-align: center;
}

/* WRAPPER IMMAGINE */
.image-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* IMMAGINE FLUIDA */
.cucina {
 
  max-width: none;
  height: auto;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* OVERLAY TESTO */
.overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* TESTO */
.testo_cucina {
  font-size: clamp(16px, 3vw, 28px);
  color: #d2d2d2;
  letter-spacing: 2px;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  
  flex-wrap: nowrap;
}

.time {
  text-align: center;
  color: #d2d2d2;
}

.time span {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 300;
}

.time p {
  font-size: 12px;
  letter-spacing: 1px;
}
.titolo { font-size: clamp(28px, 7vw, 72px);
  margin-top: 200px;
  margin-bottom: 200px;
}
.sottotitolo { font-size: clamp(14px, 4vw, 30px); }
.intestazione { font-size: clamp(25px, 5vw, 50px); }
.testo_cucina { width: 100%;font-size: clamp(14px, 4vw, 50px); }
.time span { font-size: clamp(18px, 6vw, 55px); }
.time p { font-size: clamp(10px, 3vw, 20px); }

.intestazione { width: 100%;top: 25%; }
.dettagli {font-size: clamp(14px, 3vw, 30px);  top: 35%; }
.Prenotazione { width: 33%;;top: 65%; }

.x-el-input{
  font-size: clamp(14px, 3vw, 24px);
}

.x-el-button{
  width: 50%;
}
.x-el-textarea{
  font-size: clamp(14px, 3vw, 24px);  
}

}

/*  lingua */
.language-switcher {
    position: fixed;
    top: 18px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(199, 131, 67, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
}

.lang-btn {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    color: #c78343 !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: none;
    outline: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.lang-btn:hover {
    color: #ffffff !important;
    opacity: 1;
}

.lang-btn:focus,
.lang-btn:active,
.lang-btn:visited {
    color: #c78343 !important;
    background: transparent !important;
    border: none;
    outline: none;
    box-shadow: none;
}

.lang-separator {
    color: #c78343;
    opacity: 0.8;
    font-size: 13px;
    line-height: 1;
}

/* contenitore Google nascosto ma funzionante */
.google-translate-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Nasconde elementi standard Google Translate */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget span {
    display: none !important;
}

body {
    top: 0 !important;
}

/* TABLET */
@media (max-width: 991px) {
    .language-switcher {
        top: 14px;
        right: 16px;
        padding: 5px 10px;
        gap: 6px;
        border-radius: 18px;
    }

    .lang-btn {
        font-size: 13px;
    }

    .lang-separator {
        font-size: 12px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        gap: 5px;
        border-radius: 16px;
        transform: scale(0.95);
        transform-origin: top right;
    }

    .lang-btn {
        font-size: 12px;
        color: #c78343 !important;
    }

    .lang-btn:hover,
    .lang-btn:focus,
    .lang-btn:active,
    .lang-btn:visited {
        color: #c78343 !important;
        background: transparent !important;
    }

    .lang-separator {
        font-size: 11px;
        color: #c78343;
    }
}