@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap');

:root {
    --color-neutral-0: #0e0c0c;
    --color-neutral-10: #171717;
    --color-neutral-30: #a8a29e;
    --color-neutral-40: #f5f5f5;

}

* {
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    letter-spacing: 1px;
}

header {
    background-color: var(--color-neutral-40);
    position: sticky;
    top: 0;
    z-index: 999;
    
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 6rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: transparent;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    font-size: 1.17rem;
    color: var(--color-neutral-0);
    font-size: 1.125rem;
    font-weight: bold;
    transition: all 0.4s;
}

.nav-link:hover {
    color: var(--color-neutral-30);
}

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

.login-button button {
    border: none;
    background-color: #374029;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 5px;
}

.login-button button a {
    text-decoration: none;
    justify-content: center;
    color: #fff;
    font-weight: 500;
}

.mobile-menu-icon {
    display: none;
}

.mobile-menu {
    max-height: 0;
    /* Esconde o menu */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    /* Transição suave */
}

@media screen and (max-width: 900px) {
    .nav-bar {
        padding: 1.5rem 4rem;
    }

    .nav-item {
        display: none;
    }

    .login-button {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .mobile-menu-icon button {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }

    .mobile-menu .nav-item {
        display: block;
        padding-top: 1.2rem;
    }

    .mobile-menu .login-button {
        display: block;
        padding: 1rem 2rem;
    }

    .mobile-menu .login-button button {
        width: 100%;
    }

    .open {
        max-height: 300px;
    }
}

main {
    height: 100vh;
    background-image: url(../img/Porto.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 20px 20px 30px #000000;
    width: 100%;
    color: var(--color-neutral-40);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 2rem;
}

.slider {
    position: relative;
    width: 900px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.slides {
    display: flex;
    width: 100%;
    transition: margin-left 0.5s ease-in-out;
}

.slides input {
    display: none;
}

.slide {
    min-width: 100%;
    /* Cada slide ocupa 100% do container */
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta as imagens sem deformar */
}

.manual-navigation {
    position: absolute;
    width: 900px;
    margin-top: -120px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.manual-btn {
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child) {
    margin-right: 30px;
}

.manual-btn:hover {
    background-color: #fff;
}

#radio1:checked~.first {
    margin-left: 0;
}

#radio2:checked~.first {
    margin-left: -100%;
}

#radio3:checked~.slides {
    margin-left: -200%;
}

#radio4:checked~.slides {
    margin-left: -300%;
}

.main_empresa {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.main_empresa>div {
    background-color: #eeeded;
    /* Fundo branco nos blocos */
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: #202020;
    /* Cor do texto */
}

.main_empresa::-webkit-scrollbar {
    display: none;
}

h1 {
    font-size: 1.5rem;
    color: #5E7349;
    margin-bottom: 1rem;
}


p {
    font-size: 1rem;
    line-height: 1.5;
}



.main_servico {
    display: grid;
    gap: 3rem;
    padding: 3rem;
    max-width: 80%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    overflow-y: scroll;
}

.main_servico::-webkit-scrollbar {
    display: none;
}

.main_servico div {
    background-color: #eeeded;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: flex-start;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: #202020;

}

.main_servicos_content h3,
h1 {
    text-align: center;
}

.main_servico ul {
    padding-top: 1rem;
    padding-left: 2rem;
}

.main_about {
    display: grid;
    gap: 3rem;
    padding: 3rem;
    max-width: 80%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    overflow-y: scroll;
}

.main_about div {
    background-color: #eeeded;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: flex-start;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: #202020;
}

.main_about_content p {
    text-align: justify;
    padding: 0.5rem;
}

.main_about_content h2 {
    font-size: 1.5rem;
    color: #5E7349;
    margin-bottom: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.main_about::-webkit-scrollbar {
    display: none;
}

@media screen and (max-width: 900px) {
    .main_empresa {
        grid-template-columns: 1fr;
        /* Alinha os blocos em coluna */
        gap: 2rem;
        height: 200vb;
        overflow-x: scroll;
    }
}

footer {
    width: 100%;
    color: var(--color-neutral-40);
}

.footer-link {
    text-decoration: none;
}

#footer_content {
    background-color: #303f22f5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 3.5rem;
}

#footer_contacts h1 {
    display: flex;
    align-items: center;
    margin-left: 3.50rem;
    margin-bottom: 0.75rem;
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    color: var(--color-neutral-40);
    border-radius: 50%;
    transition: all 0.4s;
}

#footer_social_media .footer-link i {
    font-size: 1.25rem;
}

#footer_social_media .footer-link:hover {
    opacity: 0.8;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

#facebook {
    background-color: #4267b3;
}

#whatsapp {
    background-color: #25d366;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-list .footer-link {
    color: var(--color-neutral-40);
    transition: all 0.4s;
}

.footer-list .footer-link-about {
    color: var(--color-neutral-40);
}

.footer-list .footer-link:hover {
    color: var(--color-neutral-30);
}

#footer_maps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#footer_maps p {
    color: var(--color-neutral-30);
}

#input_group {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-neutral-0);
    border-radius: 4px;
}

#input_group input {
    all: unset;
    padding: 0.75rem;
    width: 100%;
}

#input_group button {
    background-color: #7f37c9;
    border: none;
    color: var(--color-neutral-40);
    padding: 0px 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    transition: all 0.4s;
}

#input_group button:hover {
    opacity: 0.8;
}

#footer_copyright h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-neutral-0);
    color: #fff;
    font-size: 0.9rem;
    padding: 1.5rem;
    font-weight: 100;
    margin: 0;
}



@media screen and (max-width: 970px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    #footer_map {
        overflow: hidden;
        width: 280px;
    }
}

@media screen and (max-width: 600px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }

    #footer_map {
        overflow: hidden;
        width: 280px;
    }
}