@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Pre:wght@400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Pre:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

body {
    background-color: #292929;
}

.title {
    color: #ffd700;
    text-align: center;
    font-size: 30px;
    padding: 25px 0;
}

.main-content {
    background: url("./img/fundo-atualizado.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
}

.main-content .content-img {
    display: flex;
    justify-content: flex-start;
    padding-top: 10px;
    margin-left: 35%;

    img {
        border-radius: 50%;
        width: 300px;
        height: 300px;
    }
}

.main-content .content-name {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    margin-left: 5%;
    gap: 20px;
    width: 40%;
    padding-top: 3%;

    h1 {
        color: #fff;
        font-size: 50px;
        font-family: "Montserrat", sans-serif;
    }

    p {
        color: #fff;
        font-size: 30px;
    }

    a {
        background-color: #0f9248;
        color: #fff;
        text-decoration: none;
        padding: 10px;
        width: 40%;
        border-radius: 10px;
        transition: 0.5s;

        img {
            height: 20px;
            width: 20px;
        }
    }

    a:hover {
        background-color: #08582b;
    }
}

.about {
    height: auto;
    width: 100%;

    .container-about {
        width: 90%;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.3);

        .img-about {
            display: flex;
            justify-content: center;
            padding: 20px 0;

            img {
                height: 400px;
            }
        }

        .description {
            text-align: center;
            max-width: 90%;
            margin: 0 auto;
            padding: 20px 0;

            h1 {
                color: #ffd700;
                margin-bottom: 20px;
            }

            p {
                color: #fff;
                font-size: 21px;
                width: 60%;
                margin: 0 auto;
            }

        }

        .card-visit {
            text-align: center;
            padding: 20px 0;

            a {
                background-color: #4e32ec;
                color: #fff;
                text-decoration: none;
                padding: 10px 15px;
                border-radius: 30px;
                cursor: pointer;
                transition: 0.5s;
            }

            a:hover {
                background-color: #061f9e;
                transform: translateY(-20px);
            }
        }
    }
}

.causas {
    width: 90%;
    margin: 50px auto;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    padding: 20px;
    gap: 20px;
    justify-content: center;

    .container {
        border: 1px solid #fff;
        border-radius: 10px;
        padding: 20px;
        max-width: 550px;
        box-shadow: 2px 2px 0 #ffd700;

        p {
            color: #fff;
            text-align: justify;

            span {
                text-transform: uppercase;
            }
        }
    }
}

.services {
    width: 100%;

    .container-services {
        width: 90%;
        margin: 0 auto;
        background-color: #ffffff63;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        padding: 20px 0 40px 0;
        flex-wrap: wrap;

        .services-title {
            padding: 20px 0;

            h3 {
              color: #292929;
              text-transform: uppercase;
              font-family: 'Montserrat', sans-serif;
              font-size: 22px;
            }
        }

        .services-items {
           display: flex;
           flex-wrap: wrap;
           justify-content: space-evenly;
           gap: 20px;

           .item {
              width: 220px;
              border: 1px solid #292929;
              border-radius: 10px;
              background-color: #fff;
              padding: 10px;
              display: flex;
              flex-wrap: wrap;
              flex-direction: column;
              gap: 10px;
              align-items: center;

              .emoji {
                 width: 50px;
                 height: 50px;

                 img {
                    width: 50px;
                    height: 50px;
                 }
              }

              h3 {
                text-align: center;
              }
           }
        }

        a {
            margin-top: 20px;
            background-color: #0f9248;
            color: #fff;
            text-decoration: none;
            text-align: center;
            padding: 10px;
            border-radius: 10px;
            transition: 0.5s;
            width: 50%;
            img {
                height: 20px;
                width: 20px;
            }
        }
        a:hover {
            background-color: #08582b;
        }
    }
}

.mission {
    width: 100%;

    .container-mission {
        width: 90%;
        margin: 4rem auto 0 auto;
        background-color: rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        padding: 20px 10px;

        h3 {
            color: #fff;
            font-weight: 400;
            padding: 0 10px;
            text-align: center;
            font-size: 23px;

            span {
                color: #ffd700;
                font-weight: 700;
            }
        }
    }
}

.reviews {
    width: 100%;

    .container-reviews {
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;

        .card {
            border: 1px solid #fff;
            padding: 20px 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 590px;

            img {
                max-width: 580px;
                opacity: 0.95;
            }
        }
    }
}

.adress {
    
    .container-adress {
        width: 90%;
        margin: 4rem auto 0 auto;
        background-color: #f0f0f0e0;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;

        h1 {
            color: #292929;
            text-transform: uppercase;
            font-size: 28px;
        }

        .local-adress {
            display: flex;
            gap: 20px;

            img {
                max-height: 400px;
            }

            iframe {
                max-height: 400px;
            }
        }

    }
}

.garantias {
    width: 100%;
    margin-top: 3rem;

    .container-garantias {
        width: 90%;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.3);
        padding: 20px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;

        h3 {
            color: #fff;
            text-align: center;
            font-size: 25px;
            font-weight: 500;
        }

        .img-perfil {
            display: flex;
            justify-content: center;

            img {
                width: 80%;
                max-height: 500px;
                border-radius: 5px;
            }
        }

        a {
            margin: 20px auto 10px auto;
            background-color: #0f9248;
            color: #fff;
            text-decoration: none;
            text-align: center;
            padding: 10px;
            border-radius: 10px;
            transition: 0.5s;

            img {
                height: 20px;
                width: 20px;
            }
        }
        a:hover {
            background-color: #08582b;
        }
    }
}

.video {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 50%;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    border: 1px solid #ffd700;

    video {
        max-height: 400px;
        border-radius: 20%;
        object-fit: cover;
    }
}

footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 3rem;

    .social {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: 90%;
        margin: 0 auto;
        border-bottom: 1px solid #ffd700;
        padding-bottom: 15px;

        a {
            background-color: #eee;
            border-radius: 50%;
            padding: 8px;
            transition: 0.5s;
            position: relative;
        }

        a img {
            position: relative;
            z-index: 1;
        }

        a:first-child::before{
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
            opacity: 0;
            transition: opacity 0.5s;
            border-radius: 50%;
            z-index: 0;
        }

        a:first-child:hover::before {
            opacity: 1;
        }

        a:nth-child(2):hover {
            opacity: 0.8;
            background-color: #3b5998;
        }

        a:last-child:hover {
            background-color: #0f9248;
            opacity: 0.8;
        }

    }

    h3 {
        color: #fff;
        font-size: 20px;
        text-align: center;
        font-weight: 400;
        padding: 20px 0;
    }
}

.hidden {
    opacity: 0; /* Inicialmente invisível */
    filter: blur(15px);
    transform: translateX(-100%);
    transition: all 1.5s; /* Transição suave para visibilidade */
}

.hidden.visible {
    opacity: 1; /* Torna a seção visível */
    transform: translateX(0); /* A seção se move para a posição original */
    filter: blur(0);
}

.services-items :nth-child(1) {
    transition-delay: 0.3s;
}

.services-items :nth-child(2) {
    transition-delay: 0.6s;
}

.services-items :nth-child(3) {
    transition-delay: 1s;
}

.services-items :nth-child(4) {
    transition-delay: 1.5s;
}

.services-items :nth-child(5) {
    transition-delay: 0.3s;
}

.services-items :nth-child(6) {
    transition-delay: 0.6s;
}

.services-items :nth-child(7) {
    transition-delay: 1s;
}

.services-items :nth-child(8) {
    transition-delay: 1.5s;
}

.container-reviews :nth-child(1) {
    transition-delay: 0.3s;
}

.container-reviews :nth-child(2) {
    transition-delay: 0.6s;
}

.container-reviews :nth-child(3) {
    transition-delay: 0.3s;
}

.container-reviews :nth-child(4) {
    transition-delay: 0.6s;
}

.container-reviews :nth-child(5) {
    transition-delay: 0.3s;
}

@media screen and (max-width: 768px) {
    .main-content .content-img {
         img {
            margin-left: 5%;
            width: 220px;
            height: 220px;
         }
    }

    .main-content .content-name {
        margin-top: 30px;
        width: 50%;

        h1 {
            font-size: 35px;
        }

        p {
            font-size: 23px;
        }

        a {
            width: 60%;
        }
    }

    .about {
        .container-about {
            .img-about {
                img {
                    height: 300px;
                }
            }

            .description {
                p {
                    width: 90%;
                }
            }
        }
    }

    .causas {
        flex-direction: column;
        align-items: center;

        .container {
            max-width: 100%;
        }
    }

    .services {
        .container-services {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
    }

    .mission {
        .container-mission {
            h3 {
                font-size: 20px;
            }
        }
    }

    .adress {
        .container-adress {
            .local-adress {
                flex-direction: column;
                align-items: center;

                img {
                    max-width: 80%;
                }

                iframe {
                    max-height: 400px;
                    max-width: 80%;
                }
            }
        }
    }

    .garantias {
        .container-garantias {
            padding: 0 15px;

            h3 {
                font-size: 20px;
            }

            .img-perfil {
                padding: 20px 0 10px 0;
                
                img {
                    max-width: 400px;
                }
            }
        }
    }

    .container-reviews .card {
        transition-delay: 0.3s;
    }
}

@media screen and (max-width: 600px) {
    .main-content {
        .content-img{
            img {
                width: 200px;
                height: 200px;
            }
        }

        .content-name {
            width: 80%;
            padding-top: 10%;

            a {
                font-size: 15px;
                width: 40%;
            }
        }
    }

    .title {
        font-size: 25px;
    }

    .about {
        .container-about {
            .description {
                h1 {
                    font-size: 25px;
                }
            }
        }
    }

    .services {
        .container-services {
            .services-items {
                .item {
                    width: 400px;
                    transition-delay: 0.5s;
                }
            }

            .img-services {
                img {
                    max-width: 400px;
                }
            }
        }
    }

    .reviews {
        .container-reviews {
            .card {
                img {
                    max-width: 450px;
                }
            }
        }
    }

    .garantias {
        .container-garantias {
            padding-top: 20px;

            a {
                font-size: 15px;
            }
        }
    }

    .video {
        video {
            max-height: 350px;
        }
    }
}

@media screen and (max-width: 475px) {
    .main-content {
        .content-img {
            img {
                width: 180px;
                height: 180px;
            }
        }

        .content-name {
            width: 60%;
            margin-top: 3rem;

            h1 {
                font-size: 30px;
            }

            a {
                width: 70%;
            }
        }
    }

    .about {
        .container-about {
            .description {
                p {
                    font-size: 20px;
                }
            }
        }
    }

    .services {
        .container-services {
            .services-items {

                a {
                    font-size: 15px;
                    width: 60%;
                }
            }
        }
    }

    .reviews {
        .container-reviews {
            .card {
                img {
                    max-width: 400px;
                }
            }
        }
    }

    .adress {
        .container-adress {
            .local-adress {
                img {
                    max-height: 300px;
                }

                iframe {
                    max-height: 350px;
                }
            }
        }
    }

    .video {
        video {
            max-height: 300px;
        }
    }
}

@media screen and (max-width: 425px) {
    .main-content {
        .content-img {
            justify-content: center;
            margin-left: 0;
        }

        .content-name {
            width: 80%;
        }
    }

    .about {
        .container-about {
            .description {
                h1 {
                    font-size: 22px;
                }
            }
        }
    }

    .causas {
        .container {
            p {
                font-size: 15px;
                text-align: start;
            }
        }
    }

    .services {
        .container-services {
            .img-services {
                img {
                    max-width: 350px;
                }
            }

            .services-items {
                .item {
                    width: 350px;
                }
            }

            a {
                width: 60%;
            }
        }
    }

    .mission {
        .container-mission {
            h3 {
                font-size: 18px;
            }
        }
    }

    .reviews {
        .container-reviews {
            .card {
                img {
                    max-width: 330px;
                    max-height: 100px;
                }
            }
        }
    }

    .garantias {
        .container-garantias {
            h3 {
                font-size: 18px;
            }
        }
    }

    .video {
        width: 60%;
        padding: 10px 20px;

        video {
            max-height: 280px;
        }
    }

    footer {
        .social {
            a {
                width: 50px;
                height: 50px;

                img {
                    width: 32px;
                    height: 32px;
                }
            }
        }
        h3 {
            font-size: 18px;
        }
    }
}

@media screen and (max-width: 375px){
    .title {
        font-size: 23px;
    }

    .main-content {
        .content-name {
            margin-top: 6rem;

            h1 {
                font-size: 25px;
            }

            a {
                width: 70%;
            }
        }
    }

    .about {
        .container-about {
            .img-about {
                img {
                    height: 250px;
                }
            }

            .description {
                h1 {
                    font-size: 20px;
                }

                p {
                    font-size: 18px;
                }
            }

            .card-visit {
                a {
                    font-size: 13px;
                }
            }
        }
    }

    .services {
        .container-services {
            .services-items {
                .item {
                    width: 300px;

                    img {
                        width: 40px;
                        height: 40px;
                    }

                    h3 {
                        font-size: 18px;
                    }
                }
            }

            .img-services {
                img {
                    max-width: 300px;
                }
            }
        }
    }

    .adress {
        .container-adress {
            h1 {
                font-size: 23px;
            }
        }
    }

    .video {
        video {
            max-height: 250px;
        }
    }
}