/* ==== FONTE E RESET ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: radial-gradient(circle at center, #3a3f47, #1f2227 60%, #191b1f);
    color: #2b2b2b;
    line-height: 1.6;
}

/* ==== WRAPPER CENTRAL ==== */
#wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==== NAVBAR ==== */
#nav {
    background: #f5f5f5;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dcdcdc;
    position: sticky;
    top: 0;
    z-index: 999;
}

#nav .links {
    display: flex;
    gap: 28px;
    list-style: none;
}

#nav .links li a {
    color: #4d4d4d;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .5px;
}

#nav .links li.active a {
    border-bottom: 2px solid #3a3a3a;
    padding-bottom: 4px;
}

#nav .icons {
    display: flex;
    gap: 15px;
}

#nav .icons a {
    color: #4d4d4d;
    font-size: 18px;
}

/* ==== INTRO (TÍTULO) ==== */
#intro {
    padding: 80px 0 40px;
    text-align: center;
    color: white;
}

#intro h1 {
    font-size: 40px;
    font-weight: 800;
}

#intro p {
    font-size: 17px;
    max-width: 550px;
    margin: 0 auto;
    margin-top: 10px;
}

#intro .button {
    display: inline-block;
    margin: 15px;
    padding: 14px 30px;
    background: white;
    color: #333;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #ccc;
}

/* ==== GRID DE PROJETOS ==== */
.posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 40px;
}

.posts article {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 20px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.posts article:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* IMG */
.posts img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* TEXTOS DO CARD */
.posts p {
    margin-left: 20px;
    margin-top: 10px;
    color: #555;
}

.posts .large-text {
    font-size: 20px !important;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

/* ==== BOTÃO "SEE MORE" ==== */
.more-button-container {
    text-align: center;
    margin: 40px 0 60px;
}

.more-button {
    padding: 14px 35px;
    background: #f0f0f0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    color: #464646;
    border: 1px solid #bbb;
    transition: 0.3s;
}

.more-button:hover {
    background: #4c4c4c;
    color: white;
}

/* ==== FOOTER ==== */
#footer {
    background: #ececec;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
}

#footer .fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#footer input,
#footer textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 6px;
}

#footer .actions input {
    padding: 12px 20px;
    border-radius: 6px;
    background: #3a3a3a;
    color: white;
    border: none;
    font-weight: bold;
}

.split.contact h3 {
    margin-bottom: 5px;
}

.split.contact a {
    color: rgb(32, 32, 32);
    font-size: 15px;
    text-decoration: none;
}

/* ==== COPYRIGHT ==== */
#copyright {
    text-align: center;
    padding: 25px 0;
    background: #dcdcdc;
    font-size: 14px;
}

/* ==== RESPONSIVO ==== */
@media (max-width: 900px) {
    .posts {
        grid-template-columns: 1fr;
    }

    #footer {
        flex-direction: column;
    }
}

/* ÍCONES */
#nav .icons a i,
.icons.alt a i {
    font-size: 22px;
    color: #555;
    transition: .3s ease;
}

#nav .icons a:hover i,
.icons.alt a:hover i {
    color: #00aaff;  /* azul igual o modelo */
}

/* LINKS DO MENU */
#nav .links li a:hover {
    color: #00aaff;
}

/* CARD AJUSTE IMAGEM */
.posts img {
    width: 100%;
    height: 300px;       /* ajustado */
    object-fit: contain; /* sem zoom, usa tamanho real */
    background: #fff;
    padding: 10px;
}

/* BOTÕES */
.button {
    background: transparent;
    border: 2px solid #00aaff;
    color: #00aaff;
    padding: 12px 25px;
    margin: 10px;
    text-decoration: none;
    border-radius: 6px;
    transition: .3s;
}

.button:hover {
    background: #00aaff;
    color: white;
}

/* FOOTER E ÍCONES */
.icons.alt a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: .3s ease;
}

.icons.alt a:hover {
    border-color: #00aaff;
    background: #e6f7ff;
}

/* BOTÕES DO INTRO SEM FUNDO */
#intro .button {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.25s ease;
    margin: 5px;
    background: transparent !important; /* SEM FUNDO */
}

/* BOTÃO GITHUB (AZUL) */
#intro .button.github {
    border: 2px solid #00aaff;
    color: #00aaff;
}

/* BOTÃO CURRÍCULO (BRANCO) */
#intro .button.resume {
    border: 2px solid #ffffff;
    color: #ffffff;
}

/* HOVER — somente deixa a borda e o texto azul */
#intro .button:hover {
    border-color: #00aaff;
    color: #00aaff;
    background: transparent !important; /* permanece SEM fundo */
}

/* ==== FOOTER IGUAL TEMPLATE ORIGINAL ==== */
#footer {
    background: #f2f2f2;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border-top: 1px solid #ddd;
}

/* FORMULÁRIO (COLUNA ESQUERDA) */
#footer .fields {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#footer label {
    font-size: 13px;
    font-weight: 700;
    color: #7a7a7a;
    letter-spacing: 1px;
}

#footer input,
#footer textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
    font-size: 15px;
    outline: none;
}

#footer input:focus,
#footer textarea:focus {
    border-color: #00aaff;
}

/* BOTÃO DO FORM */
#footer .actions input,
#footer .send-btn {
    background: transparent;
    color: #4d4d4d;
    border: 2px solid #4d4d4d;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

#footer .actions input:hover,
#footer .send-btn:hover {
    border-color: #00aaff;
    color: #00aaff;
}

/* ==== COLUNA DIREITA ==== */
.split.contact section {
    margin-bottom: 35px;
}

.split.contact h3 {
    font-size: 15px;
    font-weight: 700;
    color: #7a7a7a;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.split.contact a {
    color: #3a3a3a;
    font-size: 15px;
    text-decoration: none;
}

/* ==== ICONES REDONDOS – IGUAL A IMAGEM ==== */
.icons.alt {
    display: flex;
    gap: 12px;
}

.icons.alt li {
    list-style: none;
}

.icons.alt a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #3a3a3a;
    transition: .25s;
    background: white;
}

.icons.alt a:hover {
    border-color: #00aaff;
    color: #00aaff;
}

/* Copyright */
#copyright {
    background: #202326;
    text-align: center;
    padding: 25px;
    color: #9a9a9a;
    font-size: 13px;
    letter-spacing: 1px;
}

#copyright ul {
    list-style: none;
    padding: 0;
}

#copyright li {
    display: inline;
    margin: 0 10px;
}
/* REMOVE BULLETS DA LISTA */
.icons,
.icons.alt,
.icons li,
.icons.alt li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* CONTAINER DOS ÍCONES */
.icons.alt {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* CÍRCULOS IGUAIS A IMAGEM ORIGINAL */
.icons.alt a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    border: 1px solid #cfcfcf;
    background: #ffffff;

    color: #646464;
    font-size: 18px;
    transition: 0.25s ease;
}

/* ÍCONES HOVER — AZUL */
.icons.alt a:hover {
    border-color: #00aaff;
    color: #00aaff;
}
