/* Reset i style bazowe */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Nagłówek */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo {
    height: 50px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}
.logo-container:hover .logo {
    transform: scale(1.1);
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #007BFF;
}

/* Sekcja Hero */
.hero {
    background: linear-gradient(135deg, #007BFF, #00B4DB);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}
.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: #007BFF;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background: #f1f1f1;
    transform: scale(1.05);
}

/* Animacje kluczowe */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sekcja Funkcje */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background: #fff;
}
.feature {
    text-align: center;
    width: 30%;
    transition: transform 0.3s ease;
}
.feature:hover {
    transform: translateY(-10px);
}
.feature-circle {
    width: 60px;
    height: 60px;
    background: #007BFF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5em;
}

/* Sekcja Usługi (Tabs) */
.tabs {
    padding: 50px 20px;
    text-align: center;
    background: #f0f0f0;
}
.tabs h2 {
    margin-bottom: 30px;
}
.tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.tab {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.tab:hover {
    background: #007BFF;
    color: #fff;
    transform: translateY(-5px);
}

/* Stopka */
footer {
    padding: 20px;
    text-align: center;
    background: #333;
    color: #fff;
}

/* Responsywność */
@media (max-width: 768px) {
    /* Nagłówek */
    header {
        flex-direction: column;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    .nav-links li {
        margin: 10px 0;
    }
    
    /* Sekcja Hero */
    .hero {
        padding: 80px 10px;
    }
    .hero h2 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .cta-button {
        padding: 10px 20px;
    }
    
    /* Sekcja Funkcje */
    .features {
        flex-direction: column;
        align-items: center;
    }
    .feature {
        width: 80%;
        margin-bottom: 20px;
    }
    
    /* Sekcja Usługi (Tabs) */
    .tabs-container {
        flex-direction: column;
    }
}
