/*
Theme Name: Zvine OS Theme
Author: Mahfuz Ahmed
Description: A clean, dashboard-optimized theme designed for Zvine.
Version: 2.0.5
*/

:root {
    --bg-body: #f1f5f9;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #2563eb;
    --border: #e2e8f0;
}

/* Reset & Base */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--primary); transition: color 0.2s; }
a:hover { color: #1d4ed8; }
* { box-sizing: border-box; }

/* Header */
.site-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.site-brand a {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-brand span { 
    color: var(--primary); 
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 14px;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.main-navigation a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { 
    color: var(--primary); 
}

/* Main Layout */
.site-content {
    min-height: calc(100vh - 140px);
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards (Applied to article) */
article {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
article h2 { margin-top: 0; font-size: 24px; font-weight: 700; }
article h2 a { color: var(--text-main); }
article h2 a:hover { color: var(--primary); }

/* Footer */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}

@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    .main-navigation ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
}

/* Logo Styling */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 45px; /* Ensures logo fits inside the 70px header */
    width: auto;
    height: auto;
}