/* Reset básico e estilos do corpo */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background-color:darkolivegreen; /* Light Blue */
    color:black;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilos do cabeçalho */
header {
    background-color:black; /* Deep Blue */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

/* Estilos do conteúdo principal */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
}

/* Seção Hero */
#hero {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 2.5rem;
    color:black; /* Deep Blue */
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;

}


/* Seção Portfólio */
#portfolio h2, #tech-stack h2 {
    text-align: center;
    color:black; /* Deep Blue */
    margin-bottom: 2rem;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background-color: black;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: black; /* Bright Orange */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: none; /* Escondido por padrão, o JS irá mostrar */
}

.project-card.show {
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card-content {
    padding: 1rem;
}

.project-card h3 {
    margin-top: 0;
    color:black;
}

.project-tags {
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    background-color: #eee;
    color: black;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}


/* Seção de Tecnologias */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tech-logo {
    height: 80px;
    margin-bottom: 1rem;
}


/* Estilos do rodapé */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: black; /* Deep Blue */
    color: #eee;
    margin-top: 2rem;
}

/* Media Queries para Responsividade */
.social-links {
    margin-top: 1rem;
  }
  
  .social-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #eee;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .social-links a:hover {
    color: #c89116; /* Combina com seu gradiente */
  }

/* Para tablets */
@media (max-width: 768px) {
    #hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }
}

/* Para celulares */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .filter-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}
