/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #121212;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4aa;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d4aa;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #00d4aa;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #00d4aa;
    color: #121212;
}

.btn-primary:hover {
    background: #00b894;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #00d4aa;
}

.btn-secondary:hover {
    background: #00d4aa;
    color: #121212;
    transform: translateY(-2px);
}

/* Seções Gerais */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

/* Sobre */
.about {
    background: #1a1a1a;
}

/* Competências */
.skills {
    background: #121212;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4aa;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #333;
    color: #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.tag:hover {
    background: #00d4aa;
    color: #121212;
}

/* Projetos */
.projects {
    background: #1a1a1a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #222;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 170, 0.1);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-card p {
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #00d4aa;
    color: #121212;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.project-features li::before {
    content: '✓';
    color: #00d4aa;
    position: absolute;
    left: 0;
}

.project-link {
    display: inline-block;
    background: #00d4aa;
    color: #121212;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.project-link:hover {
    background: #00b894;
}

/* Experiência */
.experience {
    background: #121212;
}

.experience-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
}

.experience-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    margin-bottom: 0.5rem;
}

/* Contato */
.contact {
    background: #1a1a1a;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item a {
    color: #00d4aa;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.whatsapp-contact {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #121212;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}