/* Home Page */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
}

.hero img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #00e0ff;
    margin-bottom: 30px;
    transition: all 0.3 ease;
}

.hero img:hover {
    box-shadow:
        0 0 20px rgba(0, 224, 255, 0.7),
        0 0 30px rgba(0, 224, 255, 0.4);
    transform: scale(1.02);
    filter: drop-shadow(0 0 5px #00e0ff);
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.skill {
    background-color: #222;
    padding: 10px 20px;
    border-radius: 20px;
    color: #00e0ff;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.skill:hover {
    background-color: #00e0ff;
    color: #222;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.card {
    background-color: #111;
    border: 1px solid #00e0ff;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    color: white;
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-top: 0;
    color: #00e0ff;
}

/* Timeline Styles */
.timeline {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #00e0ff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 20px;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.timeline-date {
    color: #00e0ff;
    font-weight: 600;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #00e0ff;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .timeline::before {
        left: 0px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 40px;
    }

    .timeline-item:nth-child(odd) {
        left: -1px;
    }

    .timeline-item:nth-child(even) {
        left: 0px;
    }

    .timeline-item::after {
        left: -7px;
        transform: none;
        right: auto;
    }

    .cards-container {
        justify-content: center;
        width: 100%;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .card {
        width: 90%;
        max-width: 320px;
    }

    .hero img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }
}
