/* BOLDOSE */
/* font scritta elegante HRRO HOME  */
@import url('https://fonts.googleapis.com/css2?family=Boldonse&display=swap');
:root {
    --colore-navbar-sfondo: #0f0f0ff1;
    --colore-navbar-testo: #f7f7f7;

    --colore-footer-sfondo: #0f0f0f;
    --colore-footer-testo: #f7f7f7;

    --colore-body-sfondo: #181717;
    --colore-body-testo: #f7f7f7;

    --colore-testo-principale: #030303f1;
    --colore-testo-secondario: #f7f7f7;

    --colore-testo-hover-primario: rgb(182, 33, 13);
    --colore-testo-hover-secondario: rgb(199, 58, 23);

    --colore-link-active: #df2e17;

    --colore-gradient-scuro: linear-gradient(90deg, rgba(12,131,110,1) 0%, rgba(24,182,143,1) 33%, rgba(21,168,143,1) 100%);
    --colore-gradient-chiaro: linear-gradient(90deg, rgba(13,138,116,1) 0%, rgba(20,198,151,1) 32%, rgba(30,207,176,1) 100%);

    /* FONTS */
    --font-titoloHomeHero: "Boldonse", system-ui;
}


/* COMPONENTI - LINEE E ALTRO */
body{
background-color: var(--colore-body-sfondo);
color: var(--colore-body-testo);
}
.only-mobile{
  display: none;
}

/*###### NAVBAR #####*/
nav {
    position: fixed; /* Cambia in fixed per mantenerlo in alto */
    top: 0;          /* Allinea in alto */
    left: 0;         /* Allinea a sinistra */
    right: 0;        /* Allinea a destra (copre tutta la larghezza) */
    z-index: 1030;   /* Assicura che sia sopra altri elementi (valore comune per navbar) */
    background-color: transparent; /* Sfondo iniziale trasparente */
    color: var(--colore-navbar-testo);
    transition: background-color 0.4s ease; /* Transizione fluida per il cambio colore */
}

/* Aggiungi questa nuova regola per quando la navbar è scrollata */
nav.scrolled {
    background-color: var(--colore-navbar-sfondo); /* Applica il colore di sfondo definito nelle variabili */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Opzionale: aggiunge un'ombra leggera */
}

.nav-logo {
  width: auto;
  height: auto;
  display: flex;
}
.nav-logo img {
height: 45px;
  object-fit: contain;
}
.nav-logo h1 {
  width: 300px;
font-size: 21px;
padding-top: 22px;
padding-left: 10px;
font-family: var(--font-titoloNav);
font-weight: 550;
}

a.nav-link.active{
 /*  color: #070f7f !important; */
 font-weight: 700;
  text-transform: uppercase;
  color: var(--colore-link-active) !important;
}

a.nav-link{
  justify-content: space-around;
  margin-right: 50px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--colore-navbar-testo);
  position: relative; /* Needed for absolute positioning of the pseudo-element */
  padding-bottom: 5px; /* Add some space for the underline */
  text-decoration: none; /* Remove default underline if any */
  display: inline-block; /* Ensure proper positioning */
  font-weight: 600;
}

/* Style for the underline pseudo-element */
a.nav-link::after {
  content: '';
  position: absolute;
  width: 0; /* Start with no width */
  height: 2px; /* Thickness of the underline */
  display: block;
  margin-top: 5px; /* Space between text and underline */
  right: 0; /* Start animation from the right */
  transition: width 0.3s ease; /* Animation effect */
  -webkit-transition: width 0.3s ease;
}

a.nav-link:hover{
  color: var(--colore-testo-hover-secondario);
  /* No need to change text-decoration here */
}

/* Expand the underline on hover */
a.nav-link:hover::after {
  width: 100%;
  left: 0; /* End animation at the left */
  background: var(--colore-testo-hover-secondario);
}

a.nav-link:focus{
  color: rgb(255, 51, 0);
}

.dropdown-menu{
  background-color: var(--colore-navbar-sfondo);
  color: var(--colore-navbar-testo);
  margin-top: 15px !important;
}

.dropdown-item{
  color: white !important;
}
.dropdown-item:hover{
  background-color: var(--colore-navbar-sfondo);
  color: var(--colore-testo-hover-secondario)!important;
}


/*##### FOOTER ######*/
.site-footer {
  color: var(--colore-testo-secondario);
  background-color: var(--colore-footer-sfondo);
  padding: 24px 48px;
  padding-top: 70px;
  text-align: center;
  max-height: auto; 
}

.site-footer_container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 56px;
}

.footer_col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
}

.footer_col_title {
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid grey;
}

.footer_col.contacts {
  gap: 8px;
}

.footer_col.contacts i {
  font-size: 18px;
  margin-right: 10px;
}

.logo_container {
  width: auto;
  height: auto;
  margin-bottom: 24px;
}

.logo_container img {
  width: 110px;
  height: auto;
  object-fit: contain;
}

.icons_container i {
  color: var(--colore-testo-secondario);
  font-size: 26px;
  margin-right: 5px;
  margin-left: 5px;
}

.margin-icon {
  margin: 0 8px;
}

.menu-footer-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.menu-footer-list ul li{
 list-style-type: none;
 margin-right: 75px;
}


.site-footer a {
  color: var(--colore-link-secondario);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--colore-link-primario);
  text-decoration: none;
}

.site-info{
  text-align: center;
  color: rgb(116, 116, 116);
  font-size: 12px;
  margin-top: 40px;
  padding-bottom: 70px;
}
.site-info a{
  text-align: center;
  color: rgb(180, 180, 180);
  margin-left: 5px;
  font-size: 14px;
}
.site-info a:hover{
  text-align: center;
  color: rgb(180, 180, 180);
}

/*#### PAGINA - HOME ######*/
/*#### sezione servizi - HOME ######*/
.servizi-home{
 padding-top: 10px;
 padding-bottom: 50px;
 background-color: var(--colore-footer-sfondo);
 background-image: url('../image/obbiettivo.jpg');
 background-size: cover;
 background-repeat: no-repeat;
 background-position: center;
 background-blend-mode:multiply;
 width: 100%;
 margin-top: -50px;
}
.titolo-servizi{
  text-align: center;

}
.titolo-servizi h3{
font-family: var(--font-titoloHomeHero);
font-size: 30px;
margin-top: 40px;
}
.servizi-lavoro-home{
 display: flex;
 flex-wrap: wrap;
 justify-content: space-around;
 text-align: center;
}
.item-servizi {
width: 280px;
margin-top: 30px;
}
.item-servizi h2{
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-titoloHomeHero);
}
.item-servizi i {
  font-size: 50px;
}
.logo-home-bio{
  width: 50% !important;
}
.linea-rossa{
height: 3px;
background-color: var(--colore-testo-hover-secondario);
width: 100px;
margin: 0 auto;
margin-top: 20px;
margin-bottom: 20px
}

/*#### sezione spazio LAVORO- HOME ######*/
.lavori-home{
  background-color: var(--colore-footer-sfondo);
}
.contenitore-lavori{
display: flex;
flex-direction: column;
padding-top: 80px;
padding-bottom: 70px;
justify-content: space-around;
align-items: center; /* Vertically center children */

}
.item-lavori{
width: 100%;
text-align: center;
}
.item-lavori h3{
  font-size: 26px;
  font-weight: 500;
  font-family: var(--font-titoloHomeHero);
}

/* Nuove regole per lo slider dei lavori */
.item-lavori.schede-lavori {
  width: 80%;
}

.lavoriSwiper {
  width: 100%;
  height: 100%;
  padding: 20px 10px 40px;
}

.scheda-lavoro {
  background-color: rgba(15, 15, 15, 0.8);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  height: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(50, 50, 50, 0.5);
  margin-top: 50px;
  margin-bottom: 80px;
}

.scheda-lavoro:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.scheda-lavoro-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.scheda-lavoro-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

.scheda-lavoro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scheda-lavoro:hover .scheda-lavoro-img img {
  transform: scale(1.08);
}

.scheda-lavoro-content {
  padding: 15px;
  background-color: rgba(15, 15, 15, 0.95);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 2px solid var(--colore-testo-hover-secondario);
}

.scheda-lavoro-content h4 {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 30px !important;
  font-family: var(--font-titoloHomeHero);
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.scheda-lavoro-content .btn {
  align-self: center;
  padding: 6px 15px;
  border-radius: 2px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 1px solid var(--colore-testo-hover-secondario);
  color: var(--colore-testo-hover-secondario);
}

.scheda-lavoro-content .btn:hover {
  background-color: var(--colore-testo-hover-secondario);
  color: white;
}

.bottone-home-paglavorieblog .btn {
  align-self: center;
  padding: 6px 15px;
  border-radius: 2px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 1px solid var(--colore-testo-hover-secondario);
  color: var(--colore-testo-hover-secondario);
  margin-top: 30px;
}

.bottone-home-paglavorieblog .btn:hover {
  background-color: var(--colore-testo-hover-secondario);
  color: white;
}

/* Personalizzazione dei controlli Swiper */
.lavoriSwiper .swiper-button-next,
.lavoriSwiper .swiper-button-prev {
  color: var(--colore-testo-hover-secondario);
  background-color: rgba(0, 0, 0, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.lavoriSwiper .swiper-button-next:hover,
.lavoriSwiper .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.lavoriSwiper .swiper-button-next::after,
.lavoriSwiper .swiper-button-prev::after {
  font-size: 18px;
}

.lavoriSwiper .swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.lavoriSwiper .swiper-pagination-bullet-active {
  background: var(--colore-testo-hover-secondario);
  opacity: 1;
  width: 12px;
  height: 12px;
}


/*#### sezione spazio bio- HOME ######*/
.space-bio-home{
  background-color: rgba(8, 8, 8, 0.90);
  background-image: url('../image/smoke.jpg');
  background-blend-mode:darken;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  padding-top: 30px;
  overflow-x: hidden !important;
}
.bio-home{
display: flex;
/* flex-wrap: wrap; */
justify-content: space-around;
align-items: center; /* Vertically center children */
}
.itam-bio-home{
text-align: center;
max-width: 50%;
margin-top: -50px;
}

.itam-bio-home img{
  width: 450px;
  }

.itam-bio-home h1{
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  font-family: var(--font-titoloHomeHero);  
  margin-bottom: 50px;
}
.itam-bio-home p{
  font-size: 18px;
}
.icons_container_home{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.icons_container_home a i{
  color: var(--colore-testo-secondario);
  font-size: 35px;
  margin-right: 20px;
}
.icons_container_home a i:hover{
  color: var(--colore-link-active);
}
.bottone-bio{
  background-color: var(--colore-link-active);
}
.bottone-bio:hover{
  background-color:#0f0f0f86;
  color: var(--colore-link-active);
  border: 1px solid var(--colore-link-active);
}

/* Animazioni per la sezione bio */
.bio-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.bio-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Effetti specifici per ogni elemento */
.itam-bio-home:first-child.bio-hidden {
  transform: translateX(-50px);
}

.itam-bio-home:first-child.bio-visible {
  transform: translateX(0);
}

.itam-bio-home h2.bio-hidden {
  transform: translateY(20px);
}

.itam-bio-home .linea-rossa.bio-hidden {
  width: 0;
  transition: width 0.8s ease, opacity 0.8s ease;
}

.itam-bio-home .linea-rossa.bio-visible {
  width: 100px;
}

.itam-bio-home .btn.bio-hidden {
  transform: scale(0.8);
  transition: transform 0.6s ease, opacity 0.6s ease, background-color 0.3s ease, color 0.3s ease;
}

.itam-bio-home .btn.bio-visible {
  transform: scale(1);
}

.icons_container_home.bio-hidden {
  transform: translateY(15px);
}

.icons_container_home a i {
  transition: color 0.3s ease, transform 0.3s ease;
}

.icons_container_home a i:hover {
  transform: scale(1.2);
}

/* ## PAGINATUTTI I LAVORI ##### */
.contenuto-pagina-lavori{
text-align: center;
max-width: 80%;
}
.contenuto-pagina-lavori h2{
font-family: var( --font-titoloHomeHero);
margin-bottom: 20px;
}
.schede-lavori-pagina{
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}
.scheda-lavoro-page{
  width: 30%;
  margin-bottom: -50px;
}
.scheda-lavoro-content p{
  font-size: 12px;
  margin-top: -10px;
}

/* ## PAGINA I LAVORI SINGOLO##### */
.titolo-lavoroBlog{
font-family: var( --font-titoloHomeHero);
font-size: 25px;
line-height: 50px;
margin-bottom: 40px;
}

/* #### ASIDE ##### */
.singolo-main{
  display: flex;
   flex-wrap: wrap;
  gap: 50px;
  margin-top: 50px !important;
}
.contenuto-lavoro-blog{
width: 70%;
margin-bottom: 80px;
}
.contenuto-aside{
width: 25%;
}
.scheda-lavoro-sidebar{
  width: 100%;
  margin-bottom: 10px;
}
.scheda-lavoro-sidebar .scheda-lavoro-content{
text-align: center;
}
.scheda-lavoro-sidebar .scheda-lavoro-content h4{
font-size: 12px;
}
.scheda-lavoro-sidebar .scheda-lavoro-content a{
font-size: 10px;
}

/* ## PAGINA GALLERIA ##### */
.titolo-galleria{
font-family: var( --font-titoloHomeHero);
font-size: 25px;
text-align: center;
}
.content-galleria{
  margin-top: 100px;
}



/* ## PAGINA BIO ##### */
.pagina-bio{

}
.head-bio{
  display: flex;
  flex-wrap: wrap;
  align-items: center; 
  background-color: rgba(8, 8, 8, 0.80);
  background-image: url('../image/smoke.jpg');
  background-blend-mode:darken;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  padding-top: 30px;
   padding-left: 10%;
  padding-right: 10%;
}
.foto-bio-page{
  width: 40%;
}
.itam-bio-page{
  width: 60%;
  align-items: center;
}
.logo-pag-bio {
  width: 180px !important;
  display: block;        /* Necessario per far funzionare il margin auto */
  margin: 0 auto;  /* Centra orizzontalmente e aggiunge spazio sotto */
  /* margin-top: 30px; */
}
.img-bio-lupi{
  width: 450px;
   display: block;        /* Necessario per far funzionare il margin auto */
  margin: 0 auto;
}
.sessione-bio-skills{
  margin: 0 auto;
  width: 50%;
  margin-bottom: 80px;
}
.servizi-lavoro-bio{
 display: flex;
 flex-wrap: wrap;
 text-align: center;
 justify-content: center;

 margin: 0 auto;
}
.bio-icon-social{
  margin-top: -10px;
  margin-bottom: -20px;
  justify-content: center;
  /* border: 1px solid yellow; */
  margin-left: 30px;
}
.bio-icon-social a{
 justify-content: center;
/*  margin-left: 20px; */
}
.separatore-arancione-bio{
  width: 100%;
  height: 2px;
  background-color: var(--colore-link-active);
  margin-bottom: 30px;
}
.item-servizi-bio{
width: 25%;
} 
.item-servizi-bio i{
  font-size: 35px;
  font-weight: 300;
}
.item-servizi-bio h2{
  font-size: 14px;
  font-weight: 300;
  font-family: var(--font-titoloHomeHero);  
  line-height: 23px;
    margin-bottom: -10px !important;
}
.pagina-bio-titolo{
  margin-top: 50px;
}
.pagina-bio-titolo h2{
  font-size: 30px;
  font-weight: 300;
  text-align: center;
  font-family: var(--font-titoloHomeHero);  
  line-height: 40px;
    margin-top: 30px;
}
.pagina-bio-content{
  width: 50%;
  text-align: center;
  font-size: 16px;
  margin-top: 30px;
}