/**
 * Promotional Banner Styles
 * Created: 2025-11-17
 * Purpose: Styling for dynamic promotional messaging system
 */

/* Base Banner Styles */
.promotional-banner {
    width: 100%;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in;
    transition: all 0.3s ease;
}

.promotional-banner:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.promotional-banner .promo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.promotional-banner .promo-link:hover {
    transform: scale(1.02);
}

.promotional-banner .promo-text {
    flex: 1;
    text-align: center;
}

.promotional-banner .promo-arrow {
    font-size: 24px;
    transition: transform 0.2s ease;
}

.promotional-banner .promo-link:hover .promo-arrow {
    transform: translateX(5px);
}

/* Theme: Default (Purple Gradient) */
.promo-banner-default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #5a67d8;
}

.promo-banner-default .promo-link {
    color: white;
}

/* Theme: Holiday (Red/Pink/Purple) */
.promo-banner-holiday {
    background: linear-gradient(135deg, #c9184a 0%, #ff006e 50%, #8338ec 100%);
    border: 2px solid #c9184a;
}

.promo-banner-holiday .promo-link {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Theme: Mother's Day (Pink/Purple Pastels) */
.promo-banner-mothers-day {
    background: linear-gradient(135deg, #ffc6ff 0%, #e7c6ff 50%, #c8b6ff 100%);
    border: 2px solid #ff99ff;
}

.promo-banner-mothers-day .promo-link {
    color: #4a0e4e;
}

/* Theme: Father's Day (Blue/Green) */
.promo-banner-fathers-day {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 50%, #90e0ef 100%);
    border: 2px solid #0077b6;
}

.promo-banner-fathers-day .promo-link {
    color: white;
}

/* Theme: Valentine's Day (Red/Pink Hearts) */
.promo-banner-valentines {
    background: linear-gradient(135deg, #ff006e 0%, #ff4d88 50%, #ffb3d1 100%);
    border: 2px solid #ff006e;
}

.promo-banner-valentines .promo-link {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Theme: Birthday (Confetti Colors) */
.promo-banner-birthday {
    background: linear-gradient(135deg, #ff595e 0%, #ffca3a 25%, #8ac926 50%, #1982c4 75%, #6a4c93 100%);
    border: 2px solid #ff595e;
}

.promo-banner-birthday .promo-link {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .promotional-banner {
        padding: 12px 15px;
        margin: 15px 0;
    }

    .promotional-banner .promo-link {
        font-size: 16px;
        flex-direction: column;
        gap: 5px;
    }

    .promotional-banner .promo-arrow {
        font-size: 20px;
        transform: rotate(90deg);
    }

    .promotional-banner .promo-link:hover .promo-arrow {
        transform: rotate(90deg) translateX(5px);
    }
}

/* Sticky Banner Style (Gift Certificates, etc.) */
.promo-banner-sticky {
    background: linear-gradient(90deg, #FF66CC, #ff4db8);
    padding: 10px 15px;
    text-align: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
    border-radius: 0;
}

.promo-banner-sticky .promo-link {
    color: white;
    font-size: 16px;
}

.promo-banner-sticky .promo-emoji {
    font-size: 20px;
    margin-right: 8px;
}

.promo-banner-sticky .promo-price {
    opacity: 0.9;
    margin-left: 8px;
}

.promo-banner-sticky .promo-button {
    background: white;
    color: #FF66CC;
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.2s ease;
}

.promo-banner-sticky .promo-button:hover {
    background: #f0f0f0;
}

/* Print - Hide Banners */
@media print {
    .promotional-banner {
        display: none;
    }
}
