:root {
    --primary-dark: #1a0a12;
    --primary-purple: #8b1e3f;
    /* vinho escuro */
    --secondary-dark: #2d0b19;
    --light-gray: #e0bfcf;
    --white: #fff;
    --box-shadow: rgba(139, 30, 63, 0.2);
    --background-header: rgba(26, 10, 18, 0.95);

    /* Notification colors */
    --success-color: #b71c1c;
    --error-color: #d32f2f;
    --warning-color: #ff7043;
    --info-color: #ad1457;
    --notification-bg: #3d1622;
    --notification-border: #8b1e3f;
    --notification-text: #e0bfcf;
    --notification-close: #bfa3b8;

    /* Additional colors */
    --transparent: transparent;
    --fade-transparent: rgba(255, 255, 255, 0.0);
    --fade-light: rgba(224, 191, 207, 0.3);
    /* light-gray com fade */
    --fade-dark: rgba(26, 10, 18, 0.7);
    /* primary-dark com fade */
    --shadow-light: rgba(139, 30, 63, 0.1);
    --shadow-medium: rgba(139, 30, 63, 0.3);
    --shadow-strong: rgba(139, 30, 63, 0.34);
    --border-purple-light: rgba(139, 30, 63, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--primary-dark);
    color: var(--light-gray);
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero .container {
    display: flex;
    align-items: center;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--background-header);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    font-family: "Playfair Display", serif;
    color: var(--primary-purple);
    background: var(--light-gray);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::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"><circle cx="50" cy="50" r="2" fill="%2360519b" opacity="0.1"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--white), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero img {
    max-width: 500px;
    width: 100%;
    height: fit-content;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-medium);
    transition: transform 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-medium);
    border-color: var(--border-purple-light);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--secondary-dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: var(--primary-dark);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-purple-light);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-purple-light);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--primary-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--secondary-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-purple-light);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(96, 81, 155, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-purple-light);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--secondary-dark);
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-purple);
}

/* Footer */
footer {
    background: var(--primary-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-purple-light);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 930px) {
    .container {
        max-width: 100%;
        max-height: 100%;
    }

    .hero-content {
        margin-top: 100px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }


    .nav-links {
        display: none;
    }

    .nav-links.active {
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--primary-dark);
        width: 20%;
        padding: 1rem 0;
        border-radius: 0 0 15px 15px;
    }

    .nav-links.active a {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid var(--border-purple-light);
    }

    .menu-icon {
        display: block;
    }

    .menu-icon i {
        font-size: 1.5rem;
        color: var(--light-gray);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Responsive para telas menores */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .subtitle {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links.active {
        width: 30%;
    }
}