/* Black Friday Big Banner Styles */
/* Prominent, eye-catching banner with image support */

.blackfriday-big-banner {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    animation: bannerPulse 3s ease-in-out infinite;
}

@keyframes bannerPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 0, 0, 0.5);
    }
}

.blackfriday-banner-image-wrapper {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(20, 20, 20, 0.95) 25%,
        rgba(40, 10, 10, 0.95) 50%,
        rgba(20, 20, 20, 0.95) 75%,
        rgba(0, 0, 0, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="400" viewBox="0 0 1200 400"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23ff0000" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="1200" height="400" fill="url(%23grid)"/><circle cx="200" cy="100" r="80" fill="%23ffd700" opacity="0.1"/><circle cx="1000" cy="300" r="100" fill="%23ff0000" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

/* If you have a Black Friday image, uncomment and use this instead:
.blackfriday-banner-image-wrapper {
    background-image: url('/images/Banners/blackfriday-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
*/

/* Big Gift Box in Center Background */
.blackfriday-banner-gift-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    font-size: 20rem;
    color: rgba(255, 215, 0, 0.15);
    animation: giftBoxFloat 4s ease-in-out infinite, giftBoxGlow 3s ease-in-out infinite;
    pointer-events: none;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
}

@keyframes giftBoxFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-50%, -52%) rotate(-5deg) scale(1.05);
    }
    50% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    75% {
        transform: translate(-50%, -52%) rotate(5deg) scale(1.05);
    }
}

@keyframes giftBoxGlow {
    0%, 100% {
        color: rgba(255, 215, 0, 0.15);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
    }
    50% {
        color: rgba(255, 215, 0, 0.25);
        filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.4));
    }
}

.blackfriday-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(255, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.blackfriday-banner-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    animation: shimmer 4s infinite;
    z-index: 2;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.blackfriday-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 3;
}

.blackfriday-banner-link:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.005);
}

.blackfriday-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 3;
    padding: 0 20px;
    flex-wrap: wrap;
}

.blackfriday-banner-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-right: 18px;
}

.blackfriday-banner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff0000, #ff6b35);
    padding: 8px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    width: fit-content;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.7);
    }
}

.badge-text {
    color: #ffffff;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'sahel', 'Tahoma', sans-serif;
}

.blackfriday-banner-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.5);
    letter-spacing: 2px;
    font-family: 'sahel', 'Tahoma', sans-serif;
    line-height: 1.2;
    margin: 10px 0;
}

.blackfriday-banner-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-family: 'sahel', 'Tahoma', sans-serif;
    margin: 5px 0;
}

.blackfriday-banner-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-family: 'sahel', 'Tahoma', sans-serif;
    margin: 10px 0;
}

.blackfriday-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    padding: 15px 35px;
    border-radius: 35px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-top: 15px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blackfriday-banner-link:hover .blackfriday-banner-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.25));
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.blackfriday-banner-button {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

.blackfriday-banner-cta i {
    color: #ffffff;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.blackfriday-banner-link:hover .blackfriday-banner-cta i {
    transform: translateX(-8px);
}

.blackfriday-banner-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 200px;
}

.blackfriday-banner-icon-large {
    font-size: 6rem;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    line-height: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

.blackfriday-banner-discount-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0000, #ff6b35);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6), inset 0 0 30px rgba(255, 215, 0, 0.3);
    animation: discountRotate 3s ease-in-out infinite;
    border: 4px solid rgba(255, 215, 0, 0.5);
}

@keyframes discountRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

.discount-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-family: 'sahel', 'Tahoma', sans-serif;
    line-height: 1;
}

.discount-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    font-family: 'sahel', 'Tahoma', sans-serif;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blackfriday-banner-image-wrapper {
        min-height: 240px;
        padding: 30px 0;
    }
    
    .blackfriday-banner-gift-box {
        font-size: 15rem;
    }
    
    .blackfriday-banner-title {
        font-size: 2.8rem;
    }
    
    .blackfriday-banner-subtitle {
        font-size: 1.6rem;
    }
    
    .blackfriday-banner-icon-large {
        font-size: 5rem;
    }
    
    .blackfriday-banner-discount-badge {
        width: 130px;
        height: 130px;
    }
    
    .discount-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .blackfriday-big-banner {
        margin-bottom: 15px;
    }
    
    .blackfriday-banner-image-wrapper {
        min-height: 320px;
        padding: 25px 0;
    }
    
    .blackfriday-banner-gift-box {
        font-size: 12rem;
    }
    
    .blackfriday-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 15px;
    }
    
    .blackfriday-banner-left {
        min-width: 100%;
        align-items: center;
    }
    
    .blackfriday-banner-title {
        font-size: 2.2rem;
    }
    
    .blackfriday-banner-subtitle {
        font-size: 1.4rem;
    }
    
    .blackfriday-banner-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .blackfriday-banner-cta {
        padding: 12px 28px;
    }
    
    .blackfriday-banner-button {
        font-size: 1.1rem;
    }
    
    .blackfriday-banner-right {
        min-width: 100%;
    }
    
    .blackfriday-banner-icon-large {
        font-size: 4rem;
    }
    
    .blackfriday-banner-discount-badge {
        width: 120px;
        height: 120px;
    }
    
    .discount-number {
        font-size: 2.5rem;
    }
    
    .discount-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .blackfriday-banner-image-wrapper {
        min-height: 280px;
        padding: 20px 0;
    }
    
    .blackfriday-banner-gift-box {
        font-size: 10rem;
    }
    
    .blackfriday-banner-content {
        padding: 0 10px;
        gap: 15px;
    }
    
    .blackfriday-banner-title {
        font-size: 1.8rem;
    }
    
    .blackfriday-banner-subtitle {
        font-size: 1.2rem;
    }
    
    .blackfriday-banner-description {
        font-size: 0.9rem;
    }
    
    .blackfriday-banner-cta {
        padding: 10px 24px;
    }
    
    .blackfriday-banner-button {
        font-size: 1rem;
    }
    
    .blackfriday-banner-icon-large {
        font-size: 3.5rem;
    }
    
    .blackfriday-banner-discount-badge {
        width: 100px;
        height: 100px;
    }
    
    .discount-number {
        font-size: 2rem;
    }
    
    .discount-text {
        font-size: 0.9rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

/* RTL Support */
[dir="rtl"] .blackfriday-banner-link:hover .blackfriday-banner-cta {
    transform: translateX(5px);
}

[dir="rtl"] .blackfriday-banner-link:hover .blackfriday-banner-cta i {
    transform: translateX(8px);
}

/* Print styles */
@media print {
    .blackfriday-big-banner {
        display: none;
    }
}
