@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
/* Doppio Zero – simple static site (HTML/CSS/JS) */
:root{
  --bg: #0f1115;
  --panel: #151824;
  --text: #e9ecf1;
  --muted: #b7bfcc;
  --brand: #ff3b30;   /* tomato red */
  --brand2:#2dd36f;   /* basil green */
  --line: rgba(233,236,241,.14);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
  --focus: 0 0 0 4px rgba(255,59,48,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 12% -10%, rgba(255,59,48,.18), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(45,211,111,.12), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:56px 0}
.section.small{padding:34px 0}
.section .kicker{color:var(--muted); text-transform:uppercase; letter-spacing:.12em; font-size:.78rem}
h1,h2,h3{line-height:1.15; margin:0 0 12px}
h1{font-size: clamp(2rem, 3.2vw, 3.2rem);}
h2{font-size: clamp(1.6rem, 2.4vw, 2.2rem);}
h3{font-size: 1.2rem}
p{margin:0 0 14px; color:var(--muted)}
p.lead{font-size:1.08rem; color:#d7dbe5}
hr.sep{border:0; border-top:1px solid var(--line); margin:22px 0}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:12px 16px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
  font-weight:650;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.2)}
.btn:focus{outline:none; box-shadow: var(--focus)}
.btn.primary{
  background: linear-gradient(135deg, rgba(255,59,48,.95), rgba(255,136,0,.75));
  border-color: rgba(255,59,48,.55);
}
.btn.primary:hover{background: linear-gradient(135deg, rgba(255,59,48,1), rgba(255,136,0,.82))}
.btn.ghost{background: transparent}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:.86rem;
  background: rgba(255,255,255,.04);
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.grid{display:grid; gap:16px}
.grid.two{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid.three{grid-template-columns: repeat(3, minmax(0,1fr))}
@media (max-width: 880px){
  .grid.two,.grid.three{grid-template-columns: 1fr}
}

.site-header{
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(15,17,21,.6);
  border-bottom:1px solid rgba(233,236,241,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.brand{
  display:flex; align-items:center; gap:10px; text-decoration:none;
}
.brand-mark{
  width:34px; height:34px;
  border-radius: 12px;
  background: conic-gradient(from 30deg, var(--brand), #ffcc00, var(--brand2), var(--brand));
  box-shadow: 0 10px 25px rgba(255,59,48,.18);
}
.brand-name{font-weight:850; letter-spacing:.02em}
.brand-sub{display:block; font-size:.75rem; color:var(--muted); margin-top:-2px}

.nav{
  display:flex; align-items:center; gap:14px;
}
.nav a{
  text-decoration:none; color:var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .12s ease, color .12s ease;
  font-weight:650;
  font-size:.95rem;
}
.nav a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.nav a.active{background: rgba(255,59,48,.16); color:var(--text); border:1px solid rgba(255,59,48,.35)}

.nav-cta{display:flex; gap:10px; align-items:center}
.burger{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 10px 12px;
  color:var(--text);
}
.burger:focus{outline:none; box-shadow: var(--focus)}
@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-flex}
  .nav-cta .btn.ghost{display:none}
}

/* Mobile drawer */
.drawer{
  display:none;
  border-top:1px solid rgba(233,236,241,.10);
  padding: 10px 0 16px;
}
.drawer.open{display:block}
.drawer a{
  display:block;
  padding:10px 12px;
  color:var(--muted);
  text-decoration:none;
  border-radius: 14px;
  border:1px solid transparent;
  font-weight:650;
}
.drawer a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.drawer a.active{border-color: rgba(255,59,48,.35); background: rgba(255,59,48,.16); color:var(--text)}
.drawer .drawer-cta{display:flex; gap:10px; padding: 10px 12px 0}

.hero{
  padding: 42px 0 22px;
}
.hero-wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 980px){
  .hero-wrap{grid-template-columns: 1fr}
}
.hero-card{
  padding: 26px;
}
.hero-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px}
.hero-illustration{
  padding: 0;
  overflow:hidden;
  position:relative;
  min-height: 280px;
}
.hero-illustration .img{
  position:absolute; inset:0;
  background: url("../img/Pizza%20Margherita%20Event1.JPG") center/cover no-repeat;
  opacity:.95;
}
.hero-illustration .overlay{
  position:absolute; inset:0;
  background: radial-gradient(800px 350px at 20% 10%, rgba(255,59,48,.25), transparent 60%),
              radial-gradient(600px 300px at 90% 30%, rgba(45,211,111,.18), transparent 60%),
              linear-gradient(180deg, rgba(15,17,21,.15), rgba(15,17,21,.85));
}
.hero-illustration .stamp{
  position:absolute; bottom:18px; left:18px; right:18px;
  display:flex; flex-wrap:wrap; gap:10px;
}

.cards .card{padding:18px}
.icon{
  width:38px; height:38px;
  border-radius: 14px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  margin-bottom: 10px;
}
.icon svg{width:20px; height:20px}
.card p{margin-bottom:0}

.steps{counter-reset: step}
.step{
  padding:18px;
  position:relative;
}
.step:before{
  counter-increment: step;
  content: counter(step);
  position:absolute;
  top:16px; right:16px;
  width:32px; height:32px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,59,48,.18);
  border:1px solid rgba(255,59,48,.35);
  font-weight:900;
}
.step h3{margin-right:44px}

.callout{
  padding:22px;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.callout p{margin:0}
@media (max-width: 780px){
  .callout{flex-direction:column; align-items:flex-start}
}

.page-hero{
  padding: 24px 0 6px;
}
.page-hero .card{padding:22px}

.list{
  margin:0; padding-left: 18px; color:var(--muted)
}
.list li{margin: 6px 0}

.menu-grid .card{padding:18px}
.menu-item{display:flex; align-items:flex-start; justify-content:space-between; gap:14px}
.menu-item strong{display:block}
.menu-item span{color:var(--muted); font-size:.95rem}

.form{
  padding:18px;
}
.form .row{display:grid; gap:12px; grid-template-columns: 1fr 1fr}
@media (max-width: 880px){
  .form .row{grid-template-columns: 1fr}
}
label{display:block; font-weight:700; margin: 12px 0 6px}
input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(233,236,241,.16);
  background: rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}
textarea{min-height: 120px; resize: vertical}
input:focus, select:focus, textarea:focus{box-shadow: var(--focus); border-color: rgba(255,59,48,.35)}
.help{font-size:.9rem; color:var(--muted); margin-top: 6px}
.form-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px}

.notice{
  padding: 14px 16px;
  border-radius: 16px;
  border:1px solid rgba(45,211,111,.25);
  background: rgba(45,211,111,.08);
  color: #d9ffe8;
}

.calendar-wrap{
  padding:18px;
}
.legend{display:flex; gap:10px; flex-wrap:wrap}
.legend .key{display:flex; align-items:center; gap:8px; padding:8px 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background: rgba(255,255,255,.04)}
.dot{width:10px; height:10px; border-radius:999px; display:inline-block}
.dot.green{background: #2dd36f}
.dot.yellow{background: #ffcc00}
.dot.red{background: #ff3b30}

.calendar{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
.cal-head{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap}
.cal-controls{display:flex; gap:10px}
.cal-month{
  padding:16px;
}
.cal-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap:8px;
}
.cal-dow{
  color: var(--muted);
  font-size:.85rem;
  text-align:center;
  padding:6px 0;
}
.cal-day{
  border:1px solid rgba(233,236,241,.12);
  border-radius: 14px;
  padding:10px 8px;
  min-height: 56px;
  background: rgba(255,255,255,.03);
  cursor:pointer;
  position:relative;
}
.cal-day:hover{background: rgba(255,255,255,.06)}
.cal-day.muted{opacity:.35; cursor:default}
.cal-day .n{font-weight:850}
.cal-day .s{
  position:absolute; bottom:8px; right:8px;
  width:10px; height:10px; border-radius:999px;
}
.cal-day .s.green{background:#2dd36f}
.cal-day .s.yellow{background:#ffcc00}
.cal-day .s.red{background:#ff3b30}
.cal-day:focus{outline:none; box-shadow: var(--focus)}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
@media (max-width: 980px){
  .gallery-grid{grid-template-columns: 1fr 1fr}
}
@media (max-width: 560px){
  .gallery-grid{grid-template-columns: 1fr}
}
.gallery-grid a{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  display:block;
}
.gallery-grid img{width:100%; height:240px; object-fit:cover}
@media (max-width: 560px){ .gallery-grid img{height:200px}}

.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.75);
  display:none; align-items:center; justify-content:center;
  padding: 18px;
  z-index: 50;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.20);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.lightbox button{
  position:absolute;
  top:16px; right:16px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color:var(--text);
  border-radius: 14px;
  padding:10px 12px;
  cursor:pointer;
}
.lightbox button:hover{background: rgba(255,255,255,.18)}

.site-footer{
  border-top:1px solid rgba(233,236,241,.08);
  padding: 26px 0 36px;
  color:var(--muted);
}
.footer-inner{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footer-links{display:flex; gap:12px; flex-wrap:wrap}
.footer-links a{text-decoration:none; padding: 8px 10px; border-radius: 999px; border:1px solid rgba(233,236,241,.10)}
.footer-links a:hover{background: rgba(255,255,255,.06)}
.smallprint{font-size:.9rem}


/* Brand logo */
.brand-logo{
  width:42px; height:42px;
  object-fit:contain;
  border-radius: 14px;
  padding:6px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(233,236,241,.12);
}
@media (max-width: 560px){
  .brand-logo{width:38px; height:38px}
}

/* Slightly more modern hover */
.card{ transition: transform .14s ease, border-color .14s ease, background .14s ease; }
.card:hover{ transform: translateY(-2px); border-color: rgba(233,236,241,.22); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)); }
@media (prefers-reduced-motion: reduce){
  .card{transition:none}
  .card:hover{transform:none}
}

/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 200;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(233,236,241,.18);
  background: rgba(15,17,21,.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.cookie-banner.hidden{display:none}
.cookie-banner h3{margin:0 0 6px; font-size: 1.05rem}
.cookie-banner p{margin:0 0 12px; color: #d7dbe5}
.cookie-actions{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.cookie-actions .btn{padding:10px 14px}
.cookie-actions .link{
  color: var(--muted);
  text-decoration: underline;
  border:0;
  background: transparent;
  padding: 8px 6px;
  cursor:pointer;
  font-weight: 650;
}
.cookie-actions .link:hover{color: var(--text)}

.cookie-modal{
  position: fixed; inset: 0;
  z-index: 220;
  display:none;
  padding: 18px;
  background: rgba(0,0,0,.62);
}
.cookie-modal.open{display:flex; align-items:center; justify-content:center}
.cookie-modal .panel{
  width: min(720px, 96vw);
  border-radius: 22px;
  border:1px solid rgba(233,236,241,.18);
  background: rgba(21,24,36,.96);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  overflow:hidden;
}
.cookie-modal .panel header{
  padding: 16px 18px;
  border-bottom:1px solid rgba(233,236,241,.10);
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
}
.cookie-modal .panel header h3{margin:0}
.cookie-modal .panel header p{margin:6px 0 0}
.cookie-modal .panel main{padding: 16px 18px}
.cookie-opt{
  padding: 12px 12px;
  border:1px solid rgba(233,236,241,.12);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  margin-bottom: 10px;
}
.cookie-opt label{margin:0; display:flex; align-items:center; justify-content:space-between; gap:12px}
.cookie-opt small{display:block; color: var(--muted); margin-top:6px}
.cookie-opt input[type="checkbox"]{width: 18px; height: 18px}
.cookie-modal .panel footer{
  padding: 16px 18px;
  border-top:1px solid rgba(233,236,241,.10);
  display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;
}

.hidden{display:none !important}

/* Form confirmation UI */
.dz-toast{
  position: fixed;
  left: 18px; right: 18px; bottom: 90px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(233,236,241,.18);
  background: rgba(21,24,36,.92);
  color: var(--text);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  z-index: 260;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
}
.dz-toast.show{
  transform: translateY(0);
  opacity: 1;
}

.dz-modal{
  position: fixed; inset: 0;
  z-index: 280;
  display:none;
  padding: 18px;
  background: rgba(0,0,0,.62);
}
.dz-modal.open{display:flex; align-items:center; justify-content:center}
.dz-modal .panel{
  width: min(720px, 96vw);
  border-radius: 22px;
  border:1px solid rgba(233,236,241,.18);
  background: rgba(21,24,36,.96);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  overflow:hidden;
}
.dz-modal .panel header{
  padding: 16px 18px;
  border-bottom:1px solid rgba(233,236,241,.10);
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
}
.dz-modal .panel header h3{margin:0}
.dz-modal .panel header p{margin:8px 0 0; color:#d7dbe5}
.dz-modal .panel footer{
  padding: 16px 18px;
  border-top:1px solid rgba(233,236,241,.10);
  display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;
}


/* ===== Header refinements (less cramped, clearer brand) ===== */
.site-header .header-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand > span{
  display:flex;
  flex-direction:row;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}
.brand-name{
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.brand-sub{
  display:inline;
  margin:0;
  font-size:.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.brand-logo{
  width:64px;
  height:64px;
  padding:10px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(233,236,241,.18);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* Nav: allow wrapping so it never looks squished */
.nav{
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 6px;
}
.nav a{
  padding: 9px 12px;
  font-weight: 700;
  font-size: .97rem;
}

/* Make CTAs breathe */
.nav-cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Hide subtitle earlier to keep header clean on smaller desktops */
@media (max-width: 1100px){
  .brand-sub{display:none}
  .site-header .header-inner{grid-template-columns: auto auto; justify-content:space-between}
  .nav{display:none}
  .burger{display:inline-flex}
}

/* =============================
   DZ NAV MOBILE V7 (fix overlap + keep burger only)
   ============================= */
@media (max-width: 980px){
  /* Hide BOTH CTA buttons in header to avoid overlap */
  .site-header .nav-cta a.btn{ display:none !important; }
  .site-header .burger{ display:inline-flex !important; }

  /* Make brand more compact */
  .site-header .brand-logo{
    width: 44px;
    height: 44px;
  }
  .site-header .brand-name{ font-size: 1.02rem; }
  .site-header .brand-sub{ display:none !important; }

  .site-header .brand{
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 86px);
  }
  .site-header .brand > span{
    min-width: 0;
    overflow:hidden;
  }
  .site-header .brand-name{
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
  }
}

/* =============================
   DZ Mobile hard-fix (JS adds .dz-mobile)
   - Works even if meta viewport is missing (iOS default ~980px)
   ============================= */
.dz-mobile .site-header .nav{ display:none !important; }
.dz-mobile .site-header .burger{ display:inline-flex !important; }
.dz-mobile .site-header .nav-cta a.btn{ display:none !important; }

body.dz-nav-open{ overflow:hidden; }
