/* ==================== VARIÁVEIS E RESET ==================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --primary-blue: #0047AB;
    --dark-blue: #002D7A;
    --light-blue: #0066CC;
    --accent-yellow: #FFD700;
    --light-yellow: #FFF44F;
    --white: #FFFFFF;
    --dark-gray: #1A1A1A;
    --light-gray: #F5F5F5;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

/* ==================== NAVBAR ==================== */
.navbar {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    color: var(--accent-yellow);
    font-size: 1.8rem;
}

.logo span {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-yellow);
    transition: var(--transition);
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--light-blue) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center; 
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-title .highlight {
    color: var(--accent-yellow);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
}

.btn-secondary:hover {
    background: var(--accent-yellow);
    color: var(--dark-blue);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-box {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-yellow), #FFB700);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--dark-blue);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

/* ==================== ANIMAÇÕES ==================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

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

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-yellow));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

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

.stat {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 71, 171, 0.2);
    transform: transition;
}

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

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.stat p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--accent-yellow);
    box-shadow: 0 10px 40px rgba(0, 71, 171, 0.15);
}

/* ==================== SKILLS SECTION ==================== */
.skills {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #fff8e7 100%);
}

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

.skill-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 71, 171, 0.1);
    border-top: 4px solid var(--primary-blue);
}

.skill-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(0, 71, 171, 0.2);
    border-top-color: var(--accent-yellow);
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    color: var(--accent-yellow);
    transform: scale(1.1) rotateZ(10deg);
}

.skill-card h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.skill-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
    padding: 80px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid var(--light-gray);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 71, 171, 0.2);
    border-color: var(--accent-yellow);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--accent-yellow);
    transition: var(--transition);
}

.project-card:hover .project-image {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-link {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.project-link:hover {
    gap: 1rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title::after {
    background: linear-gradient(135deg, var(--white), var(--accent-yellow));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.15);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-yellow);
    color: var(--dark-blue);
    transform: translateY(-5px);
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Já está no seu código */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .floating-box {
        width: 200px;
        height: 200px;
        font-size: 60px;
    }

    .hero-text {
        align-items: center;
    }

    .btn {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

    .nav-links.active {
        display: flex;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-links {
        gap: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 71, 171, 0.15);
}
