/* Styl podstawowy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f9;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: linear-gradient(135deg, #2980b9, #2c3e50);
    color: #ecf0f1;
    padding: 80px 0;
    text-align: center;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background-color: #c0392b;
}

section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about p, .services p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.services .service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 15px;
    width: 30%;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: #2980b9;
    margin-bottom: 10px;
}

.contact p a {
    color: #2980b9;
    text-decoration: none;
}

.contact p a:hover {
    text-decoration: underline;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    margin-top: 40px;
}

/* Dodane media queries dla responsywności */

/* Na tabletach */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    header h1 {
        font-size: 2.5em;
    }

    header p {
        font-size: 1em;
    }

    .card {
        width: 45%; /* Dwie karty obok siebie na tabletach */
    }
}

/* Na telefonach */
@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 0.9em;
    }

    .card {
        width: 100%; /* Jedna karta na pełnej szerokości ekranu */
        margin: 10px 0;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}
.sales {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.sales h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.sales-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin: 10px auto 40px;
    max-width: 800px;
}

.sales-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.sales-point {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.2s ease;
}

.sales-point:hover {
    transform: translateY(-10px);
}

.sales-point img {
    width: 50px;
    margin-bottom: 15px;
}

.sales-point h3 {
    color: #2980b9;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.sales-point p {
    font-size: 1em;
    color: #555;
}

.btn-sales {
    display: inline-block;
    background-color: #2980b9;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.btn-sales:hover {
    background-color: #1f6391;
}
.sales-point .icon {
    font-size: 40px;
    color: #2980b9;
    margin-bottom: 15px;
}

/* Dodanie płynnych animacji */
* {
    transition: all 0.3s ease;
}

body {
    line-height: 1.6;
    background-color: #f4f4f9;
    overflow-x: hidden;
}

/* Animowany gradient nagłówka */
header {
    background: linear-gradient(135deg, #2980b9, #2c3e50);
    color: #ecf0f1;
    padding: 80px 0;
    text-align: center;
    animation: gradientShift 10s infinite alternate;
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #2980b9, #2c3e50); }
    100% { background: linear-gradient(135deg, #2c3e50, #2980b9); }
}

/* Subtelna animacja przycisków */
.btn, .btn-sales {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.4s, transform 0.2s;
    display: inline-block;
}

.btn:hover, .btn-sales:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

/* Cienie i animacje kart */
.card, .sales-point {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin: 15px;
    width: 30%;
    transition: transform 0.2s ease, box-shadow 0.2s;
}

.card:hover, .sales-point:hover {
    transform: translateY(-10px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

/* Efekty ikon sprzedaży */
.sales-point .icon {
    font-size: 40px;
    color: #2980b9;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.sales-point:hover .icon {
    color: #e74c3c;
}

/* Animacje w sekcji Usług */
.services .service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-in-out forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Stopniowane kolory i tło stopki */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    margin-top: 40px;
}

/* Efekty punktów sprzedażowych */
.sales-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.sales-point h3 {
    color: #2980b9;
    font-size: 1.3em;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.sales-point:hover h3 {
    color: #e74c3c;
}

/* Lepsze efekty linków kontaktowych */
.contact p a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s;
}

.contact p a:hover {
    color: #e74c3c;
}

/* Efekty przy przewijaniu - nawigacja */
@media (prefers-reduced-motion: no-preference) {
    .container, section, footer {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInSection 0.7s ease-out forwards;
    }

    @keyframes fadeInSection {
        0% { opacity: 0; transform: translateY(30px); }
        100% { opacity: 1; transform: translateY(0); }
    }
}
