/* =========================
   RESET
========================= */

: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
========================= */
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;
}

@keyframes bgMove {
  0% { background-position: top; }
  100% { background-position: bottom; }
}

/* =========================
   LOGO
========================= */



.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;
}

/* 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: 30%;   /* 👈 posizione reale */
  right: 25%; 
  
  width: 400px;/* cambia tu */
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.1s ease-out;
  z-index: -1;
}
.col-lg-6:last-child {
  border-left: 2px solid #515151; /* colore e spessore */
  padding-left: 30px; /* aumenta lo spazio tra bordo e contenuto */

}

.spaziatura{
  height: 200px;
}

/* =========================
   CARD WRAPPER
========================= */
.card-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1000px;
  width: 100%;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: top;
  height: 100%;
}

.left h1 {
  font-size: 38px;
  font-family: 'MioFont';
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 350px;
  letter-spacing: 1px;

}

/* INFO */
.info {
  display: flex;
  gap: 40px;
}

.info span {
  font-size: 11px;
  letter-spacing: 2px;
  color: #777;
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.info p {
  font-size: 14px;
  color: #DDDDDD;
  line-height: 1.4;
}

/* =========================
   FORM
========================= */
.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form_prenotazioni {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
  font-family: 'MioFont';
    border-right-width: 3px;
  border-right-color: #DDDDDD;
}

input,
textarea,
select {
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  padding: 10px 5px;
  color: #DDDDDD;
  font-size: 13px;
  outline: none;
  width: 100%;
}

.prenotazione span {
  color: #DDDDDD;
}

/* placeholder */
input::placeholder,
textarea::placeholder {
  color: #DDDDDD;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* SELECT */
select {
  appearance: none;
  color: #666;
}

.campo {
  position: relative;
  padding: 5px;
}

.campo option {
  background-color: #666;
  color: #fff;
  
}

.campo::after {
  content: "▾";
  position: absolute;
  right: 5px;
  bottom: 10px;
  color: #DDDDDD;
  pointer-events: none;
}

/* BUTTON */
.submit {
  align-self: center;
  width: 280px;
  height: 50px;
  background: #242424;
  color: #666;
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 20px;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  padding: 10px 0;
  border: none;
  border-radius: 5px;
}

.submit:hover {
  color: #fff;
}

/* =========================
   ALERT
========================= */
.alert {
  padding: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-left: 3px solid;
  background: rgba(255, 255, 255, 0.05);
  animation: fadeIn 0.5s ease-in-out;
}

.alert-custom.error {
  color: #ff4d4d;
  border-color: #ff4d4d;
}

/* =========================
   ANIMAZIONI
========================= */
.animate-left,
.animate-right {
  opacity: 0;
  transform: translateX(-80px) scale(0.98);
  filter: blur(8px);
  animation: slideIn 1s ease forwards;
}

.animate-right {
  transform: translateX(80px) scale(0.98);
  animation-delay: 0.5s;
}

.animate-left {
  animation-delay: 0.3s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

/* 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: 0px 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);
}



/* =========================
   RESPONSIVE TABLET
========================= */
@media (max-width: 1100px) {

    body {
    justify-content: none;
  }
  .row {
    flex-direction: column;
  }
  .logo {
    margin-top: 25px;
  }
  
  .logo img {
    height: 40px;
  }



  .spaziatura{
      height: 100px;
    }

  .col-lg-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .card-wrapper{
    width: 70%;
    margin-bottom: 50px;
  }
  
  .asteroid{
    right: 33%;
    top: 45%;
    width: 200px;
    
  }

 .col-lg-6:last-child {
  border-left: 2px solid #2b2b2b; /* colore e spessore */
  padding-left: 30px; /* aumenta lo spazio tra bordo e contenuto */

}
  .left {
    text-align: center;
    margin-bottom: 40px;
  }

  .left h1{
    margin-bottom: 100px;
    font-size: 50px;
  }

  .info {
    justify-content: center;
  }

  .info span {
    font-size: 20px;

  }

  .info p{
    font-size: 25px;

  }

  .submit {
    align-self: center;
  }

  form {
    
    gap: 18px;
    padding: 0;
  }

  .form_content, .prenotazione{
    font-size: 25px;
  }
.x-el-input{
  font-size: clamp(14px, 3vw, 24px);
}

.x-el-button{
  width: 50%;
}
.x-el-textarea{
  font-size: clamp(14px, 3vw, 24px);  
}



  .animate-left,
  .animate-right {
    transform: translateY(40px);
    animation: slideUp 0.8s ease forwards;
    filter: blur(8px);
  }

  @keyframes slideUp {
    to {
      opacity: 1;
      transform: translateY(0);
       filter: blur(0px);
       animation: slideUp 1s ease forwards;
       
      
    }



  }

}


