/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #13131f;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(19, 19, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #f5b645;
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f5b645;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f5b645;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #13131f 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23f5b645" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-content {
    animation: slideInLeft 1s ease-out;
}

.home-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #f5b645;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f5b645;
    animation: underline 2s ease-in-out infinite;
}

.home-subtitle {
    font-size: 1.5rem;
    color: #f5b645;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.home-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.8;
}

.home-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: #f5b645;
    color: #13131f;
}

.btn-primary:hover {
    background-color: #e6a53a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 182, 69, 0.3);
}

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

.btn-secondary:hover {
    background-color: #f5b645;
    color: #13131f;
    transform: translateY(-2px);
}

.home-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.profile-card {
    width: 400px;
    height: 350px;
    /*background: linear-gradient(135deg, #f5b645, #e6a53a);*/
    /*border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 20px 40px rgba(245, 182, 69, 0.3);*/
    animation: float 3s ease-in-out infinite;
}

.profile-image {
    width: 400px;
    /*height: 250px;
    background-color: #13131f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #f5b645;*/
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*border-radius: 50%;*/
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #f5b645;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #f5b645;
}

/* Sobre Section */
.sobre {
    padding: 120px 0 100px 0;
    background-color: #1a1a2e;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
}

.sobre-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.8;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background-color: rgba(245, 182, 69, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(245, 182, 69, 0.2);
}

.stat h3 {
    font-size: 2.5rem;
    color: #f5b645;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #ccc;
    font-weight: 500;
}

/* Experiências Section */
.experiencias {
    padding: 100px 0;
    background-color: #13131f;
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #f5b645;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 52%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 52%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #f5b645;
    border-radius: 50%;
    border: 4px solid #13131f;
    z-index: 1;
}

.timeline-content {
    background-color: rgba(245, 182, 69, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(245, 182, 69, 0.2);
    backdrop-filter: blur(10px);
}

.timeline-content h3 {
    color: #f5b645;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #f5b645;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content p {
    color: #ccc;
    margin-top: 1rem;
    line-height: 1.6;
}

.competencies {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(245, 182, 69, 0.1);
    border-radius: 8px;
    border-left: 3px solid #f5b645;
}

.competencies strong {
    color: #f5b645;
    font-size: 0.9rem;
}

.competencies {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Stacks Section */
.stacks {
    padding: 100px 0;
    background-color: #1a1a2e;
    position: relative;
    z-index: 2;
}

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

.stack-category {
    background-color: rgba(245, 182, 69, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(245, 182, 69, 0.2);
    text-align: center;
}

.stack-category h3 {
    color: #f5b645;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.stack-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: rgba(245, 182, 69, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stack-item:hover {
    background-color: rgba(245, 182, 69, 0.2);
    transform: translateY(-5px);
}

.stack-item i {
    font-size: 2.5rem;
    color: #f5b645;
    margin-bottom: 1rem;
}

.stack-item span {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Educação Section */
.educacao {
    padding: 100px 0;
    background-color: #13131f;
    position: relative;
    z-index: 2;
}

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

.educacao-item {
    display: flex;
    gap: 2rem;
    background-color: rgba(245, 182, 69, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(245, 182, 69, 0.2);
    transition: all 0.3s ease;
}

.educacao-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 182, 69, 0.2);
}

.educacao-icon {
    width: 60px;
    height: 60px;
    background-color: #f5b645;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.educacao-icon i {
    font-size: 1.5rem;
    color: #13131f;
}

.educacao-content h3 {
    color: #f5b645;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.educacao-content h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.educacao-date {
    color: #f5b645;
    font-weight: 600;
    font-size: 0.9rem;
}

.educacao-content p {
    color: #ccc;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Projetos Section */
.projetos {
    padding: 100px 0;
    background-color: #13131f;
    position: relative;
    z-index: 2;
}

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

.projeto-item {
    background-color: rgba(245, 182, 69, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(245, 182, 69, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.projeto-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 182, 69, 0.3);
    border-color: #f5b645;
}

.projeto-image {
    height: 200px;
    background: linear-gradient(135deg, #f5b645, #e6a53a);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projeto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projeto-item:hover .projeto-img {
    transform: scale(1.05);
}

.projeto-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="code" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23code)"/></svg>');
    opacity: 0.3;
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(19, 19, 31, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projeto-item:hover .projeto-overlay {
    opacity: 1;
}

.projeto-links {
    display: flex;
    gap: 1rem;
}

.projeto-link {
    padding: 10px 20px;
    background-color: #f5b645;
    color: #13131f;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.projeto-link:hover {
    background-color: #e6a53a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 182, 69, 0.4);
}

.projeto-content {
    padding: 2rem;
}

.projeto-content h3 {
    color: #f5b645;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.projeto-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.projeto-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background-color: rgba(245, 182, 69, 0.2);
    color: #f5b645;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(245, 182, 69, 0.3);
}

/* Cursos Section */
.cursos {
    padding: 100px 0;
    background-color: #1a1a2e;
    position: relative;
    z-index: 2;
}

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

.curso-item {
    background-color: rgba(245, 182, 69, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(245, 182, 69, 0.2);
    transition: all 0.3s ease;
}

.curso-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 182, 69, 0.2);
}

.curso-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.curso-header h3 {
    color: #f5b645;
    font-size: 1.2rem;
}

.curso-badge {
    background-color: #f5b645;
    color: #13131f;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.curso-item p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.curso-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.curso-platform {
    color: #f5b645;
    font-weight: 600;
}

.curso-date {
    color: #ccc;
}

/* Footer */
.footer {
    background-color: #13131f;
    padding: 2rem 0;
    border-top: 1px solid rgba(245, 182, 69, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    color: #ccc;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(245, 182, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5b645;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #f5b645;
    color: #13131f;
    transform: translateY(-3px);
}

/* Animações */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes underline {
    0%, 100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(19, 19, 31, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .home-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .home-title {
        font-size: 2.5rem;
    }

    .home-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 1.5rem;
        padding-right: 1rem;
        text-align: left;
        width: calc(100% - 50px);
    }

    .timeline-marker {
        left: 20px;
        width: 15px;
        height: 15px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .competencies {
        margin-top: 1rem;
        padding: 0.8rem;
        font-size: 0.8rem;
    }

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

    .educacao-item {
        flex-direction: column;
        text-align: center;
    }

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

    .projeto-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        padding-left: 1rem;
        padding-right: 0.5rem;
        width: calc(100% - 40px);
    }

    .timeline-marker {
        left: 15px;
        width: 12px;
        height: 12px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .competencies {
        padding: 0.6rem;
        font-size: 0.75rem;
    }
}
