/**
 * Shared header and footer chrome. Load on any page that uses includes/site-header.php or site-footer.php.
 */

/* ------------------------------------------------------------------ */
/* HEADER */
/* ------------------------------------------------------------------ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header .site-logo,
.site-header .brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text, #f5f5f5);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-header .site-logo img,
.site-header .brand-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.site-header .site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-header .site-nav a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text, #f5f5f5);
    text-decoration: none;
    transition: color 0.15s;
}

.site-header .site-nav a:hover {
    color: var(--accent, #3b82f6);
}

.site-header .nav-btn {
    background: var(--accent, #3b82f6);
    color: #fff !important;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.15s;
}

.site-header .nav-btn:hover {
    background: var(--accent-h, #2563eb) !important;
}

@media (max-width: 640px) {
    .site-header .site-nav {
        gap: 1rem;
    }
}

/* ------------------------------------------------------------------ */
/* FOOTER (full: same as homepage) */
/* ------------------------------------------------------------------ */
.site-footer-full {
    border-top: 1px solid var(--border, #2a2a2a);
    padding: 48px 24px 32px;
    background: var(--bg, #0a0a0a);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.site-footer-brand {
    width: 100%;
    margin-bottom: 48px;
}

.site-footer-logo {
    display: inline-block;
    margin-bottom: 8px;
}

.site-footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.site-footer-logo:hover .site-footer-logo-img {
    opacity: 0.9;
}

.site-footer-tagline {
    font-size: 14px;
    color: var(--muted, #a3a3a3);
    margin: 0;
}

.site-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 64px;
    margin-bottom: 48px;
    width: 100%;
    text-align: left;
}

.site-footer-col strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text, #f5f5f5);
    margin-bottom: 16px;
}

.site-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-col li {
    margin-bottom: 12px;
}

.site-footer-col a {
    color: var(--muted, #a3a3a3);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.site-footer-col a:hover {
    color: var(--accent, #3b82f6);
}

.site-footer-bottom {
    border-top: 1px solid var(--border, #2a2a2a);
    padding-top: 24px;
    width: 100%;
    max-width: 1200px;
}

.site-footer-copy {
    margin: 0;
    font-size: 14px;
    color: var(--muted, #a3a3a3);
}

@media (max-width: 900px) {
    .site-footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .site-footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
