:root{
    --bg-fallback: #0b1414;
    --overlay: rgba(0,0,0,0.55);
    --text-main: #ffffff;
    --text-sub: #e0e0e0;
  }
  
  *{ box-sizing:border-box; }
  
  /* ================================
   Raleway Font - Self Hosted
   ================================ */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Raleway-Light.woff2") format("woff2");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Raleway-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Raleway-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Raleway-SemiBold.woff2") format("woff2");
}

  html, body{
    margin:0;
    padding:0;
    height:100%;
  }
  
  body{
    font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    color: var(--text-main);
    background: var(--bg-fallback);
    position: relative;
    overflow: hidden;
    background-color: #000;
  }
  
  
  
  .bg-slideshow{
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  
  
  .bg-slideshow-mobile{
    display:none;
  }
  
  .bg-slide{
    position:absolute;
    inset:0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    animation: slideshow 56s linear infinite; 
  }
  
 
  .bgd1{ background-image: url("img/bg1.webp"); animation-delay: 0s; }
  .bgd2{ background-image: url("img/bg2.webp"); animation-delay: 8s; }
  .bgd3{ background-image: url("img/bg3.webp"); animation-delay: 16s; }
  .bgd4{ background-image: url("img/bg4.webp"); animation-delay: 24s; }
  .bgd5{ background-image: url("img/bg5.webp"); animation-delay: 32s; }
  .bgd6{ background-image: url("img/bg6.webp"); animation-delay: 40s; }
  .bgd7{ background-image: url("img/bg7.webp"); animation-delay: 48s; }
  
  .bgm1{ background-image: url("img/bgm1.webp"); animation-delay: 0s; }
  .bgm2{ background-image: url("img/bgm2.webp"); animation-delay: 8s; }
  .bgm3{ background-image: url("img/bgm3.webp"); animation-delay: 16s; }
  .bgm4{ background-image: url("img/bgm4.webp"); animation-delay: 24s; }
  .bgm5{ background-image: url("img/bgm5.webp"); animation-delay: 32s; }
  .bgm6{ background-image: url("img/bgm6.webp"); animation-delay: 40s; }
  .bgm7{ background-image: url("img/bgm7.webp"); animation-delay: 48s; }
  
  /* cross-fade + leggero zoom-in per eleganza */
  @keyframes slideshow{
    /* inizio ciclo: invisibile */
    0%   { opacity:0;   transform:scale(1); }
  
    /* fade-in dolce (circa 3s) */
    5%   { opacity:1;   transform:scale(1.01); }
  
    /* visibile pieno (circa 4–5s) */
    15%  { opacity:1;   transform:scale(1.03); }
  
    /* fade-out (circa 3s) */
    20%  { opacity:0;   transform:scale(1.04); }
  
    /* resto del tempo invisibile */
    100% { opacity:0;   transform:scale(1.06); }
  }
  
  /* Switch automatico desktop/mobile */
  @media (max-width: 767px)and (orientation: portrait){
    .bg-slideshow-desktop{ display:none; }
    .bg-slideshow-mobile{ display:block; }
  }
  
  /* velo scuro sopra il carosello */
  .bg-overlay{
    position: fixed;
    inset: 0;
    background: var(--overlay);
    pointer-events:none;
    z-index: 1;
  }
  
  /* ===== LAYOUT TESTO ===== */
  
  .top-bar,
  .bottom-bar,
  .center-content{
    position: relative;
    z-index: 2;      
  }
  
  .top-bar{
    position: fixed;
    top:0;
    left:0;
    right:0;
    padding:16px 24px;
    display:flex;
    justify-content:flex-start;
    align-items:center;
  }
  
  .brand{
    color: var(--text-main);
    display:flex;
    flex-direction:column;
    gap:2px;
  }
  
  .brand-name{
    font-size:clamp(13px, 1.8vw, 18px);
    letter-spacing:0.22em;
    text-transform:uppercase;
    font-weight:500;
  }
  
  .brand-title{
    font-size:clamp(12px, 1.7vw, 16px);
    letter-spacing:0.28em;
    text-transform:uppercase;
    opacity:0.85;
    font-weight:300;
  }
  

  .center-content{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 16px;
  }
  
  .coming-soon{
    margin:0 0 8px;
    font-size:clamp(30px, 7vw, 56px);
    letter-spacing:0.26em;
    text-transform:uppercase;
    font-weight:500;
  }
  
  .divider{
    width:120px;
    height:1px;
    background: rgba(255,255,255,0.75);
    margin:10px auto 16px;
  }
  
  .subtitle{
    margin:0;
    font-size:clamp(13px, 1.8vw, 18px);
    color: var(--text-sub);
    letter-spacing:0.12em;
    font-weight:300;
  }
  
  
 /* ===== FOOTER / CONTATTI ===== */

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 18px 14px;
  display: flex;
  flex-direction: column;      /* default: mobile verticale */
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.contacts {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.contacts a {
  color: var(--text-sub);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}

.contacts a:hover,
.contacts a:focus-visible {
  outline: none;
  color: var(--text-main);
  border-color: rgba(255,255,255,0.8);
}

.separator {
  color: rgba(255,255,255,0.6);
}

/* Link Privacy Policy */
.privacy-link {
  font-size: 0.7rem;
  color: rgba(128, 0, 0, 0.6);
  text-decoration: none;
  display: block;
  margin-top: 0.25rem;
  opacity: 0.9;
}

.privacy-link:hover {
  opacity: 1;
  text-decoration: none;
}

/* MOBILE VERTICALE: tutto centrato, privacy sotto i contatti */
@media (max-width: 767px) and (orientation: portrait) {
  .bottom-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 18px 14px;
  }

  .privacy-link {
    text-align: center;
    margin: 0.25rem auto 0;
  }
}

/* QUALSIASI SCHERMO IN LANDSCAPE (desktop + telefono girato) */
@media (orientation: landscape) {
  .bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 40px 18px;
  }

  .contacts {
    margin-bottom: 0;
  }

  .privacy-link {
    margin-top: 0;
    text-align: right;
    align-self: flex-end;
    margin-left: auto;   /* spinge il link verso il bordo destro */
  }
}