/* =====================================
   MAIN CSS - Estilos Adaptados a Modern Theme
   Complementa modern-theme.css con estilos específicos
   ===================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

/* =====================================
   OVERRIDE DE ESTILOS GENERALES
   ===================================== */

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif !important;
    background: linear-gradient(135deg, #0f172a 0%, #0a0f1f 100%) !important;
    color: var(--text-secondary) !important;
    position: relative;
    overflow-x: hidden;
}

/* =====================================
   SWIPER CAROUSEL CUSTOM STYLES
   ===================================== */

#main-slider {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.mainSwiper {
    width: 100%;
    height: 600px;
    position: relative;
}

.swiper-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Overlay oscuro para mejor legibilidad */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 31, 0.75) 100%);
    z-index: 0;
}

.swiper-slide .container {
    position: relative;
    z-index: 1;
}

.slider-content {
    padding: 20px;
}

.slider-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.slider-content h1 strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-content h2 {
    font-size: 22px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    margin-bottom: 30px;
    line-height: 1.5;
}

.slider-content .btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none !important;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.slider-content .btn-slide:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none !important;
}

.slider-content .btn-slide i {
    font-size: 16px;
    text-decoration: none !important;
}

.slider-img {
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Estilos de paginación de Swiper */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5) !important;
    width: 12px;
    height: 12px;
    margin: 0 8px !important;
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-cyan) !important;
    opacity: 1 !important;
}

/* Botones de navegación de Swiper */
.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    opacity: 0.7;
    transition: var(--transition);
    color: white !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--gradient-primary) !important;
    opacity: 1;
    border-color: transparent;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px !important;
    font-weight: 900;
}

/* Posicionamiento de botones */
.swiper-button-prev {
    left: 20px !important;
}

.swiper-button-next {
    right: 20px !important;
}

/* =====================================
   SECTION STYLES
   ===================================== */

section {
    position: relative;
    z-index: 1;
}

.center {
    text-align: center;
    margin-bottom: 50px;
}

.center h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

/* =====================================
   FEATURE WRAP MEJORADO
   ===================================== */

.feature-wrap {
    text-align: center;
    padding: 40px 25px;
}

.feature-wrap .icon-wrapper {
    font-size: 56px;
    margin-bottom: 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-wrap h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    margin-top: 15px;
}

.feature-wrap p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================================
   TRABAJOS RECIENTES - PORTAFOLIO
   ===================================== */

.portfolio-item {
    overflow: hidden;
    margin-bottom: 24px;
    padding: 0 12px;
}

.recent-work-wrap {
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    aspect-ratio: 16 / 9;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.recent-work-wrap:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-cyan);
}

.recent-work-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    border-radius: 16px;
}

.recent-work-wrap:hover img {
    transform: scale(1.05);
}

.recent-work-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(10, 15, 31, 0.95) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.recent-work-wrap:hover .overlay {
    opacity: 1;
}

.recent-work-wrap .overlay .recent-work-inner {
    padding: 30px 20px;
    text-align: center;
}

.recent-work-wrap .overlay h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.recent-work-wrap .overlay h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.recent-work-wrap .overlay h3 a:hover {
    color: var(--accent-cyan);
}

.recent-work-wrap .overlay p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.portfolio-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
}

.portfolio-actions a:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.portfolio-actions a i {
    transition: var(--transition);
}

.portfolio-actions a:hover i {
    transform: scale(1.2);
}

/* Responsive para portfolio */
@media (max-width: 991px) {
    .recent-work-wrap {
        margin-bottom: 0;
    }
    
    .recent-work-wrap .overlay h3 {
        font-size: 16px;
    }
    
    .recent-work-wrap .overlay p {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .recent-work-wrap .overlay .recent-work-inner {
        padding: 20px 15px;
    }
    
    .recent-work-wrap .overlay h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .portfolio-actions {
        gap: 10px;
    }
    
    .portfolio-actions a {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* =====================================
   CONTACT CTA SECTION
   ===================================== */

.contact-cta {
    background: rgba(99, 102, 241, 0.08);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.contact-info-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-info-content .icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.contact-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.phone-display {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
}

.phone-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* =====================================
   SERVICIOS PAGE
   ===================================== */

.services-wrap {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 35px !important;
}

.services-wrap .pull-left {
    min-width: 70px;
}

.services-wrap .pull-left img {
    max-width: 70px;
    height: auto;
}

.services-wrap .media-body {
    flex: 1;
}

.services-wrap .media-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.services-wrap p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Get Started Section */

.get-started {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px 40px;
    margin-top: 60px;
    text-align: center;
}

.get-started h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.get-started .lead {
    margin-bottom: 30px;
}

.get-started .request h4 {
    margin: 0;
}

.get-started .request a {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 40px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.get-started .request a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: white;
}

/* =====================================
   HABILIDADES - SKILL BARS
   ===================================== */

.skill-wrap {
    margin-top: 50px;
}

.sinlge-skill {
    margin-bottom: 40px;
    text-align: center;
}

.sinlge-skill div {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.sinlge-skill div:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent-cyan);
    transform: translateY(-8px);
}

.sinlge-skill em {
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.sinlge-skill p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
}

/* =====================================
   FORMS & INPUTS
   ===================================== */

input.form-control,
textarea.form-control,
select.form-control {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 12px !important;
}

input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
    color: var(--text-primary) !important;
}

/* =====================================
   RESPONSIVE MEDIA QUERIES
   ===================================== */

@media (max-width: 992px) {
    .mainSwiper {
        height: 400px;
    }

    .swiper-slide {
        height: 400px;
    }

    .slider-content h1 {
        font-size: 36px;
    }

    .slider-content h2 {
        font-size: 16px !important;
    }

    .slider-img {
        display: none !important;
    }

    .center h2 {
        font-size: 36px;
    }

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

    .contact-info-content .icon-circle {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mainSwiper {
        height: 300px;
    }

    .swiper-slide {
        height: 300px;
    }

    .slider-content h1 {
        font-size: 28px;
    }

    .slider-content h2 {
        font-size: 14px !important;
    }

    .slider-content .btn-slide {
        padding: 10px 24px;
        font-size: 14px;
    }

    .center h2 {
        font-size: 28px;
    }

    .feature-wrap {
        padding: 25px 15px;
    }

    .feature-wrap h3 {
        font-size: 18px;
    }

    .get-started {
        padding: 30px 20px;
    }

    .phone-number {
        font-size: 24px;
    }

    .services-wrap {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .mainSwiper {
        height: 250px;
    }

    .swiper-slide {
        height: 250px;
    }

    .slider-content h1 {
        font-size: 22px;
    }

    .slider-content h2 {
        font-size: 13px !important;
        display: none;
    }

    .center h2 {
        font-size: 24px;
    }

    .feature-wrap {
        padding: 20px 15px;
    }

    .phone-display {
        padding: 25px 15px;
    }
}

/* =====================================
   UTILIDADES
   ===================================== */

.no-margin {
    margin: 0;
    padding: 0;
}

.slide-margin {
    margin: 100px 0;
}

@media (max-width: 768px) {
    .slide-margin {
        margin: 50px 0;
    }
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* =====================================
   ANIMACIONES BOUNCE & PULSE
   ===================================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate__animated {
    animation-duration: 0.8s !important;
}

.animate__delay-1s {
    animation-delay: 0.3s !important;
}

.animate__delay-2s {
    animation-delay: 0.6s !important;
}

/* Efecto de carga suave */
* {
    scroll-behavior: smooth;
}

/* =====================================
   GLIGHTBOX ULTRA ESPECTACULAR 🚀
   ===================================== */

/* OCULTAR completamente descripciones y títulos */
.gslide-description,
.gslide-title,
.gslide-desc {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Overlay con blur intenso y gradiente */
.goverlay {
    background: linear-gradient(135deg, 
        rgba(10, 15, 31, 0.97) 0%, 
        rgba(30, 15, 60, 0.95) 50%,
        rgba(10, 15, 31, 0.97) 100%) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    animation: overlayPulse 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

@keyframes overlayPulse {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px) saturate(100%);
    }
    50% {
        backdrop-filter: blur(20px) saturate(150%);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(30px) saturate(200%);
    }
}

/* Contenedor principal con efecto 3D */
.glightbox-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    perspective: 2000px !important;
}

/* Slide con animación 3D espectacular */
.gslide {
    animation: slide3DEntry 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    transform-style: preserve-3d !important;
}

@keyframes slide3DEntry {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateX(45deg) rotateY(-20deg) translateZ(-500px);
        filter: blur(20px) brightness(0.3);
    }
    60% {
        transform: scale(1.05) rotateX(-5deg) rotateY(5deg) translateZ(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0) rotateY(0) translateZ(0);
        filter: blur(0) brightness(1);
    }
}

/* Imagen con efecto de revelación espectacular */
.gslide-image img {
    border-radius: 20px !important;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 40px 80px -15px rgba(0, 0, 0, 0.95),
        0 20px 40px -20px rgba(99, 102, 241, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
    animation: imageSpectacular 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards !important;
    transform-style: preserve-3d !important;
    position: relative !important;
}

@keyframes imageSpectacular {
    0% {
        opacity: 0;
        transform: scale(0.7) rotateY(-90deg);
        filter: blur(30px) brightness(0);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
    50% {
        filter: blur(10px) brightness(0.5);
        box-shadow: 0 0 100px 20px rgba(99, 102, 241, 0.6);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: blur(0) brightness(1);
        box-shadow: 
            0 0 0 1px rgba(255, 255, 255, 0.1),
            0 40px 80px -15px rgba(0, 0, 0, 0.95),
            0 20px 40px -20px rgba(99, 102, 241, 0.4);
    }
}

/* Efecto de brillo en la imagen */
.gslide-image img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Loader ultra moderno con múltiples anillos */
.gloader {
    width: 80px !important;
    height: 80px !important;
    border: 6px solid rgba(99, 102, 241, 0.1) !important;
    border-top-color: #6366f1 !important;
    border-right-color: #8b5cf6 !important;
    border-radius: 50% !important;
    animation: spinPulse 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite !important;
    background: transparent !important;
    position: relative !important;
    box-shadow: 
        0 0 20px rgba(99, 102, 241, 0.3),
        inset 0 0 20px rgba(99, 102, 241, 0.2) !important;
}

.gloader::before,
.gloader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 6px solid transparent;
}

.gloader::before {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-top-color: rgba(139, 92, 246, 0.5);
    animation: spinReverse 1.2s linear infinite;
}

.gloader::after {
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-top-color: rgba(168, 85, 247, 0.7);
    animation: spin 0.6s linear infinite;
}

@keyframes spinPulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

@keyframes spinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Botones con efecto 3D y neomorfismo */
.gbtn {
    background: linear-gradient(145deg, #6366f1, #4f46e5) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    box-shadow: 
        0 10px 20px rgba(99, 102, 241, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.gbtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.gbtn:hover::before {
    width: 200%;
    height: 200%;
}

.gbtn:hover {
    background: linear-gradient(145deg, #4f46e5, #4338ca) !important;
    transform: scale(1.15) translateY(-3px) !important;
    box-shadow: 
        0 15px 30px rgba(99, 102, 241, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(99, 102, 241, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.gbtn:active {
    transform: scale(1.05) translateY(-1px) !important;
    box-shadow: 
        0 5px 15px rgba(99, 102, 241, 0.4),
        inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Botón cerrar - Diseño espectacular */
.gclose {
    background: linear-gradient(145deg, #ef4444, #dc2626) !important;
    box-shadow: 
        0 10px 20px rgba(239, 68, 68, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
}

.gclose:hover {
    background: linear-gradient(145deg, #dc2626, #b91c1c) !important;
    transform: scale(1.15) rotate(90deg) translateY(-3px) !important;
    box-shadow: 
        0 15px 30px rgba(239, 68, 68, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(239, 68, 68, 0.5) !important;
}

/* Flechas de navegación con efecto de pulso */
.gprev,
.gnext {
    opacity: 0.95 !important;
    animation: arrowPulse 2s ease-in-out infinite !important;
}

@keyframes arrowPulse {
    0%, 100% {
        box-shadow: 
            0 10px 20px rgba(99, 102, 241, 0.4),
            0 6px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 15px 30px rgba(99, 102, 241, 0.6),
            0 10px 20px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(99, 102, 241, 0.4);
    }
}

.gprev:hover,
.gnext:hover {
    opacity: 1 !important;
    animation: none !important;
}

/* Título con efecto de neón */
.gslide-title {
    color: white !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    text-shadow: 
        0 0 10px rgba(99, 102, 241, 0.8),
        0 0 20px rgba(99, 102, 241, 0.6),
        0 0 30px rgba(99, 102, 241, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.7) !important;
    margin-bottom: 15px !important;
    padding: 0 25px !important;
    animation: titleNeon 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards !important;
    letter-spacing: 0.5px !important;
}

@keyframes titleNeon {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(10px);
        text-shadow: 0 0 0 rgba(99, 102, 241, 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        text-shadow: 
            0 0 10px rgba(99, 102, 241, 0.8),
            0 0 20px rgba(99, 102, 241, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.7);
    }
}

/* Descripción con glassmorphism */
.gslide-desc {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
    padding: 20px 25px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    background: rgba(30, 41, 59, 0.4) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    animation: descSlideGlass 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards !important;
}

@keyframes descSlideGlass {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
        filter: blur(8px);
        background: rgba(30, 41, 59, 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        background: rgba(30, 41, 59, 0.4);
    }
}

/* Contenedor de descripción con gradiente */
.gslide-media + .gslide-description {
    background: linear-gradient(
        to top, 
        rgba(15, 23, 42, 0.98) 0%,
        rgba(30, 41, 59, 0.85) 50%,
        transparent 100%
    ) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    padding: 35px 25px 25px !important;
    border-radius: 0 0 20px 20px !important;
    border-top: 1px solid rgba(99, 102, 241, 0.3) !important;
}

/* Responsive - Móviles */
@media (max-width: 768px) {
    .gbtn {
        width: 50px !important;
        height: 50px !important;
    }
    
    .gslide-title {
        font-size: 22px !important;
    }
    
    .gslide-desc {
        font-size: 15px !important;
        padding: 15px 20px !important;
    }
    
    .gslide-image img {
        border-radius: 15px !important;
    }
}

/* Animación de cierre espectacular */
.glightbox-closing .gslide {
    animation: slide3DExit 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) !important;
}

@keyframes slide3DExit {
    0% {
        opacity: 1;
        transform: scale(1) rotateX(0) rotateY(0) translateZ(0);
        filter: blur(0) brightness(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotateX(-45deg) rotateY(20deg) translateZ(-500px);
        filter: blur(20px) brightness(0.3);
    }
}

.glightbox-closing .goverlay {
    animation: overlayFadeOut 0.5s ease-out !important;
}

@keyframes overlayFadeOut {
    to {
        opacity: 0;
        backdrop-filter: blur(0px) saturate(100%);
    }
}

/* =====================================
   FIN GLIGHTBOX ULTRA ESPECTACULAR
   ===================================== */

/* =====================================
   RIPPLE BUTTON EFFECT
   ===================================== */

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }
}
