/*
1. Google Fonts
2. Variabili globali (:root)
3. Fondamenta (html, body)
4. Tipografia (titoli, paragrafi, link)
5. Componenti (navbar, section, bottoni) 
6. Colori e background
7. Sizing
8. Form
9. Altri layout (griglie e contenitori)
10. 10 Animazioni
*/


/* 1) Fonts */
    
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
  font-family: "Renoric";
  src: url("../fonts/RenoricRegular.woff2") format("woff2"),
       url("../fonts/RenoricRegular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* 2) Variabili */

:root {
    --primary-color: #1E3563;
    --background-color: #fff;  
    --background-color-2:#1E3563;
    --pop-color: #12B0E5;
    --link-hover-color:#12B0E5;
    
    --custom-radius:0px;
    --btn-radius:19px 19px 19px 19px;
    --btn-padding: 0.5rem 1rem;
    --section-padding: 120px;    
    --main-font: "Poppins", sans-serif;
    --renoric-font: "Renoric";
    
    --bg-hero: url("../images/hero-stadium.jpg");
    --bg-hero-academy: url("../images/hero-academy.jpg");
}


/* 3) Fondamenta (html, body) */

html {
    font-size: 16px; /* Base del rem */
    scroll-behavior: smooth;
    color:  var(--primary-color);
}

body {
    background-color: var(--background-color); 
    color: #333;
    font-size: 1rem;
    font-family: var(--main-font);
    line-height: 1.6;
}

.renoric-font {
    font-family: var(--renoric-font);
}


/* 4) Tipografia (titoli, paragrafi, link) */

h1, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 5rem;
    line-height: 1;
    letter-spacing: -0.25rem;
}

h2 {
    font-size: 4rem;
    line-height: 1.1;
    color:var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 2rem;
}

h6{
    color:var(--primary-color);
}


a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.text-xl{
    font-size: 3rem;
    line-height: 1.1;
}

.text-lg{
    font-size: 2.3rem;
    line-height: 1.1;
}

.text-md{
    font-size: 1.5rem;
    line-height: 1.4;
}

.text-large {
    font-size: 27px;
    line-height: 1.4;
    font-weight: 700;
}

.bold{
    font-weight: 700;
}


/* 5) Componenti (bottoni, moduli, ecc.) */

body {
    background-color: var(--background-color);
    color: var(--primary-color);
}

.sticky-top {
    top: 0 !important;
    z-index: 099999999999!important;
}

.nav-item{ padding: 0.5rem 2rem;}


.nav-link{
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    padding-left: 0px!important;
    padding-right: 0px!important;
    color: var(--primary-color);
}

.navbar-container{
    border-bottom: 1px solid color(srgb 1 1 1 / 0.5);
}

.navbar.scrolled .navbar-container{
    border-bottom: transparent;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: #fff;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 1020;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important; 
}

ul.dropdown-menu {
    background-color: transparent;
    border: transparent;
}

.dropdown-menu li{
    background-color: rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 0.1rem;
}

.dropdown-menu li a{
    color:white;
    font-weight:300;
    font-size: 15px;
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:focus-within {
    border: unset;
    box-shadow: none;
}

.logo {
    width: 70px;
}

#contact ul{
    list-style-type: none;
}

#contact .mail-footer{
    font-size: 27px;
    font-weight: 700;
    color: var(--primary-color);
}


.bg-dark ul li a, .bg-dark, .bg-dark p, .bg-dark a{
    color: #fff;
}

.bg-dark ul li a:hover, .bg-dark a:hover{
    color: var(--pop-color);
}

section{
    padding-top:var(--section-padding);
    padding-bottom:var(--section-padding);
}

section.half-section, .half-section{
    padding-top:calc(var(--section-padding)/2);
    padding-bottom:calc(var(--section-padding)/2);
}


/* 6) Colori e background */

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--link-hover-color);
}
.bg-blue {
    background-color: var(--background-color-2);
    color:#fff;
}



/* 7) Sizing */

.min-vh-30{
    min-height:30vh;
}

.min-vh-50{
    min-height:50vh;
}

.min-vh-100{
    min-height:100vh;
}

.min-vw-30{
    min-width:30vw;
}

.min-vw-50{
    min-width:50vw;
}

.min-vw-100{
    min-width:100vw;
}

.vw-30{
    width:30vw;
}

.vw-50{
    width:50vw;
}

.vw-100{
    width:100vw;
}


/* 8 Form di contatto */


/* 9) Altri layout (contenitori, parti grafiche)*/
/* HERO TOP */
    .hero{
      position: relative;
      min-height: 70vh;
      background-image: var(--bg-hero);
      background-size: cover;
      background-position: center;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .hero-content{
      position: relative;
      z-index: 2;
      height: 100%;
      width: 100%;
      padding: 34px 40px;
    }

    .hero-title{
        color:#fff;
        font-weight: 800;
        letter-spacing:.8px;
        text-transform: uppercase;
        font-style: italic;
        line-height:1.2;
        font-size: 28px;    
        text-align: center;
    }
.hero-title .char {
  display: inline-block;
}



.split-player{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}
.split-player img{
    max-width: 250px;
    height: auto;
    display: block;
    left: 50%;
    position: relative;
    transform: translate(-50%);  
}

.bg-counter {
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.bg-counter::after {
    background-color: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    display: block;
    content:"";
    position:absolute;
    top:0;
    left:0;
    z-index: 1; 
}
.bg-counter > *{
    position: relative;
    z-index: 2;
}

.number {
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}
.caption-number {
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 700;
}

.title-section {
    font-size: 65px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
}
.title-section.text-white-border {
    -webkit-text-stroke: 1px #fff;
}

.title-reparto {
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
}


.btn-servizi {
    color: var(--primary-color);
    border: none;
    background: transparent;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 16px;
    -webkit-box-shadow: -2px 2px 28px 0px  var(--primary-color); 
    box-shadow: -2px 2px 28px 0px  var(--primary-color);
    margin: 0 20px;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-servizi:hover {
    background-color:var(--primary-color);
    color:#fff;
}
.btn-servizi.is-active{
    background-color:var(--primary-color);
    color:#fff;
    opacity: 1;
    transform: scale(1.26);
    box-shadow: none;
    -webkit-box-shadow: none;
}
.btn-servizi.is-active:disabled{
  cursor: default;
}

.btn-servizi:not(.is-active) {
  animation: pulse-soft 2s infinite ease-in-out;
}

/* quando hover, puoi accentuare leggermente */
.btn-servizi:not(.is-active):hover {
  animation: none;
  transform: scale(1.05);
}




.btn-toggle-plus{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

/* il simbolo */
.btn-toggle-plus span{
  display:inline-block;
  font-size:22px;
  line-height:1;

  transition: transform .3s ease;   /* <<< animazione */
}

/* stato aperto */
.btn-toggle-plus[aria-expanded="true"] span{
  transform: rotate(45deg);
}

.player-servizi {
    position: absolute;
    width: 270px;
    top: 50%;
    right: 10%;
    transform: translate(-50%, -50%);
}
.title-campo {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}
.hero-academy{
      position: relative;
      min-height: 40vh;
      background-image: var(--bg-hero-academy);
      background-size: cover;
      background-position: center;
      width: 100%;
    }

.team-name {
    line-height: 0.8;
    margin-bottom: 0;
    text-transform: uppercase;
}
.table-coll {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.table-coll p {
    margin-bottom: 0;
}
.table-coll .row-table {
    padding: 5px 0;
}

.bg-light-grey-table {
    background-color: #E4E4E4
}.bg-dark-grey-table {
    background-color: #C3C3C3
}
.padding-col-sx {
    padding: 5rem 25% 5rem 10%;
}
.padding-col-dx {
    padding: 5rem 10% 5rem 25%;
}

.logo-section {
    width: 100px;
}
.logo-academy {
    width: 150px;
}
.arrow {
    width:60px;
}

.ball {
  transform-origin: center center;
}


.video-section {
  position: relative;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-section .content {
  position: relative;
  z-index: 2;
}

.video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.link-scopri .arrow {
    height: 10px;
    width: auto;
}
.link-scopri a {
    font-weight: 700
}
.link-scopri a:hover {
    color:var(--primary-color);
    opacity: 0.6;
}
.text-white .link-scopri a {
    color: #fff;
}
.text-white .link-scopri a:hover {
    opacity: 0.6;
}

/* 10) Animazioni */

/* animazione pulse */
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}