/*
 Theme Name: NextAwards Child
 Theme URI: https://example.com
 Description: Child theme di NextAwards
 Author: [Il tuo nome]
 Author URI: https://example.com
 Template: nextawards
 Version: 1.0.0
 Text Domain: nextawards-child
*/

:root {
      --bg: #050509;
      --bg-elevated: #0c0d15;
      --bg-soft: #151624;
      --accent: #f3424b;
      --accent-soft: rgba(243,66,75,0.16);
      --text: #f7f7ff;
      --muted: #a1a5bc;
      --border: rgba(255,255,255,0.1);
      --radius-lg: 18px;
      --radius-xl: 28px;
      --shadow-soft: 0 26px 60px rgba(0,0,0,0.75);
      --transition: all 0.25s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
      background:
        radial-gradient(circle at top, #181a32 0, #050509 40%, #02020a 100%);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

/* ! Title System */
h1, h2, h3, h4, h5, h6, p, ol, ul{margin-bottom: 1rem;line-height: 1.2;}

.text-0{font-size: 5rem; line-height: 1;}
h1, .text-1{font-size: 3.4rem;}
h2, .text-2{font-size: 2.2rem;}
h3, .text-3{font-size: 1.5rem;}
h4, p, .text-4{font-size: 1rem;line-height: 1.5rem}
.text-5{font-size: 0.8rem;}

h1, h2, h3, h4, h5, h6 {color: #f7f7ff!important;}
p{color: #a1a5bc!important;}

@media (max-width: 768px) {
  .text-0{font-size: 4rem}
  h1, .text-1{font-size: 3rem;}
}

.spacer{height: 50px;}

    /* Layout */
    .container {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    main {
      padding-top: 72px;
    }

    /* Header */

    header {
      position: fixed;
      top: 0;
      inset-inline: 0;
      z-index: 1000;
      backdrop-filter: blur(16px);
      background: linear-gradient(to bottom, rgba(5,5,10,0.98), rgba(5,5,10,0.78), transparent)!important;
      border-bottom: 1px solid rgba(255,255,255,0.04);
      transition: var(--transition);
    }

    header.scrolled {
      background: rgba(5,5,11,0.98);
      border-bottom-color: rgba(255,255,255,0.1);
    }

    .header__logo-img{
    width: 80px!important;
    height: auto;
   }

   .menu li a{color: #f7f7ff!important;}

    @media (max-width: 1190px) {
      .header__logo, .menu{padding-top: 35px}
			
    }

   /* ! bottoni */

.wp-block-button .wp-block-button__link {
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    /* tuo gradient */
    background: linear-gradient(135deg,#ff4b60,#f3424b);
    color: #fff !important;
    transition: all 0.25s ease;
}

.wp-block-button.primary .wp-block-button__link {
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    /* tuo gradient */
    background: linear-gradient(135deg,#ff4b60,#f3424b);
    box-shadow: 0 15px 36px rgba(243,66,75,0.5);
    color: #fff !important;
    transition: all 0.25s ease;
}

.wp-block-button.primary .wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(243,66,75,0.75);
}


/* OUTLINE BUTTON (stile BJJ) */
.wp-block-button.outline .wp-block-button__link {
    transition: all 0.25s ease;

border: 2px solid rgba(255,255,255,0.18);
    background: rgba(10,11,20,0.8);
    color: var(--text);
}

.wp-block-button.outline .wp-block-button__link:hover {
    border-color: var(--accent);
    background: rgba(243, 66, 75, 0.16)!important;
    
}

.wp-block-media-text__media img{border-radius: 22px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.14);
      background: radial-gradient(circle at 20% 0, rgba(255,255,255,0.2), transparent 55%),
                  #060712;
      aspect-ratio: 4 / 3;
      position: relative;
      display: grid;
      place-items: center;
      isolation: isolate;}

    .mobile-toggle {
      display: none;
      border-radius: 999px;
      padding: 0.4rem 0.6rem;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(6,7,16,0.9);
      cursor: pointer;
    }

    .mobile-toggle span {
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: #fff;
      display: block;
      position: relative;
    }

    .mobile-toggle span::before,
    .mobile-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: #fff;
    }

    .mobile-toggle span::before {
      top: -5px;
    }

    .mobile-toggle span::after {
      top: 5px;
    }

    /* Hero */
    .hero {
      min-height: 80vh;
      display: flex;
      align-items: center;
      padding: 3rem 0 4rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      gap: 2.8rem;
      align-items: center;
    }

    .hero-title {
      font-size: clamp(2.4rem, 4vw, 3.4rem);
      line-height: 1.05;
      margin-bottom: 0.8rem;
    }

    .hero-title span {
      color: var(--accent);
    }

    .hero-subtitle {
      color: var(--muted);
      font-size: 1.05rem;
      max-width: 32rem;
      margin-bottom: 1.5rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
      margin-bottom: 1.6rem;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      font-size: 0.8rem;
      color: var(--muted);
    }

    .hero-meta span {
      padding: 0.3rem 0.8rem;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(8,9,18,0.9);
    }

    .hero-card {
      border-radius: var(--radius-xl);
      background:
        radial-gradient(circle at top left, rgba(243,66,75,0.19), transparent 60%),
        radial-gradient(circle at bottom right, rgba(90,104,255,0.26), transparent 55%),
        linear-gradient(135deg, #0a0c17, #16182a);
      padding: 1.4rem;
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.25rem 0.8rem;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.18);
      background: rgba(2,2,12,0.65);
      font-size: 0.75rem;
      margin-bottom: 1rem;
    }

    .hero-media {
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.14);
      background: radial-gradient(circle at 20% 0, rgba(255,255,255,0.2), transparent 55%),
                  #060712;
      aspect-ratio: 4 / 3;
      position: relative;
      display: grid;
      place-items: center;
      isolation: isolate;
    }

    /* Simulazione foto tatami (puoi sostituire con una vera immagine <img>) */
    .hero-mat-grid {
      width: 88%;
      height: 74%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 1fr;
      gap: 8px;
      transform: perspective(900px) rotateX(60deg) rotateZ(-36deg) translateY(10px);
      transform-origin: center;
      filter: drop-shadow(0 18px 45px rgba(0,0,0,0.9));
    }

    .hero-mat-tile {
      border-radius: 10px;
      background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.3), transparent 60%),
        #171929;
      position: relative;
    }

    .hero-mat-tile--focus {
      background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.55), transparent 55%),
        #f3424b;
      box-shadow: 0 0 28px rgba(243,66,75,0.9);
    }

    .hero-card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      font-size: 0.8rem;
      margin-top: 1.2rem;
      color: var(--muted);
    }

    .hero-stat-label {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.7rem;
      color: rgba(255,255,255,0.7);
    }

    .hero-stat-value {
      font-size: 1rem;
      font-weight: 600;
      color: var(--text);
    }

    /* Sezioni generali */
    section {
      padding: 3.2rem 0;
      scroll-margin-top: 80px;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 1.4rem;
      flex-wrap: wrap;
      margin-bottom: 1.8rem;
    }

    .section-title {
      font-size: 1.45rem;
    }

    .section-description {
      max-width: 26rem;
      font-size: 0.95rem;
      color: var(--muted);
    }

    /* Perché noi */
    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
      font-size: 0.78rem;
      color: var(--muted);
    }

    .pill {
      padding: 0.2rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(6,7,16,0.9);
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 1.4rem;
    }

    .feature-card {
      border-radius: var(--radius-lg);
      background: linear-gradient(145deg,#101322,#080812);
      padding: 1.1rem 1.15rem;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 14px 35px rgba(0,0,0,0.7);
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top, rgba(243,66,75,0.18), transparent 55%);
      opacity: 0;
      transition: var(--transition);
      pointer-events: none;
    }

    .feature-card:hover::before {
      opacity: 1;
    }

    .feature-icon {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      font-size: 1rem;
      background: var(--accent-soft);
      color: var(--accent);
      margin-bottom: 0.6rem;
    }

    .feature-card h3 {
      font-size: 1rem;
      margin-bottom: 0.2rem;
    }

    .feature-card p {
      font-size: 0.9rem;
      color: var(--muted);
    }

    /* Programmi */
    .split {
      display: grid;
      grid-template-columns: minmax(0,1.4fr) minmax(0,1.1fr);
      gap: 2rem;
      align-items: start;
    }

    .program-list {
      display: grid;
      gap: 1rem;
    }

    .program-item {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(255,255,255,0.12);
      background: linear-gradient(135deg,#111325,#080811);
      padding: 1rem 1.1rem;
      position: relative;
      overflow: hidden;
    }

    .program-item::before {
      content: "";
      position: absolute;
      inset-inline: -10%;
      bottom: -60%;
      height: 60%;
      background: radial-gradient(circle at center, rgba(243,66,75,0.18), transparent 65%);
      opacity: 0;
      transition: var(--transition);
    }

    .program-item:hover::before {
      opacity: 1;
    }

    .program-label {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--muted);
      margin-bottom: 0.2rem;
    }

    .program-item h3 {
      font-size: 1.05rem;
      margin-bottom: 0.25rem;
    }

    .program-item p {
      font-size: 0.9rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }

    .program-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      font-size: 0.78rem;
      color: var(--muted);
    }

    .program-meta span {
      padding: 0.18rem 0.6rem;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.16);
    }

    .schedule-card {
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at top right, rgba(243,66,75,0.2), transparent 55%),
                  #080811;
      padding: 1.2rem 1.25rem;
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 18px 40px rgba(0,0,0,0.75);
      font-size: 0.9rem;
    }

    .schedule-card h3 {
      font-size: 1.02rem;
      margin-bottom: 0.4rem;
    }

    .schedule-list {
      list-style: none;
      color: var(--muted);
      margin: 0.6rem 0 0.9rem;
    }

    .schedule-list li + li {
      margin-top: 0.25rem;
    }

    .schedule-note {
      color: var(--muted);
      font-size: 0.8rem;
    }

    /* Coach */
    .coach-card {
      border-radius: var(--radius-xl);
      background: linear-gradient(145deg,#16172a,#070713);
      padding: 1.3rem 1.4rem;
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: var(--shadow-soft);
      display: grid;
      grid-template-columns: minmax(0,1.1fr) minmax(0,1.4fr);
      gap: 1.6rem;
      align-items: center;
    }

    .coach-avatar {
      border-radius: 20px;
      border: 1px dashed rgba(255,255,255,0.26);
      padding: 0.85rem;
      text-align: center;
      font-size: 0.85rem;
      color: var(--muted);
    }

    .coach-rank {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #f3424b!important;
      margin-bottom: 0.18rem;
      margin-top: 0.5rem;
    }

    .coach-name {
      font-size: 1.3rem;
      margin-bottom: 0.3rem;
    }

    .coach-lineage {
      font-size: 0.8rem;
      color: var(--muted);
      margin-bottom: 0.6rem;
    }

    .coach-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.45rem;
      margin-top: 0.4rem;
      font-size: 0.78rem;
    }

    .coach-tags span {
      padding: 0.2rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.2);
    }

    .coach-text p {
      color: var(--muted);
      font-size: 0.92rem;
      margin-bottom: 0.6rem;
    }

    .stat-list {
      list-style: none;
      font-size: 0.86rem;
      color: var(--muted);
    }

    .stat-list li + li {
      margin-top: 0.25rem;
    }

    /* Steps */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3,minmax(0,1fr));
      gap: 1.1rem;
    }

    .step-card {
      border-radius: var(--radius-lg);
      border: 1px dashed rgba(255,255,255,0.22);
      background: rgba(7,7,16,0.9);
      padding: 1rem 1.05rem;
      font-size: 0.9rem;
    }

    .step-number {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--accent-soft);
      color: var(--accent);
      font-size: 0.85rem;
      margin-bottom: 0.4rem;
    }

    .step-card h3 {
      font-size: 1rem;
      margin-bottom: 0.25rem;
    }

    .step-card p {
      color: var(--muted);
    }

    /* Footer */
    footer {
      border-top: 1px solid rgba(255,255,255,0.16);
      padding: 2.4rem 0 2.6rem;
      background: radial-gradient(circle at bottom,#181930 0,#050509 55%,#02020a 100%);
    }

    .social-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .social-links a {
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.18);
      font-size: 0.8rem;
    }

    .social-links a:hover {
      border-color: var(--accent);
      background: var(--accent-soft);
    }

    /* ! back to top */

    .back-to-top {
    position: fixed;
    bottom: 40px;
    right: 100px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0f172a; /* scuro elegante, cambialo se vuoi */
    color: #ff4f70;      /* colore dell'icona (currentColor) */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease,
                background 0.25s ease, color 0.25s ease;
    z-index: 9999;
}

.back-to-top-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* Stato visibile */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover / focus */
.back-to-top:hover,
.back-to-top:focus-visible {
    background: #ff4f70;
    color: #ffffff;
    outline: none;
}


/* Responsivo */




     @media (max-width: 768px) {
      .hero{display: block;}   
     }
    
    @media (max-width: 960px) {
      .hero-grid,
      .split,
      .coach-card,
      .gallery-grid,
      .footer-grid {
        grid-template-columns: minmax(0,1fr);
      }
      .hero {
        padding-top: 2.4rem;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .mobile-toggle {
        display: inline-flex;
      }

      .nav-links.open {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        display: grid;
        gap: 0.9rem;
        background: rgba(5,5,11,0.98);
        padding: 1rem 1.5rem 1.3rem;
        border-bottom: 1px solid rgba(255,255,255,0.16);
      }

      .grid-3,
      .steps-grid {
        grid-template-columns: minmax(0,1fr);
      }

      .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }
    }

    @media (max-width: 480px) {
      .hero-title {
        font-size: 2.1rem;
      }
      .section-header {
        align-items: flex-start;
      }
    }

    @media (max-width: 1190px) {
      .menu{background: radial-gradient(circle at top, #181a32 0, #050509 40%, #02020a 100%)!important;}
      .menu li{border-bottom: 1px solid #f7f7ff!important}
      .header__logo-img{z-index: 999;}
      .icon-hamburger span{background: #f7f7ff!important ;}
      .sma-none{display: none;}
    }

/* ! hover whats-app */    

/* Pulsante WhatsApp - stile base */
.logo-whats-app {
    display: block;
    width: 48px !important;
    height: 48px !important;
    position: fixed;
    bottom: 25px;
    right: 25px;
    border-radius: 50%;
    background-color: #25D366 !important; /* verde ufficiale WhatsApp */
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 9999;
}

/* Assicuriamoci di rimuovere eventuali filtri indesiderati */
.logo-whats-app img,
.logo-whats-app .icon-wa {
    filter: none !important;
}

/* HOVER → verde fluo come richiesto */
.logo-whats-app:hover {
    background-color: #39FF14 !important; /* verde fluo */
    box-shadow: 0 0 20px rgba(57,255,20,0.55);
    transform: translateY(-3px);
    transition: all 0.25s ease;
}

/* Icona dentro */
.logo-whats-app .icon-wa {
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M16 .7C7.5.7.7 7.5.7 16c0 2.8.7 5.5 2 7.9L.2 31.8l8.2-2.4c2.3 1.2 5 1.8 7.7 1.8 8.5 0 15.3-6.8 15.3-15.3S24.5.7 16 .7zm8.9 22.1c-.4 1-.8 1.1-1.5 1.2-.4 0-.9 0-1.5-.1-1.7-.3-3.9-1.2-6.9-3.7-2.5-2.2-4.1-4.9-4.6-5.7-.6-.9-1-1.9-.1-2.9.5-.6 1-1.3 1.6-1.5.4-.2.8-.2 1.1.2.3.4 1.3 1.6 1.5 1.9.4.5.3.8 0 1.3-.3.4-.5.7-.8 1-.3.3-.6.6-.3 1.1.3.5 1.4 2.4 3.1 3.9 2.1 1.9 3.9 2.6 4.4 2.8.5.2.8.2 1.1-.1.3-.3 1.3-1.5 1.6-2 .3-.4.6-.4 1-.2.4.1 2.5 1.2 2.9 1.4.4.2.7.3.8.5.1.2.1 1.1-.3 2.1z"/></svg>');
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    overflow: hidden;
}


    /* Utility per animazioni – fallback SAFE */
.reveal,
.reveal-up,
.reveal-right,
.reveal-left {
  opacity: 1;
  transform: none;
}
