@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;700;800;900&display=swap');

:root {
  --tcf-black:   #1A0A02;
  --tcf-brown:   #2B1A0F;
  --tcf-red:     #E0531F;
  --tcf-yellow:  #F5A800;
  --tcf-cream:   #FFF5E0;
  --tcf-white:   #FFFFFF;
  --tcf-muted:   rgba(255,245,224,.6);
  --tcf-orange:  #E0531F;
  --tcf-gold:    #F5A800;
  --tcf-charcoal:#2B1205;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--tcf-cream);
  color: var(--tcf-brown);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

/* Hide Frappe chrome on web pages */
body[data-path="home"] .web-footer,
body[data-path="home"] .navbar,
body[data-path="home"] .page-breadcrumbs,
.navbar, .page-breadcrumbs, .page-footer { display: none !important; }

/* ── i18n ── */
#tcf-app .en { display: none; }
#tcf-app .it { display: inline; }
#tcf-app[data-lang="en"] .en { display: inline; }
#tcf-app[data-lang="en"] .it { display: none; }

/* ── Utilities ── */
.mt16 { margin-top: 16px; }
.mt32 { margin-top: 32px; }
.rule { width: 48px; height: 3px; background: var(--tcf-yellow); margin: 20px 0; border-radius: 2px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  letter-spacing: .5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0,0,0,.25);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(0,0,0,.25); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.btn-org { background: var(--tcf-yellow); color: var(--tcf-brown); border-color: var(--tcf-yellow); }
.btn-org:hover { background: #e89900; border-color: #e89900; }
.btn-wt { background: transparent; color: var(--tcf-cream); border-color: rgba(255,245,224,.5); box-shadow: none; }
.btn-wt:hover { border-color: var(--tcf-cream); box-shadow: none; }
.btn-blk { background: var(--tcf-brown); color: var(--tcf-cream); border-color: var(--tcf-brown); }
.btn-blk:hover { background: var(--tcf-black); border-color: var(--tcf-black); }
.btn-red { background: var(--tcf-red); color: white; border-color: var(--tcf-red); }
.btn-red:hover { background: #b81e00; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Wave divider ── */
.wave { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave svg { display: block; }

/* ─────────────────────────────────────
   NAVBAR TCF
───────────────────────────────────── */
#tcf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--tcf-brown);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
#tcf-nav .nav-logo img { height: 44px; }
#tcf-nav .nav-links { display: flex; gap: 28px; list-style: none; }
#tcf-nav .nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: .85rem;
  color: var(--tcf-cream); text-decoration: none;
  letter-spacing: 1px; text-transform: uppercase;
  transition: color .2s;
}
#tcf-nav .nav-links a:hover { color: var(--tcf-yellow); }
#tcf-nav .nav-cta {
  background: var(--tcf-red); color: white;
  padding: 10px 22px; border-radius: 50px;
  font-family: 'Fredoka One', cursive; font-size: .95rem;
  text-decoration: none; transition: all .2s;
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
}
#tcf-nav .nav-cta:hover { background: #b81e00; transform: translateY(-2px); }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
#tcf-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding-top: 68px;
  background: var(--tcf-brown);
}
#tcf-hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.35);
}
#tcf-hero .bg-glow {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(245,168,0,.12) 0%, transparent 65%);
}
#tcf-hero .ov {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(26,10,2,.2) 0%, rgba(26,10,2,.5) 60%, rgba(26,10,2,.97) 100%);
}
#tcf-hero .ct {
  position: relative; z-index: 2;
  text-align: center; max-width: 840px; padding: 60px 24px;
}
#tcf-hero .hero-logo {
  display: block;
  width: auto; height: 260px; max-width: 90%;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.6));
}
@media (max-width: 600px) { #tcf-hero .hero-logo { height: 180px; } }
#tcf-hero .tag {
  display: inline-block;
  background: var(--tcf-yellow); color: var(--tcf-brown);
  font-family: 'Fredoka One', cursive;
  font-size: .9rem; padding: 7px 22px; border-radius: 50px;
  margin-bottom: 28px; letter-spacing: .5px;
  box-shadow: 0 4px 0 rgba(0,0,0,.3);
}
#tcf-hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400; line-height: .95;
  color: var(--tcf-white); margin: 0 0 20px;
}
#tcf-hero h1 .sc { display: block; color: var(--tcf-yellow); }
#tcf-hero h1 .red { color: var(--tcf-red); }
#tcf-hero .sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,245,224,.75); max-width: 520px;
  margin: 0 auto 36px; line-height: 1.7; font-weight: 700;
}
#tcf-hero .btns { justify-content: center; margin-bottom: 48px; }
#tcf-hero .scroll {
  display: block; font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: .75rem; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,245,224,.4);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* ─────────────────────────────────────
   PILLARS
───────────────────────────────────── */
.pillars {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--tcf-yellow);
}
.pillar {
  padding: 48px 28px; text-align: center;
  border-right: 2px solid rgba(61,28,11,.12);
  transition: background .2s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: #e89900; }
.pillar .num {
  display: block; font-family: 'Fredoka One', cursive;
  font-size: 3rem; color: var(--tcf-brown); margin-bottom: 10px; line-height: 1;
}
.pillar h3 {
  font-family: 'Fredoka One', cursive; font-size: 1.1rem;
  color: var(--tcf-brown); margin-bottom: 8px;
}
.pillar p { font-size: .88rem; color: rgba(61,28,11,.7); line-height: 1.5; font-weight: 700; }

/* ─────────────────────────────────────
   SPLIT SECTIONS
───────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split.rev .img { order: 2; }
.split.rev .txt { order: 1; }
.split .img { background-size: cover; background-position: center; min-height: 400px; }
.split .txt {
  background: var(--tcf-brown);
  padding: 64px 56px; display: flex; flex-direction: column; justify-content: center;
}
.split .ey {
  display: block; font-family: 'Fredoka One', cursive;
  font-size: .8rem; letter-spacing: 3px;
  color: var(--tcf-yellow); text-transform: uppercase; margin-bottom: 14px;
}
.split .h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--tcf-cream); line-height: 1.05;
}
.split .h2 .sc { display: block; color: var(--tcf-yellow); }
.split .body { color: rgba(255,245,224,.7); font-size: 1rem; line-height: 1.75; max-width: 480px; font-weight: 700; }

/* ─────────────────────────────────────
   GALLERY STRIP
───────────────────────────────────── */
.gstrip { display: grid; grid-template-columns: repeat(3,1fr); height: 320px; }
.ph { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.ph::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,10,2,.8) 0%, transparent 55%);
}
.ph .lb {
  position: absolute; bottom: 18px; left: 20px; z-index: 2;
  font-family: 'Fredoka One', cursive; font-size: .9rem;
  letter-spacing: 1px; color: var(--tcf-cream);
}

/* ─────────────────────────────────────
   QUOTE STRIP
───────────────────────────────────── */
.quote-strip {
  background: var(--tcf-black); text-align: center; padding: 80px 24px;
}
.quote-strip blockquote {
  font-family: Georgia, serif; font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic; color: var(--tcf-cream);
  max-width: 700px; margin: 0 auto 16px; line-height: 1.6;
}
.quote-strip cite {
  font-family: 'Fredoka One', cursive; font-size: .85rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--tcf-yellow);
}

/* ─────────────────────────────────────
   ORANGE/RED BAND (CTA)
───────────────────────────────────── */
.orange-band {
  background: var(--tcf-red); text-align: center; padding: 80px 24px;
}
.orange-band h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--tcf-white); margin-bottom: 32px; line-height: 1.1;
}
.orange-band h2 em { font-style: normal; color: var(--tcf-yellow); }
.orange-band .btns { justify-content: center; }

/* ─────────────────────────────────────
   COMING SOON
───────────────────────────────────── */
.coming-section {
  background: var(--tcf-black); padding: 100px 40px;
}
.coming-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.coming-eyebrow {
  font-family: 'Fredoka One', cursive; font-size: .9rem;
  color: var(--tcf-yellow); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px;
}
.coming-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--tcf-white); line-height: 1; margin-bottom: 14px;
}
.coming-title .y { color: var(--tcf-yellow); }
.coming-sub {
  color: rgba(255,245,224,.55); font-size: 1rem; font-weight: 700; margin-bottom: 56px;
}
.coming-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-bottom: 60px;
}
.coming-card {
  background: rgba(255,255,255,.05); border: 2px solid rgba(245,168,0,.18);
  border-radius: 28px; padding: 40px 24px 32px; position: relative; transition: all .2s;
}
.coming-card:hover { border-color: var(--tcf-yellow); transform: translateY(-5px); background: rgba(255,255,255,.08); }
.coming-card.featured { border-color: var(--tcf-yellow); background: rgba(245,168,0,.07); transform: scale(1.04); }
.coming-card.featured:hover { transform: scale(1.04) translateY(-5px); }
.coming-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--tcf-brown); color: var(--tcf-yellow);
  font-family: 'Fredoka One', cursive; font-size: .82rem;
  padding: 5px 18px; border-radius: 50px; white-space: nowrap;
  border: 2px solid var(--tcf-yellow);
}
.coming-ribbon.hot { background: var(--tcf-red); color: white; border-color: var(--tcf-red); }
.coming-icon { font-size: 2.8rem; margin: 16px 0 10px; }
.coming-card h3 { font-family: 'Fredoka One', cursive; font-size: 1.4rem; color: var(--tcf-white); margin-bottom: 6px; }
.coming-card > p { color: rgba(255,245,224,.45); font-weight: 700; font-size: .88rem; margin-bottom: 20px; }
.coming-countdown {
  display: flex; justify-content: center; align-items: baseline;
  gap: 4px; margin-bottom: 22px;
}
.cd-num { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--tcf-yellow); line-height: 1; }
.cd-lbl { font-size: .65rem; color: rgba(255,245,224,.35); text-transform: uppercase; letter-spacing: 2px; margin-right: 8px; font-weight: 800; }
.btn-notify {
  display: inline-block; background: transparent; color: var(--tcf-cream);
  border: 2px solid rgba(255,245,224,.2); padding: 9px 22px; border-radius: 50px;
  font-family: 'Fredoka One', cursive; font-size: .9rem; text-decoration: none; transition: all .2s;
}
.btn-notify:hover { border-color: var(--tcf-yellow); color: var(--tcf-yellow); }
.coming-newsletter {
  background: rgba(255,255,255,.04); border: 2px solid rgba(245,168,0,.12);
  border-radius: 24px; padding: 40px; max-width: 580px; margin: 0 auto;
}
.coming-newsletter p { color: rgba(255,245,224,.6); font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.coming-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.coming-input {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.07); border: 2px solid rgba(255,245,224,.12);
  color: var(--tcf-cream); padding: 13px 20px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-size: .95rem; font-weight: 700;
  outline: none; transition: border .2s;
}
.coming-input::placeholder { color: rgba(255,245,224,.25); }
.coming-input:focus { border-color: var(--tcf-yellow); }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.web-footer, #tcf-footer {
  background: var(--tcf-charcoal) !important;
  border-top: 2px solid rgba(245,168,0,.1);
  padding: 32px 0 !important;
}
.web-footer .footer-powered,
.web-footer .footer-powered a { color: rgba(255,245,224,.25) !important; font-size: .8rem; }

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 900px) {
  #tcf-nav { padding: 0 20px; }
  #tcf-nav .nav-links { display: none; }
  .pillars { grid-template-columns: repeat(2,1fr); }
  .pillar { border-bottom: 2px solid rgba(61,28,11,.1); }
  .split { grid-template-columns: 1fr; }
  .split.rev .img { order: 1; }
  .split.rev .txt { order: 2; }
  .split .img { min-height: 280px; }
  .split .txt { padding: 40px 28px; }
  .gstrip { grid-template-columns: 1fr; height: auto; }
  .ph { height: 220px; }
  .coming-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 60px; }
  .coming-card.featured { transform: none; }
  .coming-section { padding: 80px 20px; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
  #tcf-hero h1 { font-size: 2.8rem; }
  .btns { flex-direction: column; align-items: stretch; }
  .btns .btn { text-align: center; }
  .split .txt { padding: 32px 20px; }
}

/* ── Hide conflicting navbars ── */
nav.links,
nav.navbar,
.navbar-light,
.web-header,
body > nav:not(#tcf-nav):not(#tcf-global-nav),
.page-breadcrumbs,
.page-footer { display: none !important; }

/* ── Hide remaining Frappe mobile/hamburger elements ── */
.navbar-toggler,
button.navbar-toggler,
[data-toggle="collapse"],
nav.links { display: none !important; }

#tcf-burger { display: none !important; }

/* ─────────────────────────────────────
   PAGINE INTERNE (book / franchise / contact)
───────────────────────────────────── */
.menu-hero {
  position: relative; min-height: 46vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 130px 24px 60px;
  background: var(--tcf-brown);
}
.menu-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.4); }
.menu-hero .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,10,2,.4), rgba(26,10,2,.85)); }
.menu-hero .ct { position: relative; z-index: 2; max-width: 800px; }
.menu-hero .ey { display:block; font-family:'Fredoka One',cursive; font-size:.85rem; letter-spacing:3px; text-transform:uppercase; color:var(--tcf-yellow); margin-bottom:12px; }
.menu-hero .h2 { font-family:'Fredoka One',cursive; font-size:clamp(2.2rem,5vw,3.6rem); color:var(--tcf-white); line-height:1.05; }

.sec { padding: 64px 24px; }
.sec .inner { max-width: 1080px; margin: 0 auto; }
.sec .ey { display:block; font-family:'Fredoka One',cursive; font-size:.8rem; letter-spacing:3px; text-transform:uppercase; color:var(--tcf-red); margin-bottom:10px; }
.sec .h2 { font-family:'Fredoka One',cursive; font-size:clamp(1.8rem,3.5vw,2.6rem); color:var(--tcf-brown); line-height:1.1; margin-bottom:8px; }
.sec .body { color:#7a6a55; font-size:1rem; font-weight:600; line-height:1.7; }

/* Form brand */
.tcf-form { display:flex; flex-direction:column; gap:16px; }
.tcf-form.fw { width:100%; }
.tcf-form .r2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.tcf-form label { display:block; font-family:'Nunito',sans-serif; font-weight:800; font-size:.8rem; text-transform:uppercase; letter-spacing:1px; color:var(--tcf-brown); margin-bottom:6px; }
.tcf-form input, .tcf-form textarea, .tcf-form select {
  width:100%; padding:13px 16px; border:2px solid #e5d5b8; border-radius:12px;
  font-family:'Nunito',sans-serif; font-size:1rem; font-weight:600; color:var(--tcf-brown);
  background:#fff; outline:none; transition:border .2s;
}
.tcf-form input:focus, .tcf-form textarea:focus, .tcf-form select:focus { border-color:var(--tcf-yellow); }
.tcf-form textarea { min-height:90px; resize:vertical; }
.tcf-form button[type="submit"], .tcf-form .btn-submit {
  background:var(--tcf-red); color:#fff; border:none; padding:16px; border-radius:50px;
  font-family:'Fredoka One',cursive; font-size:1.1rem; cursor:pointer;
  box-shadow:0 4px 0 rgba(0,0,0,.2); transition:transform .15s; margin-top:8px;
}
.tcf-form button[type="submit"]:hover { transform:translateY(-2px); }
.tcf-form .form-msg { padding:12px 16px; border-radius:10px; font-weight:700; font-size:.9rem; }
.tcf-form .form-msg.ok { background:#f0fff4; border:1px solid #38a169; color:#276749; }
.tcf-form .form-msg.err { background:#fff5f5; border:1px solid #e53e3e; color:#9b2c2c; }

/* info box laterale (contatti/prenota) */
.info-box .ib-row { margin-bottom:22px; }
.info-box .ib-row .lbl { font-family:'Fredoka One',cursive; font-size:.8rem; letter-spacing:2px; text-transform:uppercase; color:var(--tcf-red); margin-bottom:4px; }
.info-box .ib-row .val { color:var(--tcf-brown); font-weight:700; font-size:1.05rem; line-height:1.5; }

@media(max-width:800px){ .tcf-form .r2 { grid-template-columns:1fr; } .sec .inner[style*="grid"]{ grid-template-columns:1fr !important; gap:40px !important; } }

/* === Hamburger menu per la nav locale #tcf-nav (mobile responsive) === */
#tcf-nav-burger {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 36px; height: 36px; padding: 0;
  margin-left: auto;
}
#tcf-nav-burger span {
  display: block; height: 3px;
  background: var(--tcf-cream);
  border-radius: 2px;
  margin: 6px 0;
  transition: transform .25s, opacity .2s;
}
#tcf-nav-burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#tcf-nav-burger.open span:nth-child(2) { opacity: 0; }
#tcf-nav-burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 880px) {
  #tcf-nav { padding: 0 18px; gap: 12px; }
  #tcf-nav .nav-logo { flex-shrink: 0; }
  #tcf-nav .nav-logo img { height: 38px; }
  #tcf-nav .nav-links {
    display: none !important;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--tcf-brown);
    flex-direction: column;
    padding: 22px 24px 30px;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
    border-top: 1px solid rgba(255,245,224,.1);
  }
  #tcf-nav.open .nav-links { display: flex !important; }
  #tcf-nav .nav-links a { font-size: 1rem; padding: 6px 0; }
  #tcf-nav .nav-account { display: none !important; }
  #tcf-nav .nav-cta { padding: 8px 16px; font-size: .85rem; }
  #tcf-nav-burger { display: block; }
}

@media (max-width: 600px) {
  #tcf-nav .nav-cta { padding: 7px 12px; font-size: .78rem; }
  #tcf-hero h1 { font-size: 2.4rem !important; }
  .split { grid-template-columns: 1fr !important; }
  .split .txt { padding: 36px 22px !important; }
  .gstrip { grid-template-columns: 1fr !important; height: auto !important; }
  .gstrip .ph { height: 220px; }
  .pillars { grid-template-columns: 1fr 1fr !important; }
  .menu-cats-grid, .shop-cats { grid-template-columns: 1fr 1fr !important; }
  .menu-grid { grid-template-columns: 1fr !important; }
  .sec .inner[style*="grid"] { grid-template-columns: 1fr !important; gap: 30px !important; }
  .orange-band h2 { font-size: 1.8rem !important; }
}
