/* ============================================
   SLIDER MODERNO COM LAYOUT DIVIDIDO
   ============================================ */

   /* CORREÇÕES PARA O SLIDER */

   /* Garantir que o header fique ACIMA do slider */
   .hero-header-container {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       z-index: 100;
       background: transparent;
       padding: 20px 0;
   }

   /* Ajustar o slider para ter altura definida */
   .hero-slider-wrapper {
       position: relative;
       width: 100%;
       /*min-height: 100vh;*/
   }

   .hero-slider {
       width: 100%;
       height: 100vh;
       min-height: 700px;
   }

   /* Corrigir posicionamento do conteúdo */
   .swiper-slide {
       position: relative;
       overflow: hidden;
       background: linear-gradient(135deg, #0a0f1e 0%, #1a1f2e 100%);
       display: flex;
       align-items: center;
       justify-content: center;
   }

   .container {
       position: relative;
       z-index: 10;
       width: 100%;
       max-width: 1200px;
       margin: 0 auto;
       padding: 0 15px;
   }

   .slide-layout {
       display: flex;
       align-items: center;
       min-height: 100vh;
       padding: 120px 0 80px;
       position: relative;
       z-index: 5;
   }

   /* Coluna de conteúdo - garantir que o texto apareça */
   .slide-content-col {
       flex: 1;
       padding-right: 60px;
       opacity: 1 !important;
       visibility: visible !important;
       color: white;
   }

   .slide-content-col .slide-subtitle,
   .slide-content-col .slide-title,
   .slide-content-col .slide-description,
   .slide-content-col .slide-btn {
       opacity: 1 !important;
       visibility: visible !important;
   }

   /* Estilos para o título */
   .slide-title {
       font-size: clamp(2rem, 4vw, 3.5rem);
       font-weight: 800;
       line-height: 1.2;
       margin-bottom: 25px;
       color: inherit;
   }

   .slide-title .highlight {
       background: linear-gradient(45deg, #00ff88, #00ccff);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }

   /* Coluna da imagem */
   .slide-image-col {
       flex: 1;
       position: relative;
   }

   .image-wrapper {
       position: relative;       
       overflow: hidden;       
       transform: perspective(1000px) rotateY(-5deg);
       transition: transform 0.5s ease;
       max-width: 500px;
       margin-left: auto;
   }

   /* Corrigir posição da imagem quando à esquerda */
   .image-left .slide-layout {
       flex-direction: row-reverse;
   }

   .image-left .slide-content-col {
       padding-right: 0;
       padding-left: 60px;
   }

   .image-left .image-wrapper {
       margin-left: 0;
       margin-right: auto;
   }

   /* Imagens */
   .main-image {
       width: 100%;
       height: auto;
       display: block;
   }

   .desktop-image {
       display: block;
   }

   .mobile-image {
       display: none;
   }

   /* Imagem secundária */
   .secondary-image-wrapper {
       position: absolute;
       top: -30px;
       right: -30px;
       z-index: 15;
       animation: float 6s ease-in-out infinite;
   }

   .secondary-image {
       max-width: 180px;
       border-radius: 10px;
       box-shadow: 0 20px 40px rgba(0,0,0,0.4);
       border: 3px solid rgba(255,255,255,0.2);
   }

   /* Fundo com efeito */
   .slide-background-effect {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       z-index: 1;
       pointer-events: none;
   }

   .slide-overlay {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       z-index: 2;
       pointer-events: none;
   }

   /* Botão */
   .slide-btn {
       display: inline-flex;
       align-items: center;
       gap: 10px;
       padding: 15px 35px;
       background: #00ff88;
       color: #0a0f1e;
       border: none;
       border-radius: 50px;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 1px;
       transition: all 0.3s ease;
       text-decoration: none;
       margin-top: 30px;
   }

   .slide-btn:hover {
       background: #00ccff;
       transform: translateY(-3px);
       box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
       color: #0a0f1e;
   }

   .slide-btn i {
       transition: transform 0.3s ease;
   }

   .slide-btn:hover i {
       transform: translateX(5px);
   }

   /* Responsividade */
   @media (max-width: 992px) {
       .slide-layout {
           flex-direction: column !important;
           text-align: center;
           padding: 150px 0 80px;
       }
       
       .slide-content-col {
           padding: 0 !important;
           margin-bottom: 50px;
       }
       
       .slide-subtitle::after {
           left: 50%;
           transform: translateX(-50%);
       }
       
       .slide-description {
           margin-left: auto;
           margin-right: auto;
       }
       
       .image-wrapper {
           margin: 0 auto;
           transform: perspective(1000px) rotateY(0);
       }
       
       .desktop-image {
           display: none;
       }
       
       .mobile-image {
           display: block;
       }
       
       .secondary-image-wrapper {
           top: -20px;
           right: -20px;
       }
       
       .secondary-image {
           max-width: 120px;
       }
   }

   @media (max-width: 768px) {
       .hero-slider {
           height: auto;
           min-height: 600px;
       }
       
       .slide-layout {
           min-height: 600px;
           padding: 120px 0 60px;
       }
       
       .slide-title {
           font-size: 2rem;
       }
       
       .slide-btn {
           padding: 12px 25px;
           font-size: 14px;
       }
   }



.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

/* Slides individuais */
.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0f1e 0%, #1a1f2e 100%);
}

/* Layout dividido */
.slide-layout {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

/* Coluna de conteúdo */
.slide-content-col {
    flex: 1;
    padding-right: 60px;
    animation: fadeInUp 1s ease;
}

/* Coluna de imagem */
.slide-image-col {
    flex: 1;
    position: relative;
}

/* Posicionamento das imagens */
.image-left .slide-layout {
    flex-direction: row-reverse;
}

.image-left .slide-content-col {
    padding-right: 0;
    padding-left: 60px;
}

/* Subtítulo */
.slide-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
    display: inline-block;
}

.slide-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: currentColor;
    opacity: 0.5;
}

/* Título */
.slide-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.slide-title .highlight {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.slide-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    opacity: 0.3;
    filter: blur(4px);
}

/* Descrição */
.slide-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

/* Tech Stack Badges */
.slide-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.tech-badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: #00ff88;
}

/* Botão */
.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #00ff88;
    color: #0a0f1e;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.slide-btn i {
    transition: transform 0.3s ease;
}

.slide-btn:hover {
    background: #00ccff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.slide-btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   EFEITOS DE IMAGEM
   ============================================ */

.image-wrapper {
    position: relative;   
    overflow: hidden;    
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    animation: floatImage 6s ease-in-out infinite;
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Efeitos hover */
[data-hover-effect="glitch"]:hover .main-image {
    animation: glitch 0.3s infinite;
}

[data-hover-effect="scan"]:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: scan 2s infinite;
}

[data-hover-effect="pulse"]:hover {
    animation: pulseGlow 1.5s infinite;
}

[data-hover-effect="matrix"]:hover::after {
    content: '01001011 01100101 01101100 01110110 01101001 01101110';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,255,0,0.2));
    color: #0f0;
    font-family: monospace;
    font-size: 10px;
    padding: 10px;
    white-space: nowrap;
    animation: matrix 2s linear infinite;
}

[data-hover-effect="circuit"]:hover .main-image {
    filter: brightness(1.2) contrast(1.2);
    mix-blend-mode: multiply;
}

[data-hover-effect="neon"]:hover {
    box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 60px #00ff88;
}

/* Imagens responsivas */
.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

/* Imagem secundária */
.secondary-image-wrapper {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 10;
    animation: float 5s ease-in-out infinite;
}

.secondary-image {
    max-width: 150px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Ícones flutuantes */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: #00ff88;
    font-size: 24px;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icon.icon-3 {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.floating-icon.icon-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

.floating-icon.icon-5 {
    top: 50%;
    left: 50%;
    animation-delay: 2.5s;
}

/* ============================================
   EFEITOS DE FUNDO
   ============================================ */

.slide-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Partículas */
.bg-particles .slide-background-effect {
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
}

/* Gradiente dinâmico */
.bg-gradient .slide-background-effect {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    opacity: 0.3;
}

/* Circuito */
.bg-circuit .slide-background-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10 10 L90 10 L90 90 L10 90 Z" stroke="%2300ff88" stroke-width="1" fill="none" stroke-dasharray="5,5"/><circle cx="50" cy="50" r="5" fill="%2300ff88" opacity="0.3"/></svg>');
    background-size: 100px 100px;
    opacity: 0.2;
    animation: circuit 20s linear infinite;
}

/* Matrix Rain */
.bg-matrix .slide-background-effect {
    background: black;
}

.bg-matrix .slide-background-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, 
        rgba(0,255,0,0.03) 0px, 
        rgba(0,255,0,0.01) 2px, 
        transparent 3px);
    animation: matrix-rain 10s linear infinite;
}

/* Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}


/* ============================================
   EFEITOS DE GRADIENTE MELHORADOS
   ============================================ */

/* Gradiente 1 - Sunset */
.bg-gradient-1 .slide-background-effect {
    background: linear-gradient(-45deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4);
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
    opacity: 0.4;
}

/* Gradiente 2 - Neon */
.bg-gradient-2 .slide-background-effect {
    background: linear-gradient(45deg, #FF0080, #FF8C00, #00FF87, #00FFFF);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.3;
}

/* Gradiente 3 - Tech */
.bg-gradient-3 .slide-background-effect {
    background: radial-gradient(circle at 30% 50%, #00ff88, #0066ff, #3300ff);
    background-size: 200% 200%;
    animation: pulseGradient 12s ease infinite;
    opacity: 0.4;
}

/* Gradiente 4 - Cyber */
.bg-gradient-4 .slide-background-effect {
    background: repeating-linear-gradient(45deg, 
        rgba(0,255,255,0.1) 0px, 
        rgba(255,0,255,0.1) 20px, 
        rgba(0,255,255,0.1) 40px);
    animation: moveStripes 20s linear infinite;
    opacity: 0.3;
}

/* Novas animações */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGradient {
    0% { background-size: 200% 200%; opacity: 0.2; }
    50% { background-size: 300% 300%; opacity: 0.5; }
    100% { background-size: 200% 200%; opacity: 0.2; }
}

@keyframes moveStripes {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Efeito Matrix melhorado */
.bg-matrix .slide-background-effect {
    background: #000;
}

.bg-matrix .slide-background-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, 
        rgba(0,255,0,0.03) 0px, 
        rgba(0,255,0,0.01) 2px, 
        transparent 3px,
        rgba(0,255,0,0.02) 5px);
    animation: matrixRain 8s linear infinite;
    pointer-events: none;
}

@keyframes matrixRain {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* Efeito Circuito melhorado */
.bg-circuit .slide-background-effect {
    background: rgba(0,0,0,0.3);
}

.bg-circuit .slide-background-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(0,255,136,0.1) 50%),
        linear-gradient(0deg, transparent 50%, rgba(0,255,136,0.1) 50%);
    background-size: 50px 50px;
    animation: circuitMove 10s linear infinite;
}

.bg-circuit .slide-background-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(0,255,136,0.2) 2px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(0,255,136,0.2) 3px, transparent 3px),
        radial-gradient(circle at 20% 80%, rgba(0,255,136,0.15) 2px, transparent 2px),
        radial-gradient(circle at 90% 20%, rgba(0,255,136,0.15) 4px, transparent 4px);
    background-size: 100px 100px;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes circuitMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-20px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-5px, 5px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(5px, -5px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(-5px, -5px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(5px, 5px);
        filter: hue-rotate(360deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

@keyframes scan {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0,255,136,0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(0,255,136,0.6);
    }
}

@keyframes matrix {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes circuit {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes matrix-rain {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 992px) {
    .slide-layout {
        flex-direction: column !important;
        text-align: center;
        padding: 80px 0;
    }
    
    .slide-content-col {
        padding: 0 !important;
        margin-bottom: 50px;
    }
    
    .slide-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .slide-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .slide-tech-stack {
        justify-content: center;
    }
    
    .image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: auto;
    }
    
    .slide-layout {
        min-height: auto;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .secondary-image {
        max-width: 100px;
    }
}