:root {
    --primary-color: #dc143c;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --max-width: 1100px;
}

* {
    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(--bg-color);
    padding-bottom: 80px; /* Miejsce na dolny navbar */
}

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

/* GÓRNY NAGŁÓWEK */
.top-header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.main-logo {
    height: 80px; /* Możesz zmienić tę wysokość, by dopasować logo */
    width: auto;
    display: block;
}

.lang-switcher button {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 5px;
    font-size: 12px;
    border-radius: 4px;
}

.lang-switcher button:hover {
    background: #eee;
}

/* DOLNA NAWIGACJA */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
}

/* KAFELKI USŁUG */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* PODSTRONY */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

.subpage {
    padding: 60px 20px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.back-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
}

/* RWD */
@media (max-width: 600px) {
    .main-logo {
        height: 60px;
    }
}

/* ... Twoje obecne style ... */

/* Zmiana dla linków na kafelkach */
.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Styl dla tekstów na podstronach (SEO) */
.subpage-content {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.subpage-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.subpage-content h2 {
    margin: 25px 0 10px 0;
    color: var(--text-color);
}

.subpage-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.subpage-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

/* Poprawka dla logo/tytułu w nagłówku */
.site-title a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;

}

