@import url('./base.css');

/*HEADER E NAVBAR*/
.header-container{
    height: 70vh;
    background-image: url("../images/jpg/index_background-min.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center 10%;
}

.nav-link{
    font-size: 2vw;
    color: white;
    font-weight: 600 !important;
}

.nav-link.dark{
    color: var(--secundary-color);
}

.navbar-nav .nav-item {
    margin-right: 5rem; /*spazio tra i link*/
}

.header-title-container{
    color: white;
}

.header-title-container.dark{
    color: var(--secundary-color);
}

.header-title{
    font-size: 6vw;
    font-weight: bold;
}

.header-subtitle,
.header-description{
    font-size: 1.5vw;
}

.header-subtitle{
    margin-top: -2rem;
    margin-left: 1rem;
}
#logo{
    max-width: 93px;
}
/*DESCRIPTION*/
.description-container{
    min-height: 15vh;
    background-color: var(--primary-color);
    color: var(--secundary-color);
    padding: 8rem 6rem;
    overflow: hidden;
}

.menu-top-container{
    background-color: var(--primary-color);
    font-size: 2vw;
}

.menu-top-item,
.menu-top-separator{
    color: var(--secundary-color);
    text-decoration: none;
}

.menu-top-separator {
    margin: 0 1.5rem;
}

.description-text{
    font-size: 2.5vw; 
}

.contact-description-container{
    margin-top: 3rem;
}

.line{
    max-width: 119px;
    height: 2px;
    background-color: var(--secundary-color);
    margin-right: 1rem;
}

.line.description{
    margin-left: 1rem;
}

.contact-text{
    font-size: 1.5vw;
    color: var(--secundary-color);
    text-decoration: none;
}

.contact-bottom-container.mobile{
    display: none;
}

.contact-bottom-container{
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--primary-color);
    color: var(--secundary-color);
}

.contact-bottom-text{
    font-size: 2vw;
}

.contact-bottom-link{
    text-decoration: none;
    font-weight: bold;
    font-size: 2.2vw;
    color: var(--secundary-color);
}


/*SERVICES*/
.service {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    color: white;
    z-index: 1;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
}

.service-title {
    font-size: 1.8rem;
    display: flex;
}

.service-image{
    object-fit: cover;
    width: auto;
    height: 600px;
}

.service-text {
    font-size: 1.4rem;
    display: none; /* Nasconde il testo di default */
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Aggiunge una transizione per un effetto più fluido */
}

.service:hover .service-text {
    display: block; /* Mostra il testo al passaggio del mouse */
    opacity: 1;
}

/*PARTNERS*/
.partner-container{
    padding-top: 5rem;
    background-color: var(--primary-color);
}

.partner-item {
    text-align: center;
}

.partner-title{
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.partner-logo {
    max-width: 100px; /* Regola la dimensione del logo */
    height: auto;
    margin-bottom: 1rem;
}

.partner-link{
    color: var(--secundary-color);
    text-decoration: none;
}

/*CONTACT*/
.contact-container-mobile{
    padding: 2rem 0 3rem 0;
    display: none;
}
.contact-container {
    padding: 8rem 4rem 5rem 4rem; /*top right bottom left*/
    background-color: var(--primary-color);
}

.contact-title {
    font-size: 2.5rem;
    color: var(--secundary-color);
}

.contact-subtitle {
    font-size: 1.8rem;
    color: var(--secundary-color);
}

.form-control {
    border: 2px solid var(--secundary-color) ;
    font-size: 1.5vw;
    background-color: var(--primary-color);
    font-weight: lighter;

}

/*FOOTER*/
.footer-container{
    background-color: var(--secundary-color);
    color: var(--primary-color);
}

.footer-link{
    text-decoration: none;
    color: var(--primary-color);
}

.footer-separator{
    background-color: var(--primary-color);
    width: 50vw; /* Larghezza della linea (puoi regolare il valore) */
    margin: 1rem auto; /* Centratura orizzontale */
}