/* ============================================================
   HAMMUCCA – Brand CSS
   Colori: Giallo #f7a600 · Arancio #ec6607 · Rosa #ee7daf · Rosso #cd1619
   ============================================================ */

/* ---- FONT FACE ---- */
@font-face {
  font-family: 'HelvBlkCn';
  src: url('fonts/HelveticaNeueLTStd-BlkCn.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'HelvBdCn';
  src: url('fonts/HelveticaNeueLTStd-BdCn.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'HelvHvCn';
  src: url('fonts/HelveticaNeueLTStd-HvCn.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'HelvMdCn';
  src: url('fonts/HelveticaNeueLTStd-MdCn.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('fonts/GothamRounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('fonts/GothamRounded-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'BabyPilot';
  src: url('fonts/Baby_Pilot.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Darkline';
  src: url('fonts/Darkline.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Coolvetica';
  src: url('fonts/Coolvetica_Rg_Cond.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* ---- ROOT VARIABLES ---- */
:root {
  --giallo:   #f7a600;
  --arancio:  #ec6607;
  --rosa:     #ee7daf;
  --rosso:    #cd1619;
  --nero:     #111111;
  --nero-bg:  #1a1a1a;
  --nero-card:#222222;
  --bianco:   #ffffff;
  --grigio:   #888888;

  --f-display: 'HelvBlkCn', 'Impact', sans-serif;
  --f-heavy:   'HelvHvCn', 'Impact', sans-serif;
  --f-bold:    'HelvBdCn', 'Impact', sans-serif;
  --f-body:    'GothamRounded', 'Manrope', sans-serif;
  --f-chalk:   'BabyPilot', 'Darkline', cursive;
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--nero-bg);
  color: var(--bianco);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--nero); }
::-webkit-scrollbar-thumb { background: var(--arancio); border-radius: 9999px; }

/* ---- SELECTION ---- */
::selection { background: var(--giallo); color: var(--nero); }

/* ---- UTILITY CLASSES ---- */
.text-giallo  { color: var(--giallo); }
.text-arancio { color: var(--arancio); }
.text-rosa    { color: var(--rosa); }
.text-rosso   { color: var(--rosso); }
.text-bianco  { color: var(--bianco); }
.text-grigio  { color: var(--grigio); }

.bg-nero      { background: var(--nero-bg); }
.bg-card      { background: var(--nero-card); }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(247,166,0,0.15);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-display);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}
.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}
.brand-logo--nav {
  height: 68px;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--f-bold);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grigio);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--giallo); }

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--bianco);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(17,17,17,0.98);
  border-top: 1px solid rgba(247,166,0,0.1);
}
.mobile-nav a {
  font-family: var(--f-bold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grigio);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a.active,
.mobile-nav a:hover { color: var(--giallo); }
.mobile-nav.open { display: flex; }

/* ---- FOOTER ---- */
.footer {
  background: var(--nero);
  border-top: 1px solid rgba(247,166,0,0.15);
  padding: 3rem 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-display);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.brand-logo--footer {
  height: 82px;
}
.footer-claim {
  font-family: var(--f-chalk);
  color: var(--arancio);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: var(--grigio);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--giallo); }
.footer-copy {
  color: #444;
  font-size: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-copy a {
  color: var(--grigio);
  text-decoration: none;
}
.footer-copy a:hover {
  color: var(--giallo);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.2rem;
}
.social-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(247,166,0,0.18);
  background: rgba(255,255,255,0.03);
  color: var(--bianco);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(247,166,0,0.45);
  background: rgba(247,166,0,0.1);
}
.social-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  fill: currentColor;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-family: var(--f-bold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--arancio);
  color: var(--bianco);
}
.btn-primary:hover { filter: brightness(1.15); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--giallo);
  color: var(--giallo);
}
.btn-outline:hover { background: var(--giallo); color: var(--nero); }

/* ---- PRICE TAG (ribbon arancio) ---- */
.price-tag {
  display: inline-block;
  background: var(--arancio);
  color: var(--bianco);
  font-family: var(--f-display);
  font-size: 1.4rem;
  padding: 0.4rem 1rem 1.2rem;
  border-radius: 0 0 50% 50%;
  line-height: 1;
  text-align: center;
}

/* ---- PRODUCT CARD ---- */
.product-card {
  background: var(--nero-card);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94), box-shadow 0.35s;
  text-decoration: none;
  display: block;
  border: 1px solid rgba(247,166,0,0.08);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(236,102,7,0.2);
  border-color: rgba(247,166,0,0.25);
}
.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-img-wrap { overflow: hidden; position: relative; }
.product-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.product-card-cat {
  font-family: var(--f-bold);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--arancio);
  margin-bottom: 0.4rem;
}
.product-card-nome {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--bianco);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.product-card-claim {
  font-family: var(--f-chalk);
  color: var(--giallo);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.product-card-desc {
  color: var(--grigio);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card-prezzo {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--arancio);
}

/* ---- TAG BADGES ---- */
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-family: var(--f-bold);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-giallo  { background: rgba(247,166,0,0.15); color: var(--giallo); border: 1px solid rgba(247,166,0,0.3); }
.tag-arancio { background: rgba(236,102,7,0.15);  color: var(--arancio); border: 1px solid rgba(236,102,7,0.3); }
.tag-rosa    { background: rgba(238,125,175,0.15);color: var(--rosa); border: 1px solid rgba(238,125,175,0.3); }
.tag-rosso   { background: rgba(205,22,25,0.15);  color: #ff6b6b; border: 1px solid rgba(205,22,25,0.4); }

/* ---- SECTION HEADING ---- */
.section-label {
  font-family: var(--f-bold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arancio);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--bianco);
}
.section-title .accent { color: var(--giallo); }

/* ---- MATERIAL ICONS ---- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  user-select: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .navbar-inner { height: 74px; }
  .brand-logo--nav { height: 52px; }
  .brand-logo--footer { height: 64px; }
}