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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url('../images/background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0A0F1F; /* cor de fallback */
    color: #d1d5db;
}

/* Header */
header {
    background-color: rgba(31, 41, 55, 0.85); /* Overlay para legibilidade */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-img {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
    cursor: pointer;
}

.header-name {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-nav {
    display: none;
}

.header-nav nav {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: #d1d5db;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: #374151;
    color: white;
}

/* Hero Section */
.hero-section {
    background-color: rgba(10, 15, 31, 0.85); /* Overlay para legibilidade */
    padding: 4rem 1rem;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hero-content {
    padding: 3rem 0;
}

.hero-greeting {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.hero-name {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid #6366f1;
    background-color: #6366f1;
    color: white;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: #6366f1;
}

.hero-image {
    display: none;
}

.hero-image img {
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
    display: block;
}

/* About Section */
.about-section {
    background-color: rgba(10, 15, 31, 0.85); /* Overlay para legibilidade */
    padding: 4rem 1rem;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-text {
    margin-top: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.about-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Skills Section */
.skills-section {
    margin-top: 3rem;
}

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

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: #374151;
    border-radius: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    width: 4rem;
    height: 4rem;
}

.skill-name {
    margin-top: 0.75rem;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
}

/* Blog Section - Removida conforme solicitado */

/* Contact Section */
.contact-section {
    background-color: rgba(10, 15, 31, 0.85); /* Overlay para legibilidade */
    padding: 4rem 1rem;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-image {
    display: none;
}

.contact-image img {
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
    display: block;
}

.contact-form {
    max-width: 28rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #4b5563;
    background-color: #1f2937;
    color: #d1d5db;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: rgba(31, 41, 55, 0.85); /* Overlay para legibilidade */
    padding: 2rem 1rem;
    border-top: 2px solid #374151;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-brand {
    margin: 0 auto;
    padding-top: 2rem;
}

.footer-name {
    font-size: 2.25rem;
    font-weight: bold;
    color: white;
}

.footer-title {
    padding: 1rem 0;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 5rem;
    margin: 2rem auto 0;
}

.footer-column h6 {
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
}

.footer-column nav a {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-column nav a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    color: #9ca3af;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .header-nav {
        display: block;
    }

    .hero-greeting,
    .hero-name,
    .hero-title {
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .about-content {
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    .about-buttons {
        justify-content: flex-start;
    }

    .contact-image {
        display: block;
    }

    .footer-brand {
        margin: 0;
    }

    .footer-links {
        margin: 2rem 0 0;
    }

    .footer-container {
        flex-direction: row;
    }

    .footer-copyright {
        text-align: left;
    }
}

@media (min-width: 768px) {
    .hero-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }

    .hero-image {
        display: block;
    }

    .hero-name {
        font-size: 3.75rem;
    }

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

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

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

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-greeting {
        font-size: 2.25rem;
    }

    .skills-section .section-title {
        text-align: left;
    }
}