/*
Theme Name: Inżynieria Prawna - Responsywny
Description: Nowoczesny szablon oparty na CSS Grid i Flexbox.
Version: 2.0
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Calibri', Arial, sans-serif; line-height: 1.6; color: #000; background-color: #fff; padding: 20px; max-width: 1200px; margin: 0 auto; }
.site-header { margin-bottom: 40px; }
.lang-switcher { text-align: right; margin-bottom: 15px; font-size: 0.9em; }
.lang-switcher a { text-decoration: none; color: black; font-weight: bold; }
.main-navigation ul { display: flex; flex-wrap: wrap; list-style: none; border-top: 2px solid #000; border-bottom: 2px solid #000; }
.main-navigation li { flex: 1; text-align: center; border-right: 1px solid #000; }
.main-navigation li:last-child { border-right: none; }
.main-navigation a { display: block; padding: 12px 10px; text-decoration: none; color: black; font-weight: bold; text-transform: uppercase; transition: background-color 0.3s; }
.main-navigation a:hover { background-color: #f4f4f4; }
.intro-section { display: grid; grid-template-columns: 1fr 3fr 2fr; gap: 20px; align-items: center; border: 1px solid #CCCCFF; padding: 20px; margin-bottom: 40px; }
.intro-logo img { max-width: 100%; height: auto; }
.intro-text p { margin-bottom: 15px; font-size: 0.95em; }
.intro-banners { display: flex; gap: 15px; justify-content: center; align-items: center; }
.intro-banners img { max-width: 80px; height: auto; }
.services-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.service-box h3 { color: blue; font-size: 1.2em; margin-bottom: 15px; padding-bottom: 5px; border-bottom: 1px solid #CCCCFF; }
.service-box p { font-size: 0.9em; text-align: justify; }
.site-footer { text-align: center; border: 1px solid #CCCCFF; padding: 20px; font-size: 0.85em; color: #666; }
.site-footer a { color: #666; text-decoration: underline; }

@media (max-width: 850px) {
    .intro-section { grid-template-columns: 1fr; text-align: center; }
    .intro-banners { flex-wrap: wrap; }
    .main-navigation ul { flex-direction: column; border-right: 2px solid #000; border-left: 2px solid #000; }
    .main-navigation li { border-right: none; border-bottom: 1px solid #000; }
    .main-navigation li:last-child { border-bottom: none; }
}