/* ========================= */
/* PORTFOLIO.CSS - ATUALIZADO */
/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #000;
    color: rgb(0, 217, 255);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header com botões nas extremidades */
header {
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0ea5e9;
    background-color: #000;
}

header h1 {
    color: #0ea5e9;
    font-size: clamp(1.2rem, 3vw, 2rem);
    text-align: center;
    flex: 1; /* Faz o título ocupar o centro */
}

/* Estilo dos Botões do Topo */
.nav-btn {
    text-decoration: none;
    color: #0ea5e9;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid #0ea5e9;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.3s;
    min-width: 100px;
    text-align: center;
}

.nav-btn:hover {
    background: #0ea5e9;
    color: #000;
    transform: scale(1.05);
}

/* Conteúdo Central */
.container-central {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.subtitulo {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.2rem;
    font-weight: normal;
    text-align: center;
}

/* Menu de Categorias (Retângulos) */
.menu-categorias {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 900px;
    justify-content: center;
    flex-wrap: wrap;
}

.cat-card {
    flex: 1;
    min-width: 300px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 3px solid #0ea5e9;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    gap: 15px;
}

.icon {
    font-size: 3rem;
}

.cat-card:hover {
    background: #0ea5e9;
    color: #000;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

/* Responsividade para Celulares */
@media (max-width: 600px) {
    header {
        padding: 15px 3%;
    }

    .nav-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        min-width: 75px;
    }

    header h1 {
        font-size: 1rem;
    }

    .cat-card {
        min-width: 100%;
        height: 150px;
        font-size: 1.2rem;
    }
}