/* Modern Flight Deals Carousel Styles */
.modern-deals-section {
    padding: 3rem 0;
    background: #f8fafc;
}

.deals-header {
    text-align: center;
    margin-bottom: 3rem;
}

.deals-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.deals-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

/* Carousel Wrapper */
.deals-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.deals-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0 2rem;
}

.deals-carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
    color: #2563eb;
}

.carousel-nav:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav i {
    font-size: 1.25rem;
}

.deal-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.deal-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f3f4f6;
}

.deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.deal-card:hover .deal-image {
    transform: scale(1.1);
}

.deal-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deal-badge i {
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.deal-badge.offline {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.deal-price-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.deal-price-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.deal-price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    margin: 0.25rem 0 0;
}

.deal-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.deal-destination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.deal-destination i {
    color: #2563eb;
    font-size: 1rem;
}

.deal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.deal-description {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.deal-cta:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

.deal-cta i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.deal-cta:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .deals-carousel-wrapper {
        padding: 0 20px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .deals-title {
        font-size: 2rem;
    }
    
    .deal-card {
        min-width: 300px;
        max-width: 300px;
    }
    
    .deal-image-wrapper {
        height: 200px;
    }
}
