/* Font Gothic Copperplate (normale) */
@font-face {
  font-family: 'Gothic Copperplate';
  src: url('/fonts/GothicCopperplate.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Font Gothic Copperplate Bold */
@font-face {
  font-family: 'Gothic Copperplate Bold';
  src: url('/fonts/GothicCopperplate-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Gerarchia tipografica: Copperplate solo per titoli/marchio, Lato per il resto */
html {
  font-size: 16px;
}

body, #root {
  font-family: 'Lato', sans-serif;
  font-size: 1rem; /* 16px */
  line-height: 1.6;
}

/* Testo corpo: font neutro e leggibile */
p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem; /* 16px */
  line-height: 1.65;
}

span, div, a, button, input, textarea, select, label, li, td, th, ul, ol {
  font-family: 'Lato', sans-serif;
}

a, button {
  font-size: inherit;
}

span {
  font-size: inherit;
}

/* Font Bold per titoli con dimensioni aumentate */
h1 {
  font-family: 'Gothic Copperplate Bold', 'Lato', sans-serif;
  font-weight: normal;
  font-size: 2.5rem; /* ~45px */
  line-height: 1.2;
}

h2 {
  font-family: 'Gothic Copperplate Bold', 'Lato', sans-serif;
  font-weight: normal;
  font-size: 2rem; /* ~36px */
  line-height: 1.3;
}

h3 {
  font-family: 'Gothic Copperplate Bold', 'Lato', sans-serif;
  font-weight: normal;
  font-size: 1.75rem; /* ~31.5px */
  line-height: 1.4;
}

h4 {
  font-family: 'Gothic Copperplate Bold', 'Lato', sans-serif;
  font-weight: normal;
  font-size: 1.5rem; /* ~27px */
  line-height: 1.4;
}

h5 {
  font-family: 'Gothic Copperplate Bold', 'Lato', sans-serif;
  font-weight: normal;
  font-size: 1.25rem; /* ~22.5px */
  line-height: 1.5;
}

h6 {
  font-family: 'Gothic Copperplate Bold', 'Lato', sans-serif;
  font-weight: normal;
  font-size: 1.1rem; /* ~19.8px */
  line-height: 1.5;
}

/* Classi utility: Copperplate solo dove serve (marchio, sottotitoli header, ecc.) */
.font-copperplate {
  font-family: 'Gothic Copperplate', 'Lato', sans-serif;
}

.font-copperplate-bold {
  font-family: 'Gothic Copperplate Bold', 'Lato', sans-serif;
  font-weight: normal; /* Il font Bold è già bold */
}

/* Mantieni font-serif per elementi che lo richiedono esplicitamente */
.font-serif, h1.font-serif, h2.font-serif, h3.font-serif, h4.font-serif, h5.font-serif, h6.font-serif {
  font-family: 'Playfair Display', serif;
}

/* Media queries per responsive */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  p {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 2rem; /* ~30px su mobile */
  }
  
  h2 {
    font-size: 1.75rem; /* ~26px su mobile */
  }
  
  h3 {
    font-size: 1.5rem; /* ~22.5px su mobile */
  }
}

button, .btn, a.button {
  font-size: 0.9375rem; /* 15px, leggibile e proporzionato */
}

/* Dimensioni utility Tailwind per testo Lato */
.text-xs {
  font-size: 0.75rem !important; /* 12px */
}

.text-sm {
  font-size: 0.875rem !important; /* 14px */
}

/* Marquee auto-scroll per fascia marchi (mobile) */
@keyframes brand-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-brand-marquee {
  animation: brand-marquee 30s linear infinite;
}
