:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-gray: #1f2937;
    --medium-gray: #374151;
    --light-gray: #9ca3af;
    --ice: #e0f2fe;
    --white: #f8fafc;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #111827 100%);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(30, 64, 175, 0.2) 0%, rgba(31, 41, 55, 0) 50%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.2) 0%, rgba(31, 41, 55, 0) 50%);
    backdrop-filter: blur(10px);
    z-index: -1;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(31, 41, 55, 0.8);
    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;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

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

.nav-link:hover {
    color: var(--secondary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--secondary-blue) 0%, var(--ice) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-gray);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

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

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-blue);
}

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

.btn-secondary:hover {
    background: var(--secondary-blue);
    color: var(--white);
}

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

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Para as imagens dos projetos */
.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(30, 64, 175, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--secondary-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-gray);
    font-size: 0.8rem;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: var(--secondary-blue);
    margin-top: 10px;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        height: 0;
        opacity: 0;
    }
    50% {
        height: 50px;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Sections Common Styles */
section {
    padding: 50px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-blue);
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--light-gray);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-category {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-blue);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-blue);
    text-align: center;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-item {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-blue);
}

.project-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.project-placeholder {
    width: 80%;
    height: 80%;
    border-radius: 5px;
    font-size: 3rem;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-blue);
}

.project-description {
    color: var(--light-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tech span {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-blue);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 10px;
}

.project-private {
    margin-top: 15px;
    padding: 10px;
    background: rgba(107, 114, 128, 0.2);
    border-radius: 5px;
    border-left: 3px solid var(--light-gray);
    animation: fadeIn 0.5s ease;
}

.private-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-gray);
    font-weight: 600;
}

.private-message {
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--light-gray);
}

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

/* Contact Section */
/* Estilos para a seção de contato simplificada */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.whatsapp-btn-container {
    margin: 30px 0;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.contact-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-container {
    text-align: center;
    background: rgba(59, 130, 246, 0.1);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.illustration-container i {
    font-size: 4rem;
    color: var(--secondary-blue);
    margin-bottom: 15px;
}

.illustration-container p {
    color: var(--light-gray);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons .social-link {
    width: 45px;
    height: 45px;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .whatsapp-btn {
        padding: 12px 20px;
    }
    
    .illustration-container {
        padding: 30px;
    }
    
    .illustration-container i {
        font-size: 3rem;
    }
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.social-link:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group input,
.form-group textarea {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(31, 41, 55, 0.5);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-gray);
}

/* Footer */
.footer {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    text-align: center;
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background: rgba(31, 41, 55, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }
}