/* Reseta os estilos padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e2f;
    color: #ffffff;
    line-height: 1.6;
}

/* Menu superior */
/* Estilo padrão do menu */
nav {
    background-color: #1e1e2f;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: center; /* Centraliza o menu horizontalmente */
    align-items: center;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
}

.menu-icon {
    display: none; /* Oculto no desktop */
    font-size: 24px;
    cursor: pointer;
}

/* Estilo responsivo */
@media (max-width: 767px) {
    .nav-links {
        display: none; /* Oculta a lista de links no mobile */
        flex-direction: column;
        position: absolute;
        top: 50px;
        background-color: #1e1e2f;
        width: 100%;
        left: 0;
        text-align: center;
    }

    .menu-icon {
        display: block; /* Exibe o ícone de hambúrguer no mobile */
    }

    .nav-links.show {
        display: flex; /* Exibe o menu quando a classe 'show' é ativada */
    }

    .nav-links a {
        padding: 15px;
        border-bottom: 1px solid #333;
    }
}


header {
    background: linear-gradient(45deg, #6a5acd, #483d8b);
    color: #fff;
    text-align: center;
    padding: 50px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

header h1 {
    margin-bottom: 10px;
    font-size: 3rem;
}

header p {
    font-size: 1.2rem;
}

section {
    padding: 60px 20px;
}

#about, .projects-area, #contact, #social-media {
    background-color: #2b2b3d;
    margin: 20px auto;
    max-width: 1200px;
    text-align: center;
    border-radius: 10px;
    padding: 40px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e0e0f8;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #cfcff5;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px 10%; /* Espaçamento nas laterais */
    gap: 20px; /* Espaçamento entre os projetos */
    max-width: 1200px;
    margin: 0 auto;
}


.project {
    background-color: #3a3a57;
    width: 48%;
    margin: 20px 0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.project:hover {
    transform: scale(1.05);
}

.project .imageProduct {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project a {
    color:white;
    text-decoration: none;
}

.project a:hover {
    color:#d6d6d6;
}

.project h3 {
    font-size: 1.5rem;
    color: #e0e0f8;
}

.project p {
    font-size: 1rem;
    color: #cfcff5;
}

.whatsapp-button {
    padding: 15px 30px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.whatsapp-button:hover {
    background-color: #20b058;
}

.social-icons a {
    display: inline-block;
    margin: 0 15px;
    font-size: 2.5rem;
    color: #e0e0f8;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #6a5acd;
}

footer {
    text-align: center;
    background-color: #1e1e2f;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

footer p {
    font-size: 1rem;
    color: #cfcff5;
}

/* Responsividade */
@media (max-width: 768px) {
    .project {
        width: 100%;
    }
}

.custom-whatsapp-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #6a5acd, #483d8b);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-whatsapp-button:hover {
    background: linear-gradient(45deg, #483d8b, #6a5acd);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.custom-whatsapp-button:active {
    transform: scale(0.98);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Container de detalhes do projeto */
#project-details {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #2b2b3d;
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
}

/* Galeria de Imagens Responsiva */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    max-width: 250px; /* Ajuste para telas maiores */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Botão de Link Responsivo */
.project-link-button {
    display: inline-block;
    padding: 15px 20px;
    margin-top: 20px;
    background: linear-gradient(45deg, #6a5acd, #483d8b);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s ease;
    text-align: center;
}

.project-link-button:hover {
    background: linear-gradient(45deg, #483d8b, #6a5acd);
}

/* Header Responsivo */
header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(45deg, #6a5acd, #483d8b);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2rem;
}

header p {
    font-size: 1rem;
}

/* Responsividade para dispositivos menores */
@media (max-width: 768px) {
    #project-details {
        padding: 20px 10px;
    }
    
    .gallery-image {
        max-width: 100%;
    }
    
    .project-link-button {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .project-link-button {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    header h1 {
        font-size: 1.2rem;
    }

    header p {
        font-size: 0.8rem;
    }
}

