/**
 * Pandora Excursions Grid - Premium Styles
 * Diseño moderno con efecto antigravity, glassmorphism y animaciones suaves
 */

/* ===================================
   GRID LAYOUT
   =================================== */
.pandora-excursions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0 auto;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .pandora-excursions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .pandora-excursions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================
   CARD CONTAINER - ANTIGRAVITY EFFECT
   =================================== */
.pandora-excursion-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Antigravity Hover Effect */
.pandora-excursion-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Subtle gradient overlay on hover */
.pandora-excursion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03) 0%, rgba(255, 107, 107, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.pandora-excursion-card:hover::before {
    opacity: 1;
}

/* ===================================
   IMAGE CAROUSEL
   =================================== */
.excursion-image-carousel {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pandora-excursion-card:hover .carousel-slide.active img {
    transform: scale(1.08);
}

/* Carousel Navigation Buttons */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.excursion-image-carousel:hover .carousel-prev,
.excursion-image-carousel:hover .carousel-next {
    opacity: 1;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev i,
.carousel-next i {
    color: #1a1a1a;
    font-size: 16px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===================================
   CONTENT AREA
   =================================== */
.excursion-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    position: relative;
    z-index: 2;
}

/* ===================================
   TITLE
   =================================== */
.excursion-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: color 0.3s ease;
}

.pandora-excursion-card:hover .excursion-title {
    color: #4A90E2;
}

/* ===================================
   META INFORMATION
   =================================== */
.excursion-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.meta-item i,
.meta-item svg {
    color: #FF6B6B;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ===================================
   DESCRIPTION
   =================================== */
.excursion-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===================================
   BADGES (PILL STYLE)
   =================================== */
.excursion-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.excursion-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #F0F4FF 0%, #E8F0FE 100%);
    color: #4A90E2;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: capitalize;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.excursion-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

/* Badge color variations */
.excursion-badge:nth-child(1) {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFE8E8 100%);
    color: #FF6B6B;
}

.excursion-badge:nth-child(2) {
    background: linear-gradient(135deg, #F0FFF4 0%, #E8F9EC 100%);
    color: #48BB78;
}

.excursion-badge:nth-child(3) {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3D6 100%);
    color: #F59E0B;
}

.excursion-badge:nth-child(4) {
    background: linear-gradient(135deg, #F3E8FF 0%, #EBE0FF 100%);
    color: #9333EA;
}

/* ===================================
   FOOTER (PRICE + BUTTON)
   =================================== */
.excursion-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* ===================================
   PRICE
   =================================== */
.excursion-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.excursion-price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #FF6B6B;
    line-height: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.excursion-price-suffix {
    font-size: 12px;
    color: #999999;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===================================
   BUTTON (ELEGANT WITH HOVER)
   =================================== */
.excursion-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    white-space: nowrap;
}

.excursion-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #357ABD 0%, #2868A8 100%);
}

.excursion-button:active {
    transform: translateY(-1px);
}

.excursion-button i,
.excursion-button svg {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.excursion-button:hover i,
.excursion-button:hover svg {
    transform: translateX(4px);
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */
@media (max-width: 768px) {
    .excursion-image-carousel {
        height: 240px;
    }

    .excursion-content {
        padding: 20px;
    }

    .excursion-title {
        font-size: 20px;
    }

    .excursion-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .excursion-button {
        width: 100%;
        justify-content: center;
    }

    .excursion-price-amount {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .excursion-image-carousel {
        height: 200px;
    }

    .excursion-content {
        padding: 18px;
        gap: 12px;
    }

    .excursion-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .meta-item {
        font-size: 13px;
    }

    .excursion-description {
        font-size: 14px;
    }

    .excursion-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
    }
}

/* ===================================
   LOADING STATE
   =================================== */
.pandora-excursion-card.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.excursion-button:focus,
.carousel-prev:focus,
.carousel-next:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .pandora-excursion-card,
    .carousel-slide,
    .excursion-button,
    .carousel-prev,
    .carousel-next,
    .excursion-badge {
        transition: none;
    }

    .pandora-excursion-card:hover {
        transform: none;
    }

    .carousel-slide.active img {
        transform: none;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .carousel-prev,
    .carousel-next,
    .carousel-dots {
        display: none;
    }

    .pandora-excursion-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}
