/* ==========================================================================
   THE BIG GAME – FASHION SHOW (UED PESCARA 2026)
   Custom Vanilla CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LOCAL & EXTERNAL FONTS
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'veneer';
  src: url('assets/fonts/veneer.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. RESET & CSS VARIABLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #c48553;      /* Bronzo / Oro brand */
  --color-primary-dark: #a86b3b;
  --color-bg-dark: #000000;
  --color-white: #ffffff;
  --color-text-muted: #9ca3af;   /* Tailwind gray-400 */
  --color-text-subtle: #4b5563;  /* Tailwind gray-600 */
  --color-border-subtle: rgba(255, 255, 255, 0.1);

  --font-sans: 'Montserrat', sans-serif;
  --font-veneer: 'veneer', sans-serif;

  /* Larghezza del blocco tipografico hero (mobile first) */
  --hero-lockup-width: min(86vw, 380px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.8);
  background-image: url('assets/background2.jpg');
  background-size: cover;
  background-position: left center;
  background-attachment: fixed;
  background-blend-mode: color;
  line-height: 1.5;
  overflow-x: hidden;

  /* Font smoothing per testi chiari su sfondo scuro */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Reset essenziale: evita che il browser applichi faux-bold ai titoli */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* --------------------------------------------------------------------------
   3. UTILITY & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.uppercase { text-transform: uppercase; }
.text-white { color: var(--color-white); }
.highlight-accent {
  color: var(--color-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION – TIPOGRAFIA SERRATA E PERFETTAMENTE CONTENUTA
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background-image: url('assets/background-hero.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(2rem, 5vh, 4rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 
   Contenitore tipografico compatto e serrato:
   Larghezza uniforme, distanze verticali ridotte al minimo
*/
.hero-lockup {
  container-type: inline-size;
  container-name: lockup;
  width: var(--hero-lockup-width);
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* RIGA 1: "XMAS EDITION" (leggermente più piccola con tracking raffinato) */
.hero-edition {
  font-family: var(--font-veneer);
  font-weight: 400;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: calc(var(--hero-lockup-width) * 0.175);
  font-size: 17.5cqw;
  line-height: 1;
  letter-spacing: 0.08em;
  margin-bottom: 0.06em;
  white-space: nowrap;
  display: block;
  width: 100%;
}

/* RIGA 2: "THE BIG" */
.hero-title-top {
  font-family: var(--font-veneer);
  font-weight: 400;
  color: var(--color-white);
  text-transform: uppercase;
  font-size: calc(var(--hero-lockup-width) * 0.4026);
  font-size: 40.26cqw;
  line-height: 0.82;
  margin: 0;
  white-space: nowrap;
  display: block;
  width: 100%;
}

/* RIGA 3: "WE DON'T COMPETE, WE CREATE" (calibrata per non uscire mai a destra) */
.hero-tagline {
  font-family: var(--font-sans);
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  font-size: calc(var(--hero-lockup-width) * 0.0535);
  font-size: 5.35cqw;
  letter-spacing: 0.025em;
  line-height: 1.1;
  margin-top: 0.15em;
  margin-bottom: 0.12em;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-align: center;
}

/* RIGA 4: "GAME" */
.hero-title-bottom {
  font-family: var(--font-veneer);
  font-weight: 400;
  color: var(--color-white);
  text-transform: uppercase;
  font-size: calc(var(--hero-lockup-width) * 0.5464);
  font-size: 54.64cqw;
  line-height: 0.82;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  display: block;
  width: 100%;
}

/* Wrapper visuale giocatori + logo */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

/* Immagine mobile (giocatori centrati) */
.hero-img-mobile {
  width: 100%;
  max-width: 440px;
  margin-top: -0.5rem;
  margin-bottom: 0;
  object-fit: contain;
  pointer-events: none;
}

/* Immagine desktop (striscia orizzontale a tutta larghezza sul fondo) */
.hero-img-desktop {
  display: none;
  width: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Logo UED Fashion Night 2026 */
.hero-fn-logo {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: clamp(7.5rem, 18vw, 14rem);
  z-index: 10;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. INFO SECTION
   -------------------------------------------------------------------------- */
.info-section {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

.info-eyebrow {
  text-transform: uppercase;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding-bottom: 2rem;
}

.info-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.info-badge {
  background-image: url('assets/info.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  width: 100%;
  max-width: 560px;
  padding: 1.85rem 2.25rem;
  box-sizing: border-box;
}

.info-badge-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.info-badge-date {
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-weight: 600;
  border-right: 2px solid var(--color-white);
  padding-right: 1.25rem;
  white-space: nowrap;
}

.info-badge-sub {
  display: flex;
  flex-direction: column;
  text-align: left;
  text-transform: uppercase;
  font-size: clamp(0.65rem, 1.2vw, 1.15rem);
  line-height: 1.2;
}

.info-badge-location {
  text-transform: capitalize;
  font-size: clamp(1rem, 1.6vw, 1.55rem);
  margin-top: 0.5rem;
}

.info-narrative {
  max-width: 840px;
  margin: 0 auto;
}

.narrative-p {
  font-size: 1.2rem;
  margin: 1.25rem 0;
  line-height: 1.65;
}

.narrative-quote {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   6. TICKET / RESERVATION SECTION
   -------------------------------------------------------------------------- */
.ticket-section {
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.section-intro {
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.section-heading {
  font-family: var(--font-veneer);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.8rem, 8.5vw, 8rem);
  line-height: 1;
  margin-bottom: 2.5rem;
}

/* Ticket Cards Grid */
.ticket-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 420px;
  margin: 0 auto;
}

.ticket-card {
  background-image: url('assets/ticket-02.svg');
  filter: drop-shadow(0 0 10px var(--color-primary));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  padding: 2rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 540px;
  box-sizing: border-box;
}

.ticket-header {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-title {
  font-family: var(--font-veneer);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2.75rem;
  line-height: 1.1;
  color: var(--color-white);
  text-align: center;
}

.ticket-description {
  font-size: 1rem;
  line-height: 1.5;
  padding: 0 1rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  flex-grow: 1;
}

.ticket-footer-info {
  margin-bottom: 1.5rem;
  text-align: center;
  min-height: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ticket-access {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.ticket-access em {
  font-style: italic;
  font-weight: 600;
}

.ticket-limit {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
}

.ticket-cta-wrap {
  margin-top: auto;
}

.btn-ticket {
  display: inline-block;
  font-family: var(--font-veneer);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2.25rem;
  line-height: 1;
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 0.85rem 1.6rem;
  border-radius: 0.85rem;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-ticket:hover {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   7. MEDIA SECTION
   -------------------------------------------------------------------------- */
.media-section {
  text-align: center;
  margin-top: 3.5rem;
  padding-bottom: 5rem;
}

.media-card-container {
  display: flex;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

.media-ticket-card {
  width: 100%;
  min-height: 520px;
  padding: 2.75rem 1.75rem 3rem;
}

.media-ticket-card .ticket-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.media-ticket-card .btn-ticket {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  padding: 0.75rem 1.6rem;
}

.media-desc {
  margin-top: 2.75rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-bg-dark);
  width: 100%;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.footer-top-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-ued-brand {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo-ued {
  max-width: 220px;
  height: auto;
}

.footer-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--color-white);
}

.patrocinio-logo-wrap {
  display: flex;
  justify-content: center;
}

.logo-patrocinio {
  height: 9rem;
  object-fit: contain;
}

.sponsor-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.sponsor-item img {
  max-height: 4.5rem;
  width: auto;
  object-fit: contain;
}

.footer-divider {
  border: none;
  border-top: 4px solid var(--color-border-subtle);
  margin-bottom: 2.5rem;
}

.footer-middle {
  margin-bottom: 2.5rem;
}

.contacts-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.contacts-col a {
  display: block;
  margin-bottom: 0.35rem;
}

.contacts-col a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.35rem;
  margin-top: 0.5rem;
}

.social-links a {
  color: var(--color-text-muted);
}

.social-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-top: 4px solid var(--color-border-subtle);
  padding-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE BREAKPOINTS (Tablet & Desktop)
   -------------------------------------------------------------------------- */

/* Tablet (>= 768px) */
@media (min-width: 768px) {
  :root {
    --hero-lockup-width: min(85vw, 520px);
  }

  .ticket-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    gap: 1.5rem;
  }

  .footer-top-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-ued-brand {
    width: 25%;
    justify-content: flex-start;
  }

  .footer-label {
    text-align: left;
  }

  .patrocinio-logo-wrap {
    justify-content: flex-start;
  }

  .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
  :root {
    --hero-lockup-width: 560px;
  }

  /* Desktop Hero Visuals */
  .hero-img-mobile {
    display: none;
  }

  .hero-img-desktop {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }

  .hero-fn-logo {
    bottom: clamp(6rem, 12vh, 10rem);
    z-index: 2;
  }

  /* Info */
  .info-eyebrow {
    font-size: 1.875rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .info-badge {
    max-width: 600px;
    padding: 2.25rem 3.5rem;
  }

  .narrative-p {
    font-size: 1.45rem;
  }

  .narrative-quote {
    font-size: 1.5rem;
  }

  /* Ticket Section */
  .ticket-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 100%;
    gap: 1rem;
  }

  .ticket-card {
    padding: 2.75rem 1.2rem 3rem;
    min-height: 560px;
  }

  .ticket-title {
    font-size: clamp(1.4rem, 1.8vw, 2.2rem);
    white-space: nowrap;
  }

  .ticket-description {
    font-size: 1.05rem;
    padding: 0 0.5rem;
    margin-top: 2.75rem;
    margin-bottom: 1.25rem;
  }

  .ticket-access {
    font-size: 0.95rem;
  }

  .ticket-limit {
    font-size: 0.95rem;
  }

  .btn-ticket {
    font-size: clamp(1.4rem, 1.8vw, 2.1rem);
    padding: 0.65rem 1rem;
    white-space: normal;
    text-align: center;
  }

  /* Media Section */
  .media-section {
    padding-bottom: 6rem;
  }

  .media-card-container {
    max-width: 420px;
  }

  .media-ticket-card {
    min-height: 520px;
    padding: 2.75rem 2rem 3rem;
  }

  .media-ticket-card .ticket-title {
    font-size: 2.5rem;
  }

  .media-ticket-card .btn-ticket {
    font-size: 2.3rem;
    padding: 0.8rem 1.6rem;
  }

  .media-desc {
    font-size: 1.15rem;
    margin-top: 2.75rem;
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer-ued-brand {
    width: 20%;
  }

  .logo-ued {
    max-width: 200px;
  }
}

/* Wide Desktop (>= 1280px) */
@media (min-width: 1280px) {
  .ticket-grid {
    gap: 1.75rem;
  }

  .ticket-description {
    padding: 0 1.5rem;
  }
}
