/* ===================================================
   TNT PUB — Global styles
   Fonts · Reset · Variables · Nav · Buttons · Info · Footer
   =================================================== */

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebas-neue.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ── */
:root {
  --red:      #D41F2C;
  --red-dark: #A8151F;
  --red-glow: rgba(212,31,44,0.15);
  --dark:     #0D0D0D;
  --dark-2:   #141414;
  --dark-3:   #1C1C1C;
  --dark-4:   #242424;
  --white:    #FFFFFF;
  --gray:     #888888;
  --light:    #CCCCCC;
  --border:   rgba(255,255,255,0.07);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background 0.3s, backdrop-filter 0.3s;
}

#navbar.scrolled {
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.mobile-only  { display: none; }
.desktop-only { display: list-item; }

.nav-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.45);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0;
  transition: color 0.2s;
}

.nav-back-btn:hover { color: var(--white); }

.nav-socials-li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
  margin-left: -0.5rem;
}

.nav-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-social-icon:hover { color: var(--white); }
.nav-social-icon svg { width: 15px; height: 15px; fill: currentColor; display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid var(--red);
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--dark);
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid var(--white);
  transition: all 0.2s;
  display: inline-block;
}

.btn-white:hover { background: transparent; color: var(--white); }

.btn-red {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 3px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s !important;
}

.btn-red:hover { background: var(--red-dark) !important; }

/* ── Section helpers ── */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

/* ── Info section ── */
#info {
  background: var(--dark-2);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}

.info-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}

.info-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.hours-row span:first-child { color: var(--gray); }
.hours-row span:last-child  { color: var(--light); }
.hours-row.closed span:last-child { color: rgba(255,255,255,0.25); }
.hours-row.today {
  background: var(--red-glow);
  margin: 0 -0.5rem;
  padding: 0.5rem 0.5rem;
  border-radius: 2px;
}
.hours-row.today span { color: var(--white) !important; }

.info-addr {
  font-size: 0.875rem;
  color: var(--light);
  line-height: 1.9;
}

.info-addr a {
  color: var(--red);
  text-decoration: none;
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.info-block .btn-primary {
  text-align: center;
  margin-top: 1.5rem;
}

/* ── Footer ── */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

footer > img { height: 50px; margin-bottom: 1rem; opacity: 0.7; }
footer p { font-size: 0.75rem; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }
footer p + p { margin-top: 0.4rem; }
footer a { color: rgba(255,255,255,0.3); text-decoration: none; }
footer a:hover { color: var(--red); }

.footer-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.25rem 0;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.4);
  transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover { background: var(--red); color: #fff; }
.footer-socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ── Global responsive ── */
@media (max-width: 640px) {
  .hamburger { display: flex; }
  #navbar { padding: 1rem 1.25rem; }
  .mobile-only  { display: list-item; }
  .desktop-only { display: none; }

  /* Menu mobile fullscreen */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 200;
    overflow-y: auto;
  }

  .nav-links.open { display: flex; }

  /* Header: ← Indietro + TNT PUB */
  .nav-mobile-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
  }

  .nav-back-btn {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.02em;
  }

  .nav-mobile-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--white);
  }

  .nav-mobile-brand em { color: var(--red); font-style: normal; }

  /* Ordina ora: bottone rosso largo */
  .nav-ordina-mobile-li {
    display: flex !important;
    justify-content: center;
    width: 100%;
    padding: 0 2rem;
    margin-bottom: 2rem;
  }

  .nav-ordina-mobile-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.15em;
    padding: 1rem;
  }

  /* Link principali: Bebas Neue grande */
  .nav-links > li > a:not(.btn-red):not(.nav-social-icon) {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.06em;
    color: var(--white);
    text-decoration: none;
    display: block;
    padding: 0.35rem 0;
    transition: color 0.2s;
  }

  .nav-links > li > a:not(.btn-red):not(.nav-social-icon):hover { color: var(--red); }

  /* Icone social: cerchi con bordo + separatore */
  .nav-socials-li {
    display: flex !important;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 1.75rem 0 0;
    margin: 1.25rem 0 0;
    width: 100%;
    justify-content: center;
    gap: 1.25rem;
  }

  .nav-social-icon {
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
  }

  .nav-social-icon svg { width: 20px; height: 20px; }
  .nav-social-icon:hover { border-color: var(--white); color: var(--white); }

  /* Footer testo in fondo */
  .nav-mobile-footer {
    display: block !important;
    margin-top: auto;
    padding: 2rem 2rem 1.75rem;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.08em;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .info-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
