/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 50;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 12px 0;
}

.announcement-text {
    font-weight: bold;
    animation: blink 2.5s infinite;
    font-weight: 700;           /* font-bold */
    font-size: 1rem; 
}

/* ===== SOCIAL BAR ===== */
.social-bar {
    background: linear-gradient(to right, #b91c1c, #fee2e2, #ffffff);
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    display: flex;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: #000;
}

/* ===== MAIN HEADER ===== */
.header-main {
    padding: 8px 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-logo {
    height: 80px;
    cursor: pointer;
}

.search-wrapper {
    width: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.search-box{
    position: relative;
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem; /* py-3 pl-12 pr-4 */
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb; /* gray-200 */
  color: #1f2937; /* gray-800 */
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Placeholder */
.search-input::placeholder {
  color: #9ca3af; /* gray-400 */
}

/* Focus */
.search-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Icon */
.search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #6b7280; /* gray-500 */
  pointer-events: none;
}

@media (max-width: 768px) {
    .search-wrapper {
        display: none;
    }
}

/* ===== ICONS ===== */
.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-link {
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
}

.admin-link:hover {
    background: linear-gradient(to right, #dbeafe, #eff6ff, #ffffff);
}

.admin-icon {
    width: 20px;
    height: 20px;
}

/* ===== SPACER ===== */
.header-spacer {
    height: 140px;
}

/* ===== ANIMATION ===== */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
