/* ========================================
   CAROUSEL VIP - Modern & Responsive Design
   ======================================== */

.carousel-vip {
    width: 100%;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #EADFED;
    padding: 10px 0px;
    margin: 0;
}

/* Make the background span full viewport width on mobile while keeping content centered */
.carousel-vip.full-bleed {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.carousel-vip::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.carousel-vip-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding-left: 0; /* Eliminar el padding izquierdo del contenedor del carousel */
}

/* Asegurarnos de que el contenedor del carousel esté en un stacking context superior */
.carousel-vip-container {
    z-index: 2001;
}

.carousel-vip-title {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Swiper Container */
.vipSwiper {
    width: 100%;
    padding: 20px 50px 20px !important;
    position: relative;
    overflow: visible; /* permitir que las slides se muestren correctamente encima/por debajo si es necesario */
}

    /* Ensure swiper wrapper stretches correctly on mobile */
    .vipSwiper .swiper-wrapper {
        align-items: flex-start;
    }

/* Swiper Slide */
.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* VIP Card */
.vip-card {
    background: #ffffff;
    /* border-radius: 16px; */
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); */
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* .vip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
} */

/* Image Container */
.vip-image-container {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.vip-card:hover .vip-image {
    transform: scale(1.1);
}

/* VIP Badge */
.vip-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Info Section */
.vip-info {
    padding: 8px;
    text-align: center;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vip-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0px;
    line-height: 1.3;
}

.vip-category {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* Navigation Buttons */
.vipSwiper .swiper-button-next,
.vipSwiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.vipSwiper .swiper-button-next:hover,
.vipSwiper .swiper-button-prev:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.vipSwiper .swiper-button-next::after,
.vipSwiper .swiper-button-prev::after {
    font-size: 20px;
    color: #667eea;
    font-weight: 900;
}

/* Pagination */
.vipSwiper .swiper-pagination {
    bottom: 10px !important;
}

.vipSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.vipSwiper .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 1024px) {
    .carousel-vip-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .vipSwiper {
        padding: 15px 40px 40px !important;
    }
    
    .vipSwiper .swiper-button-next,
    .vipSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .vipSwiper .swiper-button-next::after,
    .vipSwiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .carousel-vip {
           padding: 30px 0 20px;
    }
    
    .carousel-vip-container {
        padding: 0px 0px;
    }
    
    .carousel-vip-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
        letter-spacing: 1px;
    }
    
    .vipSwiper {
        padding: 10px 35px 35px !important;
        /* padding: 10px 0px 10px !important; */
    }
    
    .vip-info {
        padding: 15px;
    }
    
    .vip-name {
        font-size: 1rem;
    }
    
    .vip-category {
        font-size: 0.8rem;
    }
    
    .vip-badge {
        padding: 6px 12px;
        font-size: 0.65rem;
        top: 10px;
        right: 10px;
    }
    
    .vipSwiper .swiper-button-next,
    .vipSwiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .vipSwiper .swiper-button-next::after,
    .vipSwiper .swiper-button-prev::after {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .carousel-vip {
        padding: 30px 0;
    }
    
    .carousel-vip-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .vipSwiper {
        /* padding: 8px 20px 24px !important; */
        padding: 10px 0px 10px !important;
    }
    
    .vip-info {
        padding: 12px;
    }
    
    .vip-name {

/* Small mobile tweaks */
@media (max-width: 480px) {
    .carousel-vip {
        padding: 20px 0 10px;
    }
    /* Use full-bleed background so gradient covers screen */
    .carousel-vip-container { max-width: 100%; padding: 0 12px; }
    .vipSwiper { padding: 6px 8px 18px !important; }
    .vip-image-container { padding-top: 140%; }
    /* Ensure cards below don't overlap the carousel */
    .container-location-page { margin-top: 160px; }
}
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .vip-category {
        font-size: 0.75rem;
    }
    
    /* Hide navigation buttons on very small screens */
    .vipSwiper .swiper-button-next,
    .vipSwiper .swiper-button-prev {
        display: none;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .carousel-vip-title {
        font-size: 1.1rem;
    }
    
    .vip-name {
        font-size: 0.85rem;
    }
    
    .vip-category {
        font-size: 0.7rem;
    }
}

/* High Resolution Screens */
@media (min-width: 1920px) {
    .carousel-vip-container {
        max-width: 1800px;
    }
    
    .carousel-vip-title {
        font-size: 3rem;
        margin-bottom: 50px;
    }
    
    .vip-name {
        font-size: 1.2rem;
    }
    
    .vip-category {
        font-size: 0.95rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .vip-card,
    .vip-image,
    .vip-badge,
    .vipSwiper .swiper-button-next,
    .vipSwiper .swiper-button-prev,
    .vipSwiper .swiper-pagination-bullet {
        transition: none;
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .vip-card {
        background: #2d3748;
    }
    
    .vip-info {
        background: #2d3748;
    }
    
    .vip-name {
        color: #f7fafc;
    }
    
    .vip-category {
        color: #cbd5e0;
    }
}

/* Eliminar margen lateral en la primera y última imagen del carousel */

.swiper-wrapper {
    margin-left: 0;
    margin-right: 0;
}

.swiper-slide:first-child {
    margin-left: 0 !important; /* Asegurar que la primera imagen esté al ras */
}

.swiper-slide:last-child {
    margin-right: 0 !important;
}