@import url('https://fonts.googleapis.com/css2?family=Abel&family=Mulish:wght@700;800;900;1000&family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiko:wght@400;600;700&display=swap');

/* GLOBAL STYLES */

* {
    margin: 0;
    box-sizing: border-box;
}

p {
    font-family: "Abel", sans-serif !important;
    text-align: justify;
}

a {
    text-decoration: none !important;
    color: black !important;
    transition: all 0.1s ease-in;
    font-family: "Abel", sans-serif !important;
}

.social_footer {
    color: white !important;
}

.nav_link:hover {
    filter: contrast(0.2);
    transition: all 0.2s ease-in;
}

.main_header {
    padding: 25px 0;
    box-shadow: 0px 0px 6px 0px #00000021;
    position: fixed;
    z-index: 999;
    background: white;
    width: 100%;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.main_nav {
    display: flex;
    align-items: center;
    /* justify-content: center; Removido para permitir o alinhamento ao centro usando flex*/
    gap: 20px;
    font-size: 1.1em;
    font-family: "Open Sans", sans-serif;
    margin-bottom: 0px;
    padding: 0px;
    width: 100%;
    flex: 1;
}

.main_header nav .main_nav > a {
    margin: 0 10px;
}

.main_header nav .main_nav > div {
    display: flex;
    align-items: center;
    gap: 20px; /* Adicionado para espaçamento entre os grupos */
}

.main_header nav .main_nav > div:first-child {
    margin-right: 0px;
}

.main_header nav .main_nav > div:last-child {
    margin-left: 40px;
}

.nav_links {
    list-style: none;
    display: flex;

}
.nav_links a{
    margin: 0 10px;
}


/* INDEX PAGE */

.main_banner {
    position: relative;
    top: 82px !important;
}

.historia_container {
    margin-top: 160px;
    margin-bottom: 70px;
}

.content_container {
    padding: 0px 130px;
}

.h2_title {
    font-size: 47px;
    font-family: "Abel", sans-serif;
    font-weight: 800;
    margin-bottom: 15px;
}

.p_text {
    font-size: 18px;
    line-height: 1.9;
}

.equipa_container {
    background-image: linear-gradient(to bottom, #fafafa, #f0f0f0); /* Gradiente acinzentado */
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 90px;
}

.equipa_title {
    font-size: 47px; 
    font-family: Abel, sans-serif; 
    text-align: center;
    font-weight: 800;
    margin-bottom: 30px;
}

.equipa_text {
    font-family: Abel, sans-serif;
    text-align: justify;
}

.destaques_container {
    margin-top: 110px;
}

.destaques_text {
    font-size: 26px; 
    font-family: Abel, sans-serif;
}

.projetos_container {
    margin-top: 70px;
}

.imagem {
    height: 350px;
    background-position: center;
    background-size: cover;
    transition: transform .4s;
    cursor:pointer;
    position: relative; 
    z-index: 3;
}

.icon_hover {
    opacity: 0;
    transition: all 0.3s ease-in;
    color: black; 
    font-size: 30px;
    transform: rotate(45deg);
}

.list_projeto_icon_hover {
    opacity: 0;
    transition: all 0.3s ease-in;
    color: black; 
    font-size: 30px;
}

#img-menu:hover > .icon_hover {
    opacity: 1;
    transition: all 0.3s ease-in;
    z-index: 1 !important;
}

#img-menu:hover > .list_projeto_icon_hover {
    opacity: 1;
    transition: all 0.3s ease-in;
    z-index: 1 !important;
}

#img-menu{
    cursor: pointer;
    transition: all 0.3s ease-in;
    display: flex;
    justify-content: center;
    align-items: center;
}

#img-menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    transition: all 0.3s ease-in;
}

#img-menu:hover{
    transition: all 0.3s ease-in;
}

#img-menu:hover::after {
    opacity: 0.9;
    transition: all 0.3s ease-in;
}

.btn_container {
    display: flex;
    justify-content: center;
}

.btn_projetos {
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
    text-align: center;
    margin-bottom: 90px;
    border: 2px solid black;
    padding: 10px 15px;
    position: relative;
    transition: all 0.2s ease-in;
    cursor: pointer;
}

.btn_projetos:hover {
    background-color: #ededed;
    border: 2px solid #ededed;
    padding-right: 40px;
    transition: all 0.2s ease-in;
}

.btn_projetos:hover + .btn_icon {
    opacity: 1;
    transition: all 0.2s ease-in;
}

.btn_icon {
    opacity: 0;
    position: relative;
    top: 18px;
    left: -30px;
    transition: all 0.2s ease-in;
}

.servicos_container {
    background-image: linear-gradient(to bottom, #fafafa, #f0f0f0); /* Gradiente acinzentado */
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 40px;
}

.servicos_title {
    font-size: 26px;
    font-family: "Abel", sans-serif;
    text-align: center;
    border: 2px solid black;
}

.servicos_text {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
}

body {
    display: flex;
    flex-direction: column; 
    margin: 0; 
}


.content-wrapper { 
    flex: 1; 
}

html, body{
    font-size: 100%;
	background:	#fff;
	font-family: 'Quicksand', sans-serif;
  height: 100%;
}

.main_footer {
    background-color: black;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    bottom:0; 
}

.footer_text {
    font-family: "Open Sans", sans-serif; 
    margin-bottom: 0px; 
    font-weight: 200;
}

.social_container {
    font-size: 20px;
    display: flex;
    gap: 20px;
}

/* PROJETOS PAGE */

#single_image {
    height:100%;
    width:100%;
    position:relative;
}

.filtro_container {
    position: relative;
    top: 155px;
    display: flex;
    justify-content: center;
    font-family: "Abel", sans-serif;
    font-size: 17px;
    flex-wrap: wrap;
}

.filtro_text {
    border: 1px solid #e2e2e2;
    padding: 5px 15px;
    cursor: pointer;
    user-select: none;
}

.filtro_text:hover {
    background-color: #f4f4f4;
}

.active {
    text-shadow: 1px 0px 0px black;
    background-color: #f9f9f9;
}

.list_projetos_container {
    margin-top: 215px;
}

.projeto_title {
    font-family: "Abel", sans-serif;
    margin-top: 0px;
    margin-bottom: 85px;
    font-size: 20px;
    letter-spacing: 2px;
}

/* DETALHE PROJETOS PAGE */

.image_collection {
    max-width: 100%;
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.single_image {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
}

.active_image {
    opacity: 1 !important;
}

#detalhe_img {
    cursor: pointer;
    transition: all 0.3s ease-in;
}

.single_image:hover .arrow_left {
    left: 2%;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.single_image:hover .arrow_right {
    right: 2%;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.arrow_left {
    z-index: 4;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: -8%;
    opacity: 1;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    background: #000000a1;
    color: white;
    padding: 10px;
    border-radius: 10px;
}

.arrow_right {
    z-index: 4;
    font-size: 30px;
    position: absolute;
    top: 50%;
    right: -8%;
    opacity: 1;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    background: #000000a1;
    color: white;
    padding: 10px;
    border-radius: 10px;
}

.dots_container {
    position: relative;
    top: -10%;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    font-size: 10px;
    color: #fff;
    transition: all 0.3s ease-in;
}

.active_dot {
    color: black;
    transition: all 0.3s ease-in;
}

.detalhe_projeto_text_container {
    font-family: "Abel", sans-serif;
    letter-spacing: 1.5px;
    padding-top: 15px;
    padding-left: 15px;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    height: 100%;
}

.detalhe_projeto_title {
    font-size: 47px;
    margin-bottom: 5px;
    line-height: 1;
    margin-left: -2px;
}

.detalhe_cat_text {
    position: relative;
    top: -0.5em;
}

.detalhe_text {
    font-size: 25px;
    margin-top: 20px;
}

.detalhe_strong {
    text-shadow: 1px 0px 0px black;
    font-size: 0.7em;
}

/* CONTACTOS PAGE */
.contatos_text_container {
    font-family: "Abel", sans-serif;
    letter-spacing: 1.5px;
    padding-top: 15px;
    padding-left: 150px;
    padding-right: 75px;
}

.contactos_title {
    font-size: 47px;
    margin-bottom: 80px;
}

.contacto_input {
    width: 100%;
    padding: 10px 0px 10px 10px;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-family: "Amiko", sans-serif;
}

.contacto_textarea {
    width: 100%;
    padding: 10px 0px 10px 10px;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 5px;
    font-family: "Amiko", sans-serif;
}

.btn_contato_submit {
    background-color: black;
    position: relative;
    outline: none;
    border: none;
    color: white;
    letter-spacing: 5px;
    font-size: 15px;
    padding: 8px 15px 8px 15px;
    transition: all 0.3s ease-in;
    font-family: "Amiko", sans-serif;
    margin-top: 15px;
}

.btn_contato_submit:hover {
    padding-right: 35px;
}

.btn_contato_submit:hover + .enviar_icon {
    opacity: 1;
}

.enviar_icon {
    position: relative;
    left: -5%;
    top: 24.8px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease-in;
}

.contactos {
    font-family: "Amiko", sans-serif;
    margin-bottom: 0px;
}

.span_contactos {
    font-size: 0.6em;
    position: relative;
    top: -1em;
}

.swal2-confirm {
    background-color: black !important;   
}

.swal2-confirm:focus {
    box-shadow: unset !important;   
}

.legais_container {
    display: flex;
    justify-content: center; 
    align-items: center;
}

.legais_links {
    color: #ffffffab !important; 
    margin: 5px;
    font-size: 0.8em;
    font-family: "Open Sans", sans-serif;
}


.map-responsive {
    overflow: hidden;
    padding-bottom: 65%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.row_mobile_contactos {
    position: relative;
    top: 114px;
    margin-bottom: 270px;
  }
  


/* MEDIA QUERIES */

@media only screen and (max-width: 980px) {
    .nav_links {
        display: none;
    }

    .mobile_nav_lang_buttons {
        display: flex !important;
      }

    .mobile_img_header {
        width: 12% !important;
    }

    .main_header {
        display: flex;
        align-items: center;
        padding: 5px 20px 5px 20px;
    }

    .main_nav {
        padding-left: 68px;
    }

    .arrow_right {
        right: 2%;
    }

    .arrow_left {
        left: 2%;
    }

    .arrow_right:hover {
        transform: unset;
    }

    .arrow_left:hover {
        transform: unset;
    }

    .mobile_nav {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.05);
        padding: 5px 10px;
        border-radius: 5px;
        font-family: "Open Sans", sans-serif;
        height: 30px;
    }

    .mobile_nav_text {
        margin-bottom: 0px;
        font-size: 13px;
    }

    .mobile_nav_links_container {
        display: block !important;
        position: absolute;
        background-color: white;
        width: 80%;
        left: 10vw;
        top: 103%;
        font-size: 13px;
        font-family: "Open Sans", sans-serif;
        padding: 30px 30px 10px 30px;
        overflow: hidden;
        transition: all 0.3s ease-in;
        height: 250px;
    }

    .closed {
        transition: all 0.3s ease-in;
        height: 0px !important;
        padding-bottom: 0px !important;
        padding-top: 0px !important;
    }

    .main_banner_img {
        object-fit: cover;
    }
    .main_banner {
        top: 40px !important;
    }

    .content_container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .equipa_text {
        font-size: 22px;
    }

    .destaques_text {
        font-size: 18px;
    }

    .main_footer {
        flex-direction: column-reverse;
    }

    .contactos_title {
        font-size: 30px;
    }

    .contatos_text_container {
        padding-top: 155px;
        padding-left: 45px;
        padding-right: 45px;
    }

    .contactos_desktop {
        display: none;
    }

    .contactos_mobile {
        display: block !important;
        text-align: center;
    }

    .row_mobile_contactos {
        margin-bottom: 110px !important;
    }

    .contactos {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .legais_container {
        margin: 15px;
    }

    .legais_links {
        margin: 2px;
    }
     #contatos_col, #mapa_col {
            width: 100% !important;
            flex: 0 0 100% !important;
            max-width: 100% !important;
        }
        .row_mobile_contactos {
            top: 0px !important;
      }
}

@media only screen and (max-width: 768px) {
    .main_banner_img {
        display: none;
    }

    .main_banner_img_mobile {
        display: block !important;
    }

    .main_banner {
        top: 40px !important;
    }
}

@media only screen and (max-width: 767px) {
    .row_special {
        top: 65px !important;
    }

    .h2_title {
        margin-top: 25px;
    }
}

@media only screen and (max-width: 600px) {
    .mobile_img_header {
        width: 18% !important;
    }
}




