/* Configurações gerais */
:root {
    --primary-color: #2196F3;
    --secondary-color: #333;
    --text-color: #666;
    --background-color: #fff;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
}

/* Config Font */
@font-face {
    font-family: 'Mokoto Glitch';
    src: url('/assets/font/Mokoto-Demo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Bloquear scroll quando menu mobile estiver aberto */
body.menu-open {
    overflow: hidden;
}

/* Dark Mode */
body.dark-mode {
    --primary-color: #64B5F6;
    --secondary-color: #fff;
    --text-color: #ddd;
    --background-color: #121212;
    background-color: var(--background-color);
    color: var(--text-color);
}

.dark-mode .header {
    background: rgba(18, 18, 18, 0.95);
}

.dark-mode .portfolio-item {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .btn.secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dark-mode .contact-form,
.dark-mode .info-item,
.dark-mode .stat-item {
    background: #1e1e1e;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.05);
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos da Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-group {
    position: relative;
    width: 50px;
    height: 50px;
}

.icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-1 {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.icon-2 {
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.90);
    opacity: 0.8;
    z-index: 2;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text {
    font-family: 'Mokoto Glitch', 'Orbitron', monospace;
    margin: 0;
    line-height: 1;
    position: relative;
}

.main-text,
.sub-text {
    background: linear-gradient(90deg,
            rgba(15.299988%, 66.299438%, 68.598938%, 1) 0%,
            rgba(0%, 14.898682%, 34.899902%, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-text {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.sub-text {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

[data-lucide="laptop-minimal"],
[data-lucide="square-code"] {
    width: 100%;
    height: 100%;
    color: #27ABB0;
    stroke-width: 1.5;
}

/* Media Queries para Responsividade da Logo */
@media (max-width: 768px) {
    .logo-wrapper {
        padding: 0.25rem 0;
    }

    .icon-group {
        width: 40px;
        height: 40px;
    }

    .main-text {
        font-size: 1.25rem;
    }

    .sub-text {
        font-size: 0.875rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%232196F3" fill-opacity="0.05" fill-rule="evenodd"/%3E%3C/svg%3E');
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-greeting {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #64B5F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.typing-text {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    min-height: 2em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn.primary {
    background: var(--gradient);
    color: white;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mouse Scroll Animation */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--text-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* Seções */
section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Projects Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 5px;
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
}

.filter-btn:hover {
    transform: scale(1.1);
    background: var(--gradient);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Estilos dos Cards de Projeto */
.portfolio-item {
    background: var(--background-color);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid rgba(33, 150, 243, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.portfolio-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.portfolio-image {
    text-align: center;
}

.portfolio-image h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.portfolio-image p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.project-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.status-completed {
    background: #2196F3;
    color: white;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.project-tag {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

.portfolio-actions {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    /* Prevent stretching */
}

.portfolio-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: 140px;
    /* Uniform width */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    /* Allow wrapping securely if needed, but width might constrain */
    line-height: 1.2;
    min-height: 40px;
    /* Uniform height constraint */
}

/* Estilos do Carrossel */
.projects-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 1rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-control:hover {
    transform: scale(1.1);
    background: var(--gradient);
}

@media (max-width: 1024px) {
    .projects-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-carousel {
        grid-template-columns: 1fr;
    }
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient);
}

.timeline-item {
    margin: 2rem 0;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Processo */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Testimonials */
/* Estilos dos Depoimentos */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 2rem);
    margin: 0 1rem;
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.control-btn:hover {
    transform: scale(1.1);
}

.dots-container {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

@media (max-width: 1024px) {
    .testimonial-card {
        min-width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: calc(100% - 2rem);
    }
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.achievement-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* Dark Mode */
.dark-mode .portfolio-content {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
}

.dark-mode .project-tag {
    background: rgba(33, 150, 243, 0.2);
    color: #64B5F6;
}

/* Featured Projects Section */
.featured-projects-section {
    margin-bottom: 3rem;
}

.featured-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.featured-project {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.featured-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.featured-project .portfolio-content {
    display: flex;
    flex-direction: column;
}

/* Thumbnail com iframe */
.portfolio-thumbnail {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
}

.portfolio-thumbnail iframe {
    width: 200%;
    height: 200%;
    transform: scale(0.5);
    transform-origin: top left;
    border: none;
    pointer-events: none;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.btn-preview {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-preview:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Info do projeto em destaque */
.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.portfolio-info>p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
}

.featured-project .portfolio-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.featured-project .portfolio-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Status badge melhorado */
.status-active {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
}

/* Responsivo para projetos em destaque */
@media (max-width: 768px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-thumbnail {
        height: 220px;
    }

    .featured-project .portfolio-actions {
        flex-direction: column;
    }
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}



.progress-bar {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress {
    background: var(--gradient);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 100%);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Contact Section */
/* Formulário de Contato */
.contact-form {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--background-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232196F3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    transition: var(--transition);
    pointer-events: none;
    background: var(--background-color);
    padding: 0 0.5rem;
}

.form-group input:focus~label,
.form-group textarea:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:not(:placeholder-shown)~label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--primary-color);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Dark Mode */
.dark-mode .contact-form {
    background: #1e1e1e;
}

.dark-mode .form-group input,
.dark-mode .form-group textarea,
.dark-mode .form-group select {
    background: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.dark-mode .form-group label {
    background: #1e1e1e;
    color: #ddd;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Scroll Top Button */
#scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1000;
}

#scroll-top.visible {
    display: flex;
}

#scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Toggle */
#dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

#dark-mode-toggle:hover {
    transform: scale(1.1);
}

/* ========================================
   RESPONSIVIDADE MOBILE COMPLETA
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .navbar {
        padding: 1rem;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Header e Navegação */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--background-color);
    }

    .navbar {
        padding: 0.75rem 1rem;
        justify-content: space-between;
    }

    /* Botão Menu Mobile */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: white;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        z-index: 1002;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        background: var(--secondary-color);
    }

    .mobile-menu-btn.active {
        background: #e74c3c;
    }

    /* Menu Mobile - Full Screen Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--background-color) 0%, #f8f9fa 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 2rem;
        z-index: 1001;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Delay para animação escalonada */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--secondary-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary-color);
        background: rgba(33, 150, 243, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    /* Hero Section Mobile */
    .hero {
        padding-top: 80px;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-greeting {
        font-size: 1.1rem;
    }

    .typing-text {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }

    /* About Section Mobile */
    .about-content,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Featured Projects Mobile */
    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-thumbnail {
        height: 200px;
    }

    .portfolio-info {
        padding: 1rem;
    }

    .portfolio-info h3 {
        font-size: 1.2rem;
    }

    .featured-project .portfolio-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .featured-project .portfolio-actions .btn {
        width: 100%;
    }

    /* Skills Section Mobile */
    .skills-container {
        grid-template-columns: 1fr;
    }

    /* Contact Section Mobile */
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Cards e Items Mobile */
    .service-card,
    .portfolio-content {
        padding: 1.25rem;
    }

    /* Footer Mobile */
    footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    /* Scroll Top Button Mobile */
    #scroll-top {
        bottom: 70px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    /* Dark Mode Toggle Mobile */
    #dark-mode-toggle {
        bottom: 70px;
        left: 15px;
        width: 40px;
        height: 40px;
    }

    /* Projects Carousel Mobile */
    .projects-carousel {
        padding: 0 0.5rem;
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-greeting {
        font-size: 1rem;
    }

    .typing-text {
        font-size: 1rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.85rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .portfolio-thumbnail {
        height: 180px;
    }

    .tech-stack {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .project-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .logo-wrapper {
        transform: scale(0.85);
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-links {
        padding: 1rem;
        overflow-y: auto;
    }

    .nav-links a {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 100px 1rem 50px;
    }
}