/* ═══════════════════════════════════════════════
   all.header.css - Header, nav, footer only
   (global reset, container, buttons now in base.css)
   ═══════════════════════════════════════════════ */

body {
    padding-top: 5%;
    background-color: #f8f9fa;
}

/* ── Header ── */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
}

.logo-img { height: 40px; width: auto; }
.logo-img-sm { height: 28px; }
.logo-text { font-size: 24px; font-weight: bold; color: #333; }

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ── Search ── */
.search { width: 350px; }

.search input {
    border: none;
    color: #333;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.search input:focus { outline: none; }

.search-button {
    border: none;
    color: #333;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.search-button:hover { box-shadow: 0 8px 12px rgba(0,0,0,0.2); }

/* ── Footer ── */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}
.footer-links a:hover { color: #3498db; }

.footer-copyright {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    width: 100%;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    body { padding-top: 200px; }
    header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    nav { flex-direction: column; width: 100%; }
    .search { width: 100%; order: -1; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; }
    nav ul li a { padding: 8px 12px; font-size: 14px; }
}
