/****************************************************** */
/*************** Embajadores Section ***************** */
/****************************************************** */

/* Embajadores Section - Diseño Moderno con Swiper.js */
.embajadores-section {
    position: relative;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d2d5f 100%);
    overflow: hidden;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.embajadores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 800px 600px at 10% 20%, rgba(1, 1, 128, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 600px 400px at 90% 80%, rgba(4, 69, 27, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 50% 10%, rgba(255, 127, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: embajadorFloat 20s ease-in-out infinite;
}

.embajadores-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.03) 100px,
            rgba(255, 255, 255, 0.03) 101px
        );
    pointer-events: none;
}

@keyframes embajadorFloat {
    0%, 100% { 
        opacity: 1; 
        transform: translateY(0px);
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-10px);
    }
}

/* Section Title */
.embajadores-section .section-title h2 {
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.embajadores-section .section-title h2 span {
    background: linear-gradient(45deg, #ff6b35, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.embajadores-section .section-title p {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Embajadores 3D Wrapper */
.embajadores-3d-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 600px;
    perspective: 1200px;
}

/* Swiper Container Personalizado */
.embajadores-swiper {
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.embajadores-swiper .swiper-wrapper {
    align-items: center;
}

/* Embajador Slide */
.embajador-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

/* Embajador Card */
.embajador-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 255, 255, 0.1) inset;
}

.embajador-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.embajador-card:hover::before {
    opacity: 1;
}

/* Embajador Avatar */
.embajador-avatar {
    position: relative;


    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.embajador-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.embajador-avatar:hover img {
    transform: scale(1.1);
    filter: brightness(1.3) contrast(1.3) saturate(1.4);
}

/* Avatar Glow Effect */
.avatar-glow {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, var(--kinesky-blue), var(--kinesky-orange), var(--kinesky-blue));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: avatarPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes avatarPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Embajador Content */
.embajador-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.embajador-content h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.embajador-role {
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.embajador-quote {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    flex: 1;
}

.embajador-quote::before {
    content: '"';
    font-size: 3em;
    color: #ff6b35;
    position: absolute;
    left: -15px;
    top: -10px;
    opacity: 0.4;
    font-family: Georgia, serif;
}

/* Embajador Stats */
.embajador-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: auto;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b35;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Swiper Navigation Buttons */
.embajador-btn-next,
.embajador-btn-prev {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b35, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.embajador-btn-next:hover,
.embajador-btn-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.embajador-btn-next::after,
.embajador-btn-prev::after {
    display: none;
}

/* Swiper Pagination */
.embajador-pagination {
    bottom: 20px !important;
    text-align: center;
}

.embajador-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.embajador-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(45deg, var(--kinesky-blue), var(--kinesky-orange));
    transform: scale(1.3);
}

/* Background Effects */
.bg-effect-1,
.bg-effect-2,
.bg-effect-3 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--kinesky-blue), var(--kinesky-orange));
    opacity: 0.1;
    animation: floatEffect 8s ease-in-out infinite;
    pointer-events: none;
}

.bg-effect-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.bg-effect-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bg-effect-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes floatEffect {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .embajadores-section .section-title h2 {
        font-size: 2.5rem;
    }
    
    .embajadores-3d-wrapper {
        height: 500px;
    }
    
    .embajador-slide {
        height: 400px;
    }
    
    .embajador-card {
        max-width: 300px;
        height: 500px;
        padding: 30px 20px;
    }
    
    .embajador-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .embajador-content h4 {
        font-size: 1.3rem;
    }
    
    .embajador-quote {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .embajador-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .embajador-btn-next,
    .embajador-btn-prev {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .embajadores-section {
        min-height: 80vh;
    }
    
    .embajadores-section .section-title h2 {
        font-size: 2rem;
    }
    
    .embajadores-section .section-title p {
        font-size: 1rem;
    }
    
    .embajadores-3d-wrapper {
        height: 450px;
        padding: 0 10px;
    }
    
    .embajador-card {
        max-width: 280px;
        height: 350px;
        padding: 25px 15px;
    }
    
    .embajador-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .embajador-content h4 {
        font-size: 1.2rem;
    }
    
    .embajador-role {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .embajador-quote {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* Animation Classes */
.embajadores-section.animate-in {
    animation: sectionFadeIn 1s ease-out;
}

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

/* Swiper Slide Active Effect */
.embajador-slide-active .embajador-card {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(255, 255, 255, 0.2) inset;
}

.embajador-slide-active .avatar-glow {
    animation-duration: 2s;
    opacity: 1;
    transform: scale(1.2);
}
