/* THEME: produkcja
   PALETTE: Stal Produkcja
*/

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #475569;
    --primary: #4f46e5;
    --primary-light: #e0e7ff;
    --accent: #4338ca;
    --border: #cbd5e1;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-main);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='%23334155' fill-opacity='0.05'/%3E%3C/svg%3E");
    color: var(--text-main);
    line-height: 1.6;
}

body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 5px;
    background: var(--primary); z-index: 9999;
}

.site-nav { background: #ffffff; border-bottom: 1px solid var(--border); padding: 15px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-box { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-icon {
    background: var(--primary) !important; color: #fff !important;
    width: 44px; height: 44px; border-radius: 0px !important; 
    font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center;
}

.logo-text { color: var(--text-main) !important; font-weight: 600; font-size: 24px; letter-spacing: 1px;  }

.nav-menu { display: flex; list-style: none; gap: 10px; }
.nav-menu li a {
    color: var(--text-muted); font-weight: 700; font-size: 13px; padding: 8px 15px; text-transform: uppercase;
    transition: all 0.3s; cursor: pointer; text-decoration: none;  
}
.nav-menu li a:hover { background: var(--primary); color: #fff; }

.btn-read {
    display: inline-block; margin-top: 15px; padding: 12px 24px;
    background: var(--primary); color: #fff !important; font-size: 13px; font-weight: 800; text-transform: uppercase;
    border: none; border-radius: 0px; transition: all 0.3s; cursor: pointer; text-align: center; 
}
.btn-read:hover { background: var(--accent); }

.tile-item { border: 1px solid var(--border) !important; border-radius: 0px !important; overflow: hidden; box-shadow: var(--shadow) !important; transition: all 0.4s;  }
.tile-item:hover { transform: translateY(-4px); border-color: var(--primary) !important; }
.tile-overlay { background: linear-gradient(to top, rgba(30,41,59,0.9), transparent) !important; padding: 25px !important; border-bottom: 3px solid var(--primary); }
.tile-overlay h3 { font-weight: 800; font-size: 1.4rem; color: #ffffff !important; text-transform: uppercase; }

.card { background: var(--bg-card); border: 1px solid var(--border) !important; transition: all 0.3s; border-radius: 0px; overflow: hidden; box-shadow: none; }
.card:hover { border-color: var(--primary) !important; }
.card-body h4 { font-weight: 800; font-size: 1.25rem; color: var(--text-main); margin-bottom: 12px; text-transform: uppercase; }

#sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: 0px; padding: 30px; box-shadow: none; }
#sidebar h3 { color: var(--primary); padding: 0 0 10px 0; font-weight: 800; margin: 0 0 20px 0; border-bottom: 1px solid var(--border); font-size: 16px; text-transform: uppercase; }

#view-post article { background: var(--bg-card); border: 1px solid var(--border); border-radius: 0px; padding: 50px; box-shadow: none; }
#p-title { font-size: 2.6rem; font-weight: 800; color: var(--primary); margin-bottom: 25px; line-height: 1.2;  text-transform: uppercase; }
#view-post img { border-radius: 0px !important; margin-bottom: 30px;  }
.post-content { font-size: 1.1rem; color: var(--text-main); line-height: 1.8; }
.post-content h2, .post-content h3 { color: var(--accent); font-weight: 800; margin-top: 2em; margin-bottom: 1em; text-transform: uppercase; }

@media (max-width: 768px) {
    .nav-inner { flex-direction: column; gap: 15px; } .nav-menu { flex-wrap: wrap; justify-content: center; }
}
