/*
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=Gelasio:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* 2) Variabili */

:root {
    
    --main-font:'Gelasio', sans-serif;
    --alt-font:"Roboto", serif;
    --fa-font-solid: normal 900 1em/1 'Font Awesome 6 Free';
    
    --primary-color:#0B2430;
    --secondary-color:#126473;
    --background-color:#fff;  
    --custom-green:#00957C;
    --custom-blue:#145B7D;
    --custom-purple:#652C44;
    --custom-gray:#707070;
    --bg-gray:#ECF0F3;
    --pop-color:#EEFF00;
    --link-hover-color:#126473;
    
    --section-padding:120px;
    --custom-radius:20px;
    --btn-radius:0 5px 5px 0;
    --btn-padding: 0.7rem 1rem;
}


/* 3) Fondamenta (html, body) */

html {
    font-size: 18px; /* Definisci la 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;
}


/* 4) Tipografia (titoli, paragrafi, link) */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.9rem;
      color:var(--secondary-color);
}

h3 {
    font-size: 1.2rem;
    color:var(--secondary-color);
}

h4{
    color:var(--secondary-color);
}

h5{
    color:var(--secondary-color);
    font-size: 1.1rem;
}

h6{
    font-size: 1rem;
    color:var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-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.3rem;
    line-height: 1.4;
}

.bold{
    font-weight: 700;
}

.italic{
    font-style: italic;
}


/* 5) Componenti (bottoni, moduli, ecc.) */

.navbar-brand .logo{
    max-width:200px;
}

.offcanvas-body{
    padding-left:0px;
    padding-right:0px;
}

.navbar-toggler {
    border: unset;
}

.navbar-toggler:focus {
    box-shadow:unset;
}

.navbar-nav{
    padding-left:0px!important;
    padding-right: 0px!important;
}

.nav-item{
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ffffff38;
    padding-right: var(--bs-offcanvas-padding-x);
    padding-left:var(--bs-offcanvas-padding-x);
}

.nav-link{
    font-family: var(--alt-font);
    text-transform: uppercase;
}

.dropdown-toggle::after { 
    border: none !important; 
    margin-left: 2re,;
    font: var(--fa-font-solid)!important;
    content: "\f078" !important; 
    color:  var(--pop-color);
    font-size: 1.3rem!important;
    transition: all 0.3s ease-in-out;
}

.dropdown-toggle.show::after { 
    rotate: -180deg;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu{
    background-color: transparent;
    border: unset;
}

.dropdown-item{
    font-family: var(--alt-font);
    color: white;
}

.footer-dark{
    background-color: var(--primary-color);
}

.footer-dark .border-bottom{
    border-color:#ffffff38; 
}

.footer-dark .logo{
    width: 180px;
}

.footer-dark, .footer-dark p, .footer-dark a{
    color: white;
    font-family: var(--alt-font);
    font-size: 14px;
}

.custom-button, .custom-button-transparent,.custom-link {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
     padding: var(--btn-padding);
}

.custom-button {
    background-color: var(--pop-color);
    color: var(--primary-color);
    border: none;
}

.custom-button-transparent {
    background-color: transparent;;
    color: var(--primary-color);
    border: 1px solid var(--primary-color); 
}

.custom-button i, .custom-button-transparent i, .custom-link i {
    font-size: 1.5rem;
}

.custom-button i{
    color:var(--primary-color);
}

.custom-button-transparent i{
    color:var(--pop-color);
}

.custom-button:hover, .custom-button-transparent:hover {
    transform: translateY(0.10rem);
    transition: all 0.3s ease-in-out;
    background-color:var(--primary-color);
    color: white;   
}

.custom-button:hover i, .custom-button-transparent:hover i {
    color:var(--pop-color);  
}

.custom-link{
    color:var(--primary-color);
    padding: 0.3rem 0.5rem;
}
.custom-link i{
    color:var(--pop-color);
    transform: translateY(0) translateX(0);
    transition: all 0.3s ease-in-out;
}

.custom-link:hover i{
    transform: translateY(0) translateX(0.20rem);
    transition: all 0.3s ease-in-out;
}

.carousel-indicators [data-bs-target] {
    background-color: black;
    width: 6px;
    height: 6px;
    border-radius: 100%;   
}

.carousel-indicators .active {
    width: 10px;
    height: 10px;
}

.carousel-indicators {
    align-items:center;
}

section{
    padding-top:var(--section-padding);
    padding-bottom:var(--section-padding);
}

.half-section{
    padding-top:calc(var(--section-padding)/2);
    padding-bottom:calc(var(--section-padding)/2);
}

ul.pin-list{
    padding-left: 0rem;
    list-style: none;
}

 .pin-list li {
    margin-bottom: 1rem;
    background: url(/wp-content/themes/fondazione/assets/img/pin-icon.svg) no-repeat left 20%;
    background-size: 0.7rem;
    padding: 0px 0 3px 24px;
}

.breadcrumb, .breadcrumb a, .breadcrumb p{
    font-size: 12px;
}
/* 6) Colori e background */

body {
    background-color: var(--background-color);
    color: var(--primary-color);
}

a {
    color: var(--secondary-color);
}

a:hover {
    color: var(--link-hover-color);
}

.color-primary{
    color:var(--primary-color);
}

.color-secondary{
    color:var(--secondary-color);
}

.color-pop{
    color:var(--pop-color);
}

.color-green{
    color: var(--custom-green);
}

.color-blue{
    color: var(--custom-blue);
}

.color-purple{
    color: var(--custom-purple);
}

.color-gray{ 
    color: var(--custom-gray);    
}

.bg-dark{
    background-color:var(--primary-color);
}

.bg-secondary{
    background-color:var(--secondary-color)!important;
}

.bg-pop{
    background-color:var(--pop-color);
}

.bg-green{
    background-color: var(--custom-green);
}

.bg-blue{
    background-color: var(--custom-blue);
}

.bg-purple{
    background-color: var(--custom-purple);
}

.bg-gray{
    background-color: var(--bg-gray);
}

.text-bg-dark {
    color: #fff !important;
    background-color: #0B2430 !important;
}

.text-bg-dark .offcanvas-body .navbar-nav .nav-link.active, .navbar-nav .nav-link {
    color: #fff!important;
}

/* 7) Sizing */

.min-vh-30{
    min-height:30vh;
}

.min-vh-40{
    min-height:40vh;
}

.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-section{
    min-height:50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-section h1{
    color: white;
    font-weight: 700;
}

.card{
    border-radius: 0 var( --custom-radius) var( --custom-radius) 0;
    min-height: 300px;
    position: relative;
    transform: translateY(0);
    box-shadow: 1px 1px 43px rgba(0, 0, 0, 0.05);
    border: transparent;
    transition: all 0.3s ease-in-out;
}

.card-archive-attivita{
    border-radius: 0 var( --custom-radius) var( --custom-radius) 0;
    transform: translateY(0);
    box-shadow: 1px 1px 43px rgba(0, 0, 0, 0.05);
    border: transparent;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.card:hover, .card-archive-attivita:hover{
    transform: translateY(-0.15rem);
    box-shadow: 0 0.15rem 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.card .icon{
    position: absolute;
    height: 50px;
    width:50px;
    object-fit: contain;
    right:10%;
    bottom:10%;
}

.card-archive-attivita .icon{
    height: 50px;
    width:50px;
    object-fit: contain;
    margin:auto auto 1rem auto;
}

.card-archive-attivita .content{
    height: 100%;
    width: 75%;
    padding: 1rem;
}

.card-archive-attivita .content p{
    font-size: 15px;
    line-height: 22px;
}

.custom-radius{
    border-radius: 0 var( --custom-radius) var( --custom-radius) 0;
}

ul.cat-ricordi{
    list-style: unset;
}

ul.cat-ricordi li{
    background-color: var(--bg-gray);
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--alt-font);
    list-style: none;
    padding: var(--btn-padding);
    margin-bottom: 1.5rem;
    transform: translateY(0);
    box-shadow: 1px 1px 43px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

ul.cat-ricordi li:hover{
    transform: translateY(-0.15rem);
    box-shadow: 0 0.15rem 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

ul.cat-ricordi li a{
    display: flex;
    justify-content: space-between;
}

ul.cat-ricordi li a img{
    width:30px;
    height: 30px;
    object-fit: contain;
    object-position: center;
    margin-left: auto;
}

ul.cat-ricordi li.active{
    background-color: var(--pop-color);
}

ul.footer-menu{
    list-style: unset;
    padding: 0px;
}

ul.footer-menu li{
    list-style: none;
    text-transform: uppercase;
}

.home-hero-slider{
    height:80vh;
}

/* 10) Animazioni */