:root {
    --primary-color: #2c3e50;
    --secondary-color: #c0392b; /* Akcent kolorystyczny, np. ciemna czerwień */
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-color: #ddd;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Georgia', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1.2;
    display: block;
}

.logo span {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-cta:hover {
    background-color: #a93226;
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.8)), url('https://source.unsplash.com/random/1920x1080/?office,law') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

/* Fallback background if image fails or for speed */
.hero {
    background-color: var(--primary-color); 
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Services */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.services-list li {
    background: var(--white);
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Contact & Map */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.icon-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.map-container {
    width: 100%;
    height: 400px;
    background-color: #eee;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #ccc;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
