/* Variáveis */
:root {
    /* Dark Mode (default) */
    --primary-color: #6c63ff;
    --secondary-color: #f50057;
    --dark-color: #0a0a0a;
    --light-color: #fafafa;
    --gray-color: #666;
    --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Theme Colors */
    --body-bg: var(--dark-color);
    --text-color: var(--light-color);
    --text-color-light: #ccc;
    --card-bg: rgba(20, 20, 20, 0.8);
    --card-border: rgba(108, 99, 255, 0.1);
}

/* Light Mode */
[data-theme="light"] {
    --body-bg: #f5f5f5;
    --text-color: #333;
    --text-color-light: #666;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.1);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Ajuste para background das seções no modo claro */
[data-theme="light"] .expertise {
    background-color: #f0f0f0;
}

[data-theme="light"] .contact {
    background-color: #f0f0f0;
}

[data-theme="light"] .expertise-card,
[data-theme="light"] .contact-item,
[data-theme="light"] .contact-form {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Ajuste para texto na seção about no modo claro */
[data-theme="light"] .about-text p {
    color: var(--text-color-light);
}

[data-theme="light"] .about-details span:last-child {
    color: var(--text-color-light);
}

/* Ajuste para ícones no modo claro */
[data-theme="light"] .expertise-icon {
    background: var(--primary-color);
    color: #fff;
}

[data-theme="light"] .skill-icon {
    color: var(--primary-color);
}

[data-theme="light"] .certificate-icon,
[data-theme="light"] .studying-icon {
    color: var(--primary-color);
}

[data-theme="light"] .contact-icon {
    background: var(--primary-color);
    color: #fff;
}

[data-theme="light"] .social-icon {
    color: var(--primary-color);
}

[data-theme="light"] .social-link {
    background: var(--primary-color);
    color: #fff;
}

[data-theme="light"] .social-link:hover {
    background: var(--secondary-color);
}

/* Ajuste para o menu hamburger no modo claro */
[data-theme="light"] .hamburger span,
[data-theme="light"] .hamburger::before,
[data-theme="light"] .hamburger::after {
    background-color: var(--primary-color);
}

[data-theme="light"] .hamburger.active span,
[data-theme="light"] .hamburger.active::before,
[data-theme="light"] .hamburger.active::after {
    background-color: var(--primary-color);
}

/* Theme Toggle Button */
.theme-toggle-container {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    height: 100%;
}

.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    height: 100%;
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(15deg);
}

/* Ajuste para o menu mobile */
.mobile-nav-links .theme-toggle-container {
    margin: 1rem 0;
    justify-content: center;
    height: auto;
}

.mobile-nav-links .theme-toggle {
    padding: 0.8rem;
    height: auto;
}

.mobile-nav-links .theme-toggle i {
    font-size: 1.5rem;
}

/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

/* Cursor personalizado */
.cursor, .cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    transition: 0.1s ease;
}

/* Remover cursor personalizado em mobile */
@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--body-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(108, 99, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    display: flex;
    justify-content: center;
}

header.scrolled {
    background-color: var(--body-bg);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    padding: 0 15px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

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

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

.nav-link {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

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

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.hamburger span {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: 0;
}

.hamburger::after {
    content: '';
    bottom: 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--body-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-container {
    width: 90%;
    max-width: 1200px;
    padding: 0 15px;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-link {
    display: block;
    font-size: 24px;
    margin: 20px 0;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    font-size: 22px;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(108, 99, 255, 0.1), transparent);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background-image: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    padding:10px
}

.submit-btn {
    font-family: 'Poppins', sans-serif;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 180px;
    max-width: 200px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
}

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

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

/* Developer Avatar */
.developer-avatar {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.avatar-circle {
    width: 200px;
    height: 200px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(108, 99, 255, 0.3);
}

.center-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.6);
    position: relative;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.center-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.8;
    z-index: -1;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.emoji {
    font-size: 80px;
}

.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(108, 99, 255, 0.3);
    top: 0;
    left: 0;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.tech-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: var(--shadow);
}

.html {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #e34c26;
}

.css {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #264de4;
}

.js {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #f7df1e;
}

.react {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #61dafb;
}

.nextjs {
    color: var(--text-color);
    font-weight: 700;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray-color);
    border-radius: 30px;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin-top: 10px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow span {
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--gray-color);
    border-right: 2px solid var(--gray-color);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
    opacity: 0;
}

.arrow span:nth-child(1) {
    animation-delay: 0s;
}

.arrow span:nth-child(2) {
    animation-delay: 0.15s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes arrow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Animations */
.reveal-text {
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-text.revealed {
    transform: translateY(0);
    opacity: 1;
}

/* Skills Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--gradient);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--card-border);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.skill-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skill-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.skill-level {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 5px;
}

.php i {
    color: #777bb3;
}

.laravel i {
    color: #ff2d20;
}

.wordpress i {
    color: #21759b;
}

.tailwind i {
    color: #38bdf8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 350px;
    height: 400px;
    margin: 0 auto;
}

.developer-image {
    width: 100%;
    height: 100%;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.developer-image:hover .profile-image {
    transform: scale(1.05);
}

.emoji-large {
    font-size: 150px;
}

.frame-decoration {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    bottom: -20px;
    right: -20px;
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: #ccc;
    text-align: justify;
}

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

.detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.detail-icon {
    min-width: 35px;
    height: 35px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-top: 2px;
}

.detail span:last-child {
    word-break: break-word;
    line-height: 1.4;
    padding-top: 6px;
}

/* Contact Section */
.contact {
    background-color: rgba(10, 10, 10, 0.5);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-icon {
    min-width: 50px;
    height: 50px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray-color);
    line-height: 1.4;
    word-break: break-word;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: var(--transition);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-icon {
    min-width: 50px;
    height: 50px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
    align-self: flex-start;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
    word-break: break-word;
    line-height: 1.4;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.contact-link:hover {
    transform: translateX(5px);
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    display: block;
}

.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .form-group-row {
        flex-direction: column;
        gap: 20px;
    }
}

.form-group-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.full-width {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

input {
    height: 45px;
}

input[type="email"], input[type="text"],textarea{
    border-color: rgba(108, 99, 255, 0.2);
}


/* Adicionando regras para manter a cor consistente */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: var(--text-color) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Definindo a cor do cursor de inserção como branco */
#name, #email {
    caret-color: white;
}

textarea {
    resize: none;
    min-height: 120px;
    max-height: 200px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

input[type="email"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.3);
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    background: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
    z-index: -1;
}

.submit-btn:hover::before {
    left: 0;
}

.btn-icon {
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Efeito Pulse para botões */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

/* Footer */
.footer {
    background-color: var(--body-bg);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
}

.footer-logo p {
    color: var(--gray-color);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-group h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    display: inline-block;
}

.footer-group h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.footer-group ul li {
    margin-bottom: 10px;
}

.footer-group ul li a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-group ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    font-size: 18px;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: var(--gray-color);
    font-size: 14px;
}

.made-with {
    margin-top: 10px;
}

.made-with i {
    color: #e25555;
    margin: 0 3px;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }

    .navbar {
        width: 95%;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    section {
        padding: 60px 0;
    }
    
    .skills {
        padding-top: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-group h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-container {
        width: 95%;
    }

    .container {
        width: 100%;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
        margin: 15px auto;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 25px;
    }

    .skills-container,
    .expertise-container,
    .certificates-container,
    .studying-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-card,
    .expertise-card,
    .certificate-card,
    .studying-card {
        padding: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-icon {
        min-width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

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

    .footer-links {
        margin-top: 30px;
    }

    .footer-group {
        margin-bottom: 20px;
    }

    .footer-socials {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .developer-avatar {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .about-text p {
        font-size: 14px;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .detail {
        margin-bottom: 15px;
    }

    .contact-form {
        padding: 20px;
    }

    input, textarea {
        padding: 10px;
        font-size: 14px;
    }

    .notification {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 20px;
        padding: 15px;
    }

    .notification h3 {
        font-size: 16px;
    }

    .notification p {
        font-size: 12px;
    }

    .btn {
        max-width: 220px;
        padding: 10px 20px;
        font-size: 14px;
    }

    section {
        padding: 40px 0;
    }
    
    .skills {
        padding-top: 30px;
    }

    .developer-avatar {
        margin-top: 60px;
    }
}

/* Melhorias para Touch */
@media (hover: none) {
    .btn:hover,
    .skill-card:hover,
    .expertise-card:hover,
    .certificate-card:hover,
    .studying-card:hover,
    .contact-item:hover,
    .social-link:hover {
        transform: none;
    }

    .nav-link:hover::after,
    .mobile-nav-link:hover {
        transform: none;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .skill-icon,
    .expertise-icon,
    .certificate-icon,
    .studying-icon {
        font-size: 24px;
    }

    .contact-icon {
        min-width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Expertise Section */
.expertise {
    background-color: rgba(10, 10, 10, 0.5);
    padding: 100px 0;
}

.expertise-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.expertise-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.expertise-card p {
    color: var(--gray-color);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .expertise-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .expertise-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .expertise-container {
        grid-template-columns: 1fr;
    }
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.contact-form .btn {
    width: 100%;
    max-width: 300px;
    min-width: 250px;
    margin: 20px auto 0;
    padding: 15px 30px;
    font-size: 16px;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.contact-form .btn:hover i {
    transform: translateX(5px);
}

/* Notificação de Sucesso */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--card-bg);
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 300px;
    border-left: 4px solid #4CAF50;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    z-index: 9999;
    overflow: hidden;
}

.notification.active {
    transform: translateX(0);
}

.notification-icon {
    color: #4CAF50;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.notification p {
    color: var(--gray-color);
    font-size: 14px;
    margin: 0;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #4CAF50;
    transform-origin: left;
}

.notification.active .notification-progress {
    animation: progress 2s linear forwards;
}

@keyframes progress {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

/* Ajustando a animação para que a barra de progresso desapareça junto com o popup */
.notification:not(.active) .notification-progress {
    display: none;
}

@media (max-width: 576px) {
    .notification {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 20px;
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
    }
    
    .hero-btns {
        margin-bottom: 40px;
    }
}

/* Certificates Section */
.certificates {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certificate-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--card-border);
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.certificate-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.certificate-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.institution {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0.3rem;
}

.year {
    font-size: 0.8rem;
    color: var(--text-color-light);
}

/* Studying Section */
.studying {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.studying-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.studying-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--card-border);
}

.studying-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.studying-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.studying-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

