/** * Site Notice Banner - Reusable Notification System * Dismissible top bar for announcements, holidays, maintenance, etc. */ .holiday-notice { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: linear-gradient(135deg, #d32f2f 0%, #f57c00 100%); border-bottom: 2px solid rgba(255, 255, 255, 0.2); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: top; } .holiday-notice.hidden { animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; } @keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes slideUp { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100%); opacity: 0; } } .holiday-notice-container { max-width: 1400px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .holiday-notice-content { display: flex; align-items: center; gap: 12px; flex: 1; } .holiday-notice-icon { font-size: 20px; line-height: 1; flex-shrink: 0; } .holiday-notice-text { color: #ffffff; font-size: 14px; font-weight: 500; line-height: 1.5; margin: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .holiday-notice-emoji { display: inline-block; animation: bounce 2s ease-in-out infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } } .holiday-notice-close { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 6px; padding: 6px; cursor: pointer; color: #ffffff; transition: all 0.2s ease; flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; } .holiday-notice-close:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); } .holiday-notice-close:active { transform: scale(0.95); } .holiday-notice-close:focus { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 2px; } /* Body padding adjustment when banner is visible */ body.has-holiday-notice { padding-top: 52px; } /* Tablet Styles */ @media (max-width: 1024px) { .holiday-notice-container { padding: 10px 16px; } .holiday-notice-text { font-size: 13px; } .holiday-notice-icon { font-size: 18px; } body.has-holiday-notice { padding-top: 48px; } } /* Mobile Styles */ @media (max-width: 640px) { .holiday-notice-container { padding: 10px 12px; gap: 8px; } .holiday-notice-content { gap: 8px; } .holiday-notice-text { font-size: 12px; line-height: 1.4; } .holiday-notice-icon { font-size: 16px; } .holiday-notice-close { width: 28px; height: 28px; } .holiday-notice-close svg { width: 16px; height: 16px; } body.has-holiday-notice { padding-top: 44px; } } /* Ensure header doesn't get covered - removed z-index as it conflicts with dropdown stacking */ /* .header, .navbar, header { position: relative; z-index: 100; } */