:root {
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --light-text: #f5f5f5;
    --muted-text: #9e9e9e;
    --accent: #006064;
    /* Azul petróleo */
    --accent-light: #00838f;
    --card-bg: #1e1e1e;
    --section-padding: 100px 0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

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

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Header/Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s;
}

header.sticky {
    padding: 10px 0;
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--light-text);
}

.logo span {
    color: var(--accent);
}

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

.nav-link {
    margin-left: 30px;
    color: var(--light-text);
    font-weight: 500;
    position: relative;
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: var(--darker-bg);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 96, 100, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-bg {
    background-image: url('../img/hero-bg.jpg');
    opacity: 0.2;
    background-position: center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
}

.hero-heading {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-subheading {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--muted-text);
}

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

.hero-image {
    flex: 0 0 300px;
    margin-left: 50px;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--darker-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--accent);
    margin: 15px auto 0;
}

/* About Section */
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-quote {
    font-style: italic;
    color: var(--muted-text);
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 18px;
    width: 25px;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-direction: column;
}

.skills-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted-text);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.skill-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-bar {
    height: 6px;
    background-color: #333;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--accent);
    border-radius: 3px;
    transition: width 1.5s ease-in-out;
    width: 0;
}

.frameworks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

.framework-tag {
    background-color: rgba(0, 96, 100, 0.2);
    color: var(--light-text);
    border: 1px solid var(--accent);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.framework-tag:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* Summary Section */
.summary-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.summary-text {
    margin-bottom: 30px;
    color: var(--muted-text);
}

.summary-professional {
    font-size: 1.2rem;
    color: var(--light-text);
}

/* Education Section */
.education-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent);
}

.education-item {
    position: relative;
    margin-bottom: 60px;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-content {
    position: relative;
    width: 45%;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.education-item:nth-child(odd) .education-content {
    left: 0;
}

.education-item:nth-child(even) .education-content {
    left: 55%;
}

.education-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    border-radius: 50%;
}

.education-item:nth-child(odd) .education-content::before {
    right: -60px;
}

.education-item:nth-child(even) .education-content::before {
    left: -60px;
}

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

.education-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--accent);
    color: var(--light-text);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.education-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.education-place {
    color: var(--muted-text);
    margin-bottom: 15px;
    font-style: italic;
}

.education-details {
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* Experience Section */
.experience-container {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--accent);
}

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

.experience-date {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
}

.experience-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.experience-company {
    color: var(--muted-text);
    font-style: italic;
    margin-bottom: 15px;
}

.experience-description {
    color: var(--muted-text);
}

/* Portfolio Section */
.portfolio-container {
    text-align: center;
}

.portfolio-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--muted-text);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.portfolio-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.portfolio-description {
    color: var(--muted-text);
    margin-bottom: 15px;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: rgba(0, 96, 100, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s;
}

.contact-item:hover .contact-icon {
    background-color: var(--accent);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 20px;
    color: var(--light-text);
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: var(--muted-text);
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-heading {
        font-size: 2.8rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        margin-left: 0;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .education-content {
        width: calc(100% - 50px);
        left: 50px !important;
    }

    .education-content::before {
        left: -30px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        padding: 20px 0;
        transition: all 0.3s;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

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

    .nav-item {
        margin: 15px 0;
        text-align: center;
    }

    .nav-link {
        margin-left: 0;
        display: block;
    }

    .mobile-toggle {
        display: block;
    }

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

    .hero-heading {
        font-size: 2.5rem;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 70px 0;
    }

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

    .hero-subheading {
        font-size: 1.2rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .education-content {
        padding: 15px;
    }

    .education-title {
        font-size: 1.1rem;
    }

    .experience-title {
        font-size: 1.1rem;
    }
}

/* Parallax Effect */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--accent-light);
    transform: translateY(-5px);
}