/* ==========================================================================
   GaanKotha - Modular Site Header Styles (header.css)
   ========================================================================== */

/* Animated Equalizer Logo (Green matching 'সকল গান' button / --accent) */
.logo-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.logo-eq i {
  display: block;
  width: 4px;
  background: var(--accent, #0d9488);
  border-radius: 2px;
  animation: eq 1.1s ease-in-out infinite;
}

[data-theme="dark"] .logo-eq i {
  background: var(--accent, #14b8a6);
}

.logo-eq i:nth-child(1) {
  height: 9px;
  animation-delay: -0.2s;
}

.logo-eq i:nth-child(2) {
  height: 18px;
  animation-delay: -0.6s;
}

.logo-eq i:nth-child(3) {
  height: 13px;
  animation-delay: -0.9s;
}

@keyframes eq {
  0%, 100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

/* Announcement Banner */
.announcement-banner {
  background: var(--accent, #0d9488);
  color: #ffffff;
  padding: 9px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 1001;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: none;
}

/* Top Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface, #ffffff);
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 12px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 64px;
  }
}

/* Brand Logo and Title */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary, #0f172a);
  font-family: var(--font-heading, inherit);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.95;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent-subtle, rgba(13, 148, 136, 0.12));
  color: var(--accent-text, #0f766e);
  display: none;
}

@media (min-width: 640px) {
  .brand-badge {
    display: inline-block;
  }
}

/* Header Actions & Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border-subtle, #e2e8f0);
  background: var(--bg-surface, #ffffff);
  color: var(--text-secondary, #475569);
  cursor: pointer;
  transition: var(--transition, all 0.2s ease);
  flex-shrink: 0;
}

.btn-icon:hover {
  color: var(--text-primary, #0f172a);
  background: var(--bg-secondary, #f1f5f9);
  border-color: var(--border-strong, #cbd5e1);
}
