/* Dynamic Deals & Promotions - Quiet Luxury Aesthetic */

.deals-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.deals-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.deals-container::-webkit-scrollbar {
    height: 6px;
}

.deals-container::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

/* Deal Card Component */
.deal-card {
    min-width: 300px;
    flex: 0 0 300px;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #071b2a;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.deal-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.deal-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.6s ease;
}

.deal-card:hover .deal-card-image {
    transform: scale(1.1);
    opacity: 0.5;
}

.deal-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 27, 42, 0.9) 20%, transparent 80%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.deal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d4af37;
    color: #071b2a;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.deal-premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
    color: #ffd700;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    border: 1px solid rgba(212, 175, 55, 0.5);
    z-index: 2;
}

.deal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.deal-destination {
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.deal-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.deal-price-original {
    text-decoration: line-through;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.deal-price-current {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
}

.deal-price-currency {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* Category Headers */
.section-header-gold {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header-gold h2 {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header-gold .line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, #d4af37, transparent);
}

/* Prime Deals Grid */
.prime-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.prime-deal-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.prime-deal-card:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.airline-logo-small {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airline-logo-small img {
    max-width: 100%;
    max-height: 100%;
}
