/**
 * Announcement Bar Styles
 */

.announcement-bar {
    background: #EA6004;
    color: white;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-icon {
    font-size: 20px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.announcement-content {
    flex: 1;
    overflow: hidden;
}

.announcement-slider {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 60px;
}

.announcement-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-item i {
    font-size: 18px;
}

.announcement-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-item a:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

.announcement-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.announcement-bar.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-bar {
        padding: 10px 0;
    }
    
    .announcement-container {
        padding: 0 15px;
        gap: 10px;
    }
    
    .announcement-icon {
        font-size: 16px;
    }
    
    .announcement-item {
        font-size: 14px;
        gap: 8px;
    }
    
    .announcement-item i {
        font-size: 16px;
    }
    
    .announcement-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}
