
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0f0f0f;
    color: #f5f5f5;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

.hero {
    background: linear-gradient(to bottom right, #1a1a1a, #111);
    padding: 100px 20px;
    text-align: center;
    animation: fadeInHero 1.5s ease-in-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 10px #00000050;
}

.hero h2 {
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #cccccc;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00d0ff;
    color: #0f0f0f;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #ffffff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 20px #00d0ff60;
}

.section {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.section-dark {
    background-color: #1a1a1a;
}

h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00d0ff;
}

h4 {
    font-weight: 400;
    margin-bottom: 20px;
}

#sobre p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #dddddd;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill {
    padding: 10px 20px;
    background: #222;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #00d0ff;
    transition: all 0.3s ease;
}

.skill:hover {
    background: #00d0ff;
    color: #0f0f0f;
}

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

.project-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 208, 255, 0.2);
}

.project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #00d0ff;
    text-decoration: none;
    font-weight: bold;
}

.project-card a:hover {
    text-decoration: underline;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

footer {
    background: #0a0a0a;
    padding: 30px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .btn {
        padding: 10px 25px;
    }
}
