/* Offer Announcement Bar Component Styles */

.offer-announcement {
    position: relative;
    overflow: hidden;
    background-color: #2C5530;
    color: white;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.offer-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.08)
    );
    z-index: -1;
}

.offer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.offer-scroll {
    display: flex;
    animation: scroll 80s linear infinite;
    align-items: center;
    height: 50px;
    width: fit-content;
}

.offer-scroll:hover {
    animation-play-state: paused;
}

.offer-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 3rem;
    position: relative;
}

.offer-item::after {
    content: '•';
    position: absolute;
    right: 0;
    font-size: 1rem;
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.7);
}

.offer-item:last-child::after {
    display: none;
}

.offer-badge {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 16px;
    margin-right: 1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.12);
    display: inline-block;
}

.offer-text {
    font-size: 1.4rem;
    color: white;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.03em;
    display: inline-block;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .offer-container {
        padding: 0 8px;
    }
    .offer-item {
        padding: 0 1.2rem;
    }
    .offer-badge {
        font-size: 0.85rem;
        padding: 3px 10px;
        margin-right: 0.5rem;
    }
    .offer-text {
        font-size: 1.2rem;
    }
    .offer-item::after {
        font-size: 0.9rem;
    }
} 