:root {
    --primary: #00f7ff;
    --secondary: #7700ff;
    --dark: #0a0a18;
    --darker: #050510;
    --light: #f0f8ff;
    --gray: #6c757d;
}

[data-theme="light"] {
    --bg-primary: #f0f8ff;
    --bg-secondary: #ffffff;
    --text-primary: #121212;
    --text-secondary: #2d2d2d;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --dark: #e0e0e0;
    --darker: #f0f8ff;
    --light: #121212;
}

[data-theme="dark"] {
    --bg-primary: #0a0a14;
    --bg-secondary: #12121d;
    --text-primary: #f0f8ff;
    --text-secondary: #c0c0c0;
    --card-bg: #1a1a2e;
    --border-color: #2d2d2d;
    --dark: #0a0a18;
    --darker: #050510;
    --light: #f0f8ff;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--light);
}

p,
li,
span,
.form-control {
    color: var(--light);
}

/* Navbar */
.navbar {
    background-color: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

[data-theme="light"] .navbar {
    background-color: rgba(240, 248, 255, 0.9);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

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

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

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, var(--secondary), transparent 30%),
        linear-gradient(to bottom, transparent 0%, var(--darker) 80%);
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light);
}

/* Ajustar o cursor para acompanhar o texto */
.typed-cursor {
    font-size: 30px;
    /* fica do mesmo tamanho do .hero-subtitle */
    color: var(--primary);
    display: inline-block;
    animation: blink 0.7s infinite;
    vertical-align: bottom;
    /* garante alinhamento */
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


.hero-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    color: var(--darker);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.7);
    color: var(--darker);
}

.hero-btn:hover::before {
    left: 100%;
}

/* Particles */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
}

.about-content {
    position: relative;
    z-index: 1;
}
.col-lg-6{
        display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
}

.about-img {
    position: relative;
    border: 3px solid var(--primary);
    border-radius: 15px;
    width: 450px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.3);
    transition: all 0.5s ease;

    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
}

.about-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 35px rgba(0, 247, 255, 0.5);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    opacity: 0;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: var(--darker);
}

.skill-item {
    background: rgba(5, 5, 16, 0.6);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

[data-theme="light"] .skill-item {
    background: rgba(240, 248, 255, 0.6);
    border: 1px solid rgba(0, 147, 255, 0.2);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    z-index: -1;
}

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

.skill-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.progress {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-bar {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 1.5s ease-in-out;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: var(--dark);
}

.project-card {
    background: rgba(5, 5, 16, 0.6);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
}

[data-theme="light"] .project-card {
    background: rgba(240, 248, 255, 0.6);
    border: 1px solid rgba(0, 147, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.3);
    border-color: var(--primary);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 247, 255, 0.2), rgba(119, 0, 255, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

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

.tech-tag {
    background: rgba(0, 247, 255, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 247, 255, 0.3);
}

/* Creative Filter Design */
.filter-container {
    position: relative;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(5, 5, 16, 0.4);
    border: 1px solid rgba(0, 247, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .filter-container {
    background: rgba(240, 248, 255, 0.4);
    border: 1px solid rgba(0, 147, 255, 0.2);
}

.filter-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    position: relative;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    font-weight: 500;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: all 0.4s ease;
    z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--darker);
    border-color: transparent;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
    background-color: var(--darker);
}

.certification-card {
    background: rgba(5, 5, 16, 0.6);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

[data-theme="light"] .certification-card {
    background: rgba(240, 248, 255, 0.6);
    border: 1px solid rgba(0, 147, 255, 0.2);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
}

.cert-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--darker);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.certification-img {
    height: 180px;
    overflow: hidden;
}

.certification-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.certification-card:hover .certification-img img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
}

/* Footer */
.footer {
    background-color: var(--dark);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 247, 255, 0.2);
}

.social-links {
    margin-bottom: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 247, 255, 0.2);
}

.social-icon:hover {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--darker);
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

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

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

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

.float-animation {
    animation: float 5s ease-in-out infinite;
}

/* Theme Switch */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray);
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background: linear-gradient(45deg, var(--primary), var(--secondary))
}

input:checked+.slider:before {
    transform: translateX(30px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 80%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

#emoji {
    font-size: 100px;
    
}