:root{
  --bg:#0B0F14;
  --panel:#111827;
  --panel2:#0F172A;
  --text:#E5E7EB;
  --muted:#9CA3AF;
  --accent:#F59E0B;
  --border:rgba(255,255,255,.08);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(rgba(11, 15, 20, 1) 0%, rgba(11, 15, 30, 1) 100%);
  color:var(--text);
}

.container{ 
  width:min(1100px, 92%); 
  margin:0 auto;
}

.siteHeader{
    position: sticky;
    top:0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11,15,20,.7);
    border-bottom:1px solid var(--border);
    padding-top: 15px;
}

.demoBar {
  position: fixed;
  top: 100px;
  left: 14px;
  z-index: 1000;
  max-width: 200px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  text-align: left;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(229,231,235,.68);
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: opacity .6s ease, visibility .6s ease;
}

.demoBar--hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.demoBar a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.demoBar a:hover {
  color: var(--accent);
}

.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:14px 20px;
}

.brander{
    color:var(--text);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .08rem;
    font-size: 2rem;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.navLinks{
    display: flex;
    gap:18px;
}
.navLinks a{
    color:var(--muted);
    text-decoration: none;
    transition: .2s;
    font-style: italic;
    font-size: 25px;
}

.navLinks a:hover{
    color:var(--text);
}

.section{
    padding:30px 0;
    border-bottom: 1px solid #111827;
}

.Hero{
    padding: 72px 42px;
    background: radial-gradient(800px 400px at 20% 10%, rgba(45, 31, 11, 0.18), transparent 80%);
}

.HeroGrid{
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
}

.HeroMedia {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  height: auto;
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.HeroImg {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(.78);
}

strong{
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 600px) {
  .Hero {
    padding: 42px 0;
  }

  .HeroMedia,
  .HeroImg {
    min-height: 300px;
    height: 300px;
  }

  .storyPanel {
    padding: 20px;
  }

  .storyGrid {
    grid-template-columns: 1fr;
  }

  .demoBar {
    padding: 8px 14px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
.HeroGrid{ grid-template-columns: 1fr;}
.navLinks{display: none;}
}

.badge{
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color:var(--muted);
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    background:rgba(255,255,255,.02) ;
}

h1 {
    font-size:54px;
    line-height: 1;
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

h2 {
    font-size: 34px;
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
}

h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.lead{
  max-width: 48ch;        
  line-height: 1.55;
  font-size: 1.05rem;     
  opacity: .92;            
  margin-top: 14px;
}

.heroActions{
    display: flex;
    gap:12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.heroActions .btn{
    min-width: 160px;
}

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    border:1px solid var(--border);
    background:transparent;
    transition: .2s;
    cursor:pointer;
}


.btn:hover{
    transform: translateY(-1px);
    transition: all 0.2s;
    box-shadow: #f59f0b67 0 0 10px ;
}

.btn.primary{
    background: rgba(245,158,11,.35);
    border-color: rgba(245,158,11,.35);
    color:var(--text);
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#sendBtn{
    text-decoration: none;
    cursor: pointer;
    color:var(--text);
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(245,158,11,.35);
    background: rgba(245,158,11,.35);
    transition: .2s;
}

#sendBtn:hover{
    transform: translateY(-1px);
    transition: all 0.2s;
    box-shadow: #f59f0b67 0 0 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(245,158,11,.35);
    border-top-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    background: rgba(245,158,11,.35);
    color:var(--text);
}

@keyframes spin {
    to { transform: rotate(360deg);}
}


.btn.ghost{
    color:var(--muted);
}

.btn.ghost:hover{
    color:var(--text);
}

.quickInfo{
    display: flex;
    gap:10px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.chip{
    border:1px solid var(--border);
    border-radius: 999px;
    padding: 8px 20px;
    color:var(--muted);
}

.demoNotice{
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.demoNotice a{
    color: var(--accent);
    font-weight: 600;
}

#sendBtn:disabled{
    opacity: .45;
    cursor: not-allowed;
}

.card{
    background: linear-gradient(180deg, rgba(17,24,39,.9), rgba(15,23,42,.9));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding:18px;
    position: relative;
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover{
    transform: translateY(-3px);
    border-color: rgba(245,158,11,.35);
    box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 24px rgba(245,158,11,.18);
}

.heroCard .muted{
    margin-top: 4px;
}

.menu-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* padding: 18px; */
  border-radius: 22px;
  overflow: hidden;
  gap: 18px;
}

.menu-info h3{
    margin: 0;
    font-size: 1.25;
}

.title-wrap-menu{
    height: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-sub{
  margin-top: 10px;
  line-height: 1.45;
  opacity: .75;
}

.menu-media{
    position: relative;
    /* left:16px; */
    border-radius:12px ;
    top: 15px;
}

.menu-thumb{
  width: 225px;
  height: 225px;
  transform: scale(1.25);
  object-fit: cover;
  opacity: .9;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 5;
  /* display: none; */
}

@media (max-width: 900px){
  .menu-head{
    grid-template-columns: 1fr;
  }

  .menu-media{
    min-height: 240px;
  }
  .menu-thumb{
    border-radius:12px;
  }
}

.title-wrap{
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.grid2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:14px;
    margin-top: 18px;
}

.grid3{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:14px;
    margin-top: 18px;
}

@media (max-width: 900px){
    .grid3, .grid2 {grid-template-columns: 1fr;}
}

.list{
    position: absolute;
    left:17px;
    right: 17px;
    bottom: 17px;
    z-index: 5;
    list-style: none;
    margin: 0;
    padding: 12px 12px;
    border-radius: 12px;
    /* backdrop-filter: blur(1.5px); */
    background: linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .30) 100%);
    backdrop-filter: blur(3px);
    box-shadow: 0 0 150px #0B0F14;
}

.list li{
    display: flex;
    justify-content: space-between;
    gap:12px;
    padding: 10px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color:white;
    z-index: 10;
}

.list .price{
    font-weight: 700;
    opacity: 1;
}

.list li:first-child{
    border-top: none;
}

.list li span:last-child{
    opacity: .85;
}

label{
    display: block;
    margin: 10px 0 6px;
    color: var(--muted);
}

input, textarea {
    width: 100%;
    background-color: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px 12px;
    color: var(--text);
    outline: none;
}

textarea{
    min-height: 120px;
    resize: vertical;
}

.divider{
    height: 1px;
    background: var(--border);
    margin:16px 0;
}

.muted{
    margin: 10px 0;
    color:var(--muted);
}

.formMessage{
    margin-top: 10px;
    font-weight: 700;
}

.formMessage.success{
    color: #22c55e;
}

.formMessage.error{
    color: #ef4444;
}

.footerRow{
    display: flex;
    justify-content: space-between;
    gap:12px;
    flex-wrap: wrap;
}

.hp{
    display: none;
}

.Reveal{
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.Reveal.show {
    opacity:1;
    transform: translateY(0);
}

.RevealChild {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: var(--reveal-delay, 0ms); 
}

.RevealChild.showChild {
  opacity: 1;
  transform: translateY(0);
}

.Reveal, .RevealChild{
  overflow-anchor: none;
}

/* effetto typewriter con blur sulle parole */
.typewriter-text{ display:inline; }

.word-fade{
  display:inline-block;
  opacity:0;
  transform: translateY(6px);
  filter: blur(10px);
  transition: opacity .45s ease, transform .45s ease, filter .45s ease;
  transition-delay: var(--word-delay, 0ms);
}

.word-fade.start-animation{
  opacity:1;
  transform: translateY(0);
  filter: blur(0);
  padding: 0 2px;
}


button:disabled{
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.underline-hover{
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.underline-hover::after{
    content: "";
    position: absolute;
    left:0;
    bottom:0;
    width: 100%;
    height: 2px;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
    border-radius: 999px;
}

.underline-hover:hover::after{
    transform: scaleX(1)
}

.title-wrap h3, .title-wrap-menu h3 {
    position: relative;
    padding: 12px 0;
}

.title-wrap h3::after, .title-wrap-menu h3::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.title-wrap h3::before, .title-wrap-menu h3::before{
    content: "";
    position: absolute;
    left: 0;
    top:45px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.card:hover .title-wrap h3::before,
.card:hover .title-wrap-menu h3::before{
    transform: scaleX(1);
}

.chip{
    flex-wrap: wrap;
}

.title-rec-wrap{
    height: 45px;
    width: 350px;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

.virgole-img{
    position: absolute;
    bottom:10px;
    right: 5px;
    transform: rotate(180deg);
}

.img-profile{
    border-radius: 999px;
    border: 3px solid #253559;
}

.rec-txt{
    margin: 16px 20px;
}

.profile{
    display: flex;
    gap:10px;
}

.profile h3{
    display: flex;
    align-items: center;
}

.concept-note{
    font-size: 12px;
    opacity:0.6;
    text-align: start;
    margin: 10px 0;
}

.footer-note{
    display: flex;
    justify-content: space-between;
}

/* menu mobile (hamburger) */

.container-toggle {
  display: none;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: var(--text);
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2.5px;
}

/* ruota la prima barra */
.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

/* nasconde la barra centrale */
.change .bar2 {opacity: 0;}

/* ruota l'ultima barra */
.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.nav{
  position: relative;
  z-index: 999;
}

/* dropdown sotto la nav */
.mobile-menu{
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 10px 12px;

  /* chiuso di default */
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

/* pannello del dropdown */
.mobile-menu__panel{
  width: 200px;
  margin-left: auto;
  padding: 12px;

  background: var(--bg);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.55);

  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* stato aperto */
.menu-open .mobile-menu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* link nel dropdown */
.mobile-menu a{
  padding: 14px 12px;
  border-radius: 10px;
  text-decoration:underline;
  
  color: #fff;
  font-family: "Playfair Display", serif;
  border-bottom: 2px solid rgba(255, 255, 255, 0.30);
  font-weight: bold;
}

.mobile-menu a:active{
  transform: scale(.98);
}

.nav-toggle{
    display: none;
}

.gridEvents{
    display: flex;
    gap: 18px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.gridEvents .card{
    width: 300px;
    height: max-content;
    padding: 0 0;
}

.eventImg{
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
}

.eventContent{
    padding: 12px;
}

/* su mobile: nascondi link desktop e mostra hamburger */
@media (max-width: 860px){
  .navLinks{ display:none !important; }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: transparent;
    border:none;
  }

  .container-toggle{display: inline-block;}
}

/* evita lo scroll orizzontale */
html, body{
  overflow-x: hidden;
}

html, body{
  overflow-x: hidden;
}


@media (max-width: 600px){
    html,body{
        overflow-x: hidden;
    }

    nav{
        position: sticky;
    }

    .HeroGrid{
        grid-template-columns: 1fr;
        gap:18px;
    }

    .HeroMedia{
        width: 100%;
        height: 750px !important;
        right: auto;
    }

    .menu-head {
        display:flex;
        flex-direction: column;
        gap:12px;
    }

    .menu-head{
        display: flex;
        flex-direction: column;
        gap:12px;
    }

    .menu-info{ order:1;}
    .menu-media{ order:2;}

    .menu-media{
        width: 100%;
        left:0;
        min-height:220px;
        border-radius:12px;
        overflow: hidden;
    }

    .menu-thumb{
        width: 100%;
        height: 220px;
        transform: none;
        object-fit: cover;
        border-radius:12px;
        display: block;
        z-index: 1;
    }

    .menu-media .list{
        position: absolute;
        left:12px;
        right: 12px;
        bottom:12px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .menu-media .list li{
        padding: 8px 6px;
        font-size: 0.95rem;
    }

    .list{
        left:18px;
        right: 18px;
        bottom:18px;
    }

    .navLinks a {
        padding: 10px 10px;
        display: inline-block;
    }

    .underline-hover{
        font-size: 1rem;
    }

    .HeroMedia{
        height: 650px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius:18px ;
    }

    .heroActions {
        flex-direction: column;
        align-items: stretch;
    }

    .heroActions .btn{
        width: 100%;
        justify-content: center;
    }

    .title-rec-wrap{
        width: auto;
    }

    .star-container img{
        height: 20px;
        width:  20px;
    }

    .profile h3{
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

    .footer-note p{
    font-size: 12px;
}

    .concept-note{
        font-size: 12px;
        text-align: end;
    }

    .footerRow p{
        font-size: 12px;
    }

    .underline-hover{
        padding: 0 !important;
    }

    .typewriter-text{
        padding: 0 0 !important;
    }

    .word-fade.start-animation{
        font-size:12px;
    }

    strong{
    font-size: 0.7rem ;
    font-weight: 700;
}
    
}
