
/************************************************** SEZIONI */
.header-section{
    max-width: 800px;
    margin: 150px 20px 20px 20px;
}

/****************************** hero */
.sec-hero{    
    min-height: 100vh; width: 100%;
    display: grid; 
    align-items: center; 
    justify-items: center;

    background: var(--bg-hero) ;
    border-bottom: 0.5px solid #f2f2f3;
}
.sec-hero .container{
    min-width: 400px; 
    max-width: 800px;
}
.sec-hero h1{
    font-size: 4rem;
    font-weight: 800;
    line-height: 3rem;
    margin-bottom: 20px;
    text-shadow: 5px 0 15px rgba(89, 89, 89, 0.220);
}
.sec-hero p{
    font-size: 1.1rem;
    font-weight: 400;
}


/****************************** about */
.sec-about{
    background: var(--bg-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--margin-top) 20px;
    gap: 20px;
}
.sec-about h2{
    width: 100%;
    text-transform: uppercase; 
    font-size: 1.2rem; 
    letter-spacing: 2.2px;
    font-weight: 700; 
    color: var(--accent-start);
}

.sec-about .container {
    width: 80%;
    max-width: 1000px;
    border: 0px solid #000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sec-about .box {
    min-height: 120px;
    flex: 1;

    padding: 12px;
}
.sec-about .container .row {
    display: flex;
    gap: 40px;
}
.sec-about .foto-profilo{
    height: 350px;
    border-radius: 100%;
    border: 15px solid #ffffff;
    box-shadow: 10px 0 20px rgba(77, 77, 77, 0.2);
    transition: 1.5s ease-in-out ;
}
.sec-about .foto-profilo:hover{
    box-shadow: 10px 0 20px rgba(77, 77, 77, 0.4);
    transition: 0.4s ease-in-out ;
}


/****************************** services */
.sec-services{
    background: var(--bg-grey) ;
    display: flex;
    flex-direction: column;
    align-items: center;
        padding: var(--margin-top) 20px;

    gap: 20px;
}
.sec-services .container {
    width: 80%;
    max-width: 1000px;
    border: 0px solid #000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    transition: 0.3s ease-in-out ;

}
.sec-services .box {
    min-height: 120px;
    flex: 1;
    padding: 12px;

    transition: 0.3s ease-in-out ;
}
.sec-services .container .row {
    display: flex;
    gap: 16px;
    gap: 40px;

}
.sec-services h2{
    width: 100%;
    text-transform: uppercase; 
    font-size: 1.2rem; 
    letter-spacing: 2.2px;
    font-weight: 700; 
    color: var(--accent-start);
}

.sec-services .container .card {
    flex: 1;
    min-height: 120px;
    border-radius: 20px;
    border: 0.5px solid var(--accent-rev-end);
    padding: 25px;

    transition: 0.8s ease-in-out ;
}
.sec-services .container .card:hover{
    background: #f0f0f0; 
    border: 1.5px solid var(--accent-rev-end);
    box-shadow: 10px 0 20px rgba(77, 77, 77, 0.22);

    transition: 0.2s ease-in-out ;
}

.sec-services .tx-card{
    padding-top: 20px; 
    font-size: 0.9rem;
    line-height: 1.8rem;
}

.sec-services ul {
    list-style: none;
}

.sec-services h4{
    padding-bottom: 10px;
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 2.2px;
}

.sec-services li {
    padding-bottom: 5px;
    font-size: 0.9rem;
    color: var(--tx-dark);
    position: relative;
    padding-left: 20px;
}

.sec-services li::before {
    content: '•';
    position: absolute;
    left: 0;
}

/****************************** contatti */
.sec-contatti {
  width: 100%; min-height: 100vh;
  background: var(--bg-dark);
  color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.contatti-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    width: 80%;
    max-width: 1200px;
}

/* Colonna sinistra */
.contatti-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  gap: 16px;

  border-right: 0.5px solid var(--tx-dark);
  padding-right: 50px;
}

.contatti-left h2 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 2.2px;
}

.contatti-left p {
  font-size: 1.4rem;

  line-height: 1.8;
  opacity: 0.85;
}

/* Divisore verticale */
.contatti-divider {
  width: 1px;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* Colonna destra */
.contatti-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contatti-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: #171d19;
  border-radius: 24px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.contatti-icon:hover {
  background-color: #232c26;
  transform: scale(1.05);
}

.contatti-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}


/****************************** skills */
.sec-skills{
    width: 100%; min-height: 100vh;
    background: var(--bg-dark);
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--margin-top) 20px;
    gap: 20px;
}

.sec-skills .container{
    width: 70%;
    max-width: 1000px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sec-skills h2{
    width: 100%;
    text-transform: uppercase; 
    font-size: 1.2rem; 
    letter-spacing: 2.2px;
    font-weight: 700; 
    color: var(--accent-start);
}
.sec-skills .ico-skill{
    height: 60px;
    margin: 20px;
}
.sec-skills {
    width: 100%;

    display: flex;
    justify-content: center;
}

.sec-skills .icone-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 1000px;
}

.sec-skills .icona-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sec-skills .icona-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.icona-item h3 {
    text-align: center;
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 2.2px;
    color: var(--tx-main);
}


/* Responsive */
@media (max-width: 768px) {

  }


/****************************** footer */
.footer {
    min-height: 25px;
    padding: 2px;
    font-size: 0.8rem;
    background: #000;
    color: var(--tx-dark);
    text-align: center;
}


/************************************************** RESPONSIVE */
/***************************************************************/

.xxb{border: 1px solid red;}

@media (max-width: 900px) {
    .sec-hero .container{
        width: 80%;
    }

    .sec-about .container{
        width: 95%;
    }
    .sec-about .row {
        flex-direction: column;
    }.sec-about .card {
        width: 100% !important;
        min-height: 100px;

        transition: 0.3s ease-in-out ;
    }
    .sec-services .container{
        width: 95%;
        transition: 0.3s ease-in-out ;
    }
    .sec-services .row {
        flex-direction: column;
        transition: 0.3s ease-in-out ;
    }.sec-services .card {
        width: 100% !important;
        transition: 0.3s ease-in-out ;
        min-height: 100px;
    }

    .contatti-container {
        flex-direction: column;
        width: 95%;
        gap: 40px;
    }
    .contatti-left h2 {
        font-size: 2.8rem;
    }
    .contatti-left p {
        font-size: 1.2rem;
    }
    .contatti-left {
        border-right: 0px solid var(--tx-dark);
        text-align: center;

    }
    
  }