@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #20252c;
    color: #faf7d6;
    scroll-behavior: smooth;
    text-align: center;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #3536363a;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    height: 90px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #faf7d6;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f1cc9a;
}

/* Estilos para o ícone do menu em dispositivos menores */
.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon .line {
    width: 25px;
    height: 3px;
    background-color: #f1cc9a;
    margin: 4px 0;
    transition: 0.3s ease;
}

.home {
    height: 100vh;
    background-image: url('uni.jpg'), linear-gradient(rgba(32, 37, 44, 0.76), rgba(32, 37, 44, 0.774));
    background-size: cover;
    background-blend-mode: overlay; /* Faz o gradiente se misturar com a imagem */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro {
    z-index: 1; /* Garante que o conteúdo esteja acima da imagem */
    padding: 20px;
    border-radius: 10px;
}

.intro h2 {
    font-size: 45px;
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    margin: -10px 0;
    color: #fbfbe3;
    animation: text-glow 2s ease-out forwards;
}

.intro p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #f1cc9a;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.cta {
    background-color: #f1cc9a;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    color: #20252c;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse 2s infinite alternate;
    border-radius: 30px;
}

.cta:hover {
    background-color: #fbfbe3;
    transform: scale(1.1);
}

@keyframes text-glow {
    0% { text-shadow: 0px 0px 10px #f1cc9a; }
    100% { text-shadow: 0px 0px 20px #f1cc9a; }
}

h2.section-title {
    font-size: 2.5rem;
    background: linear-gradient(30deg, #fbfbe3, #ffe7c7);
    -webkit-background-clip: text;
    color: transparent;
    font-family: "Heebo", sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.253);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.about p {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.about-content img {
    max-width: 100%;
    border-radius: 15px;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.services h3{
    font-family: "Heebo", sans-serif;
    font-weight: 600;
}

.services p{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

.service-card {
    background-color: #353636;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
}

.service-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.contact-button {
    background: linear-gradient(90deg, #f1cc9a, #fbfbe3);
    color: #20252c;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.5s, transform 0.3s;
    box-shadow: 0px 0px 20px rgba(241, 204, 154, 0.5);
}

.contact-button:hover {
    background: linear-gradient(90deg, #fbfbe3, #f1cc9a);
    transform: scale(1.1);
    box-shadow: 0px 0px 30px rgba(241, 204, 154, 0.8);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
}

.icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
        position: fixed; /* Para manter o ícone fixo enquanto rola a página */
        top: 40px;
        right: 20px;
        z-index: 1000; /* Certifique-se de que o ícone fique acima de outros elementos */
    }

    .menu-icon .line {
        width: 30px;
        height: 4px;
        background-color: #f1cc9a;
        margin: 6px 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: row; /* Itens lado a lado */
        flex-wrap: wrap; /* Permite quebrar para a linha de baixo, se necessário */
        gap: 15px;
        background-color: #20252c;
        width: 100%;
        padding: 10px 20px;
        justify-content: center;
        border-radius: 0 0 5px 5px; /* Cantos arredondados no fim */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        position: absolute;
        top: 100%; /* Para que apareça logo abaixo do header */
        left: 0;
    }

    .nav-menu.open .nav-links {
        display: flex;
    }
}