/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* HEADER */
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 25px 6%;
}

.logo {
    justify-self: start;
}

.menu-desktop {
    justify-self: center;
}

.menu-desktop ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.menu-desktop a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.menu-desktop a:hover {
    color: #fff;
}

/* BOTÕES */
.primary {
    background: #a855f7;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    color: #000;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.secondary {
    background: transparent;
    border: 1px solid #a855f7;
    padding: 12px 24px;
    border-radius: 10px;
    color: #a855f7;
    cursor: pointer;
    transition: 0.3s;
}

.primary:hover {
    transform: scale(1.05);
}

.secondary:hover {
    background: #a855f7;
    color: #000;
}

/* HERO */
.hero {
    padding: 100px 6%;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.2;
}

.hero-text span {
    color: #a855f7;
}

.hero-text p {
    margin: 20px 0;
    font-size: 18px;
    color: #ccc;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ANIMAÇÃO FOTO */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* FOTO */
.hero-image img {
    width: 420px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.35);
}

/* PROJETOS */
.projetos {
    padding: 80px 6%;
    text-align: center;
}

.projetos h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* CARD */
.card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
}

.card.destaque {
    border: 1px solid #a855f7;
}

/* TAGS */
.tags {
    margin: 10px 0;
}

.tag {
    display: inline-block;
    background: #1a1a1a;
    color: #a855f7;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    margin: 4px;
}

/* LINK */
.card a {
    display: inline-block;
    margin-top: 10px;
    color: #a855f7;
    text-decoration: none;
}

/* SOBRE */
.sobre {
    padding: 80px 6%;
    text-align: center;
}

.sobre h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.sobre p {
    max-width: 700px;
    margin: 10px auto;
    color: #ccc;
    line-height: 1.6;
}

/* SKILLS */
.skills {
    margin-top: 20px;
}

.skills span {
    display: inline-block;
    background: #111;
    border: 1px solid #2a2a2a;
    padding: 6px 14px;
    margin: 5px;
    border-radius: 999px;
    color: #a855f7;
}

/* REDES */
.redes {
    padding: 80px 6%;
    text-align: center;
}

.redes h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.redes-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rede-card {
    background: #111;
    border: 1px solid #2a2a2a;
    padding: 25px;
    border-radius: 16px;
    width: 250px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.rede-card:hover {
    transform: translateY(-8px);
    border-color: #a855f7;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.25);
}

.rede-card i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #a855f7;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .menu-desktop {
        display: none;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 260px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .logo img {
        width: 150px;
    }
}