/* ===================================
   Promotional Banners Section
   =================================== */

.promotional-banners-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.promotional-banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-banner {
    position: relative;
    display: block;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.promo-banner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.promo-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.promo-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-banner:hover .promo-banner-image img {
    transform: scale(1.05);
}

.promo-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.promo-banner:hover .promo-banner-overlay {
    opacity: 0.8;
}

.promo-banner-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.promo-banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.promo-banner-description {
    font-size: 1rem;
    margin: 0 0 20px 0;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.promo-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #1d2327;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.promo-banner:hover .promo-banner-cta {
    background: white;
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.promo-banner-cta::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.promo-banner:hover .promo-banner-cta::after {
    transform: translateX(4px);
}

/* Single banner layout (when only 1 banner) */
.promotional-banners-grid.single-banner {
    grid-template-columns: 1fr;
}

.promotional-banners-grid.single-banner .promo-banner {
    height: 350px;
}

/* Two banners layout */
.promotional-banners-grid.two-banners {
    grid-template-columns: repeat(2, 1fr);
}

/* Responsive Design */
@media (max-width: 768px) {
    .promotional-banners-section {
        padding: 40px 0;
    }
    
    .promotional-banners-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .promo-banner {
        height: 240px;
        border-radius: 16px;
    }
    
    .promo-banner-content {
        padding: 24px;
    }
    
    .promo-banner-title {
        font-size: 1.4rem;
    }
    
    .promo-banner-description {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .promo-banner-cta {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .promotional-banners-grid.single-banner .promo-banner {
        height: 280px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .promotional-banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-banner {
        height: 260px;
    }
}

/* Animation on scroll (optional - requires JS) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-banner.animate {
    animation: fadeInUp 0.6s ease forwards;
}
