/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Header/Navegação */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-size: 1.3rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #3498db;
}

/* Seção Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin: 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.destaque {
    color: #ffd700;
}

.subtitulo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.8rem 2rem;
    margin-top: 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

/* Seções Gerais */
section {
    padding: 6rem 0;
    width: 100%;
}

section>* {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2c3e50;
}

/* Seção Sobre */
.sobre {
    background: #f8f9fa;
    width: 100%;
    padding: 6rem 3rem;
}

.sobre-texto {
    max-width: 800px;
    margin: 0 auto;
}

.sobre-texto p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sobre-texto h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill {
    background: #667eea;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
}

/* Seção Projetos */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.projeto-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.projeto-card:hover {
    transform: translateY(-10px);
}

.projeto-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.projeto-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.projeto-tags span {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.btn-projeto {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-projeto:hover {
    background: #764ba2;
}

/* Seção Contato */
.contato {
    background: #f8f9fa;
    text-align: center;
    width: 100%;
    padding: 6rem 3rem;
}

.contato-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contato-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contato-btn {
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.contato-btn:hover {
    background: #764ba2;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    width: 100%;
    margin: 0;
}

/* Responsividade */
@media (max-width: 1200px) {
    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    header {
        padding: 0.8rem 0;
    }

    nav {
        padding: 0 1rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background: #2c3e50;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .hero {
        padding: 3rem 1.5rem;
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .subtitulo {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    section>* {
        padding: 0 1.5rem;
    }

    .sobre {
        padding: 4rem 1.5rem;
    }

    .skills {
        gap: 0.7rem;
    }

    .skill {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projeto-card {
        padding: 1.5rem;
    }

    .projeto-card h3 {
        font-size: 1.3rem;
    }

    .contato {
        padding: 4rem 1.5rem;
    }

    .contato-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contato-btn {
        width: 100%;
        max-width: 300px;
    }

    footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}