/* Resetowanie domyślnych stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f4f4;
    color: #333;
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
}

/* Nagłówek */
header {
    background: linear-gradient(135deg, #37a5c9, #125a9d);
    color: white;
    padding: 15px;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

.search-form {
    display: flex;
    gap: 5px;
}

.search-form input {
    padding: 10px;
    border: none;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.search-form input:focus {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.search-form button {
    background: white;
    border: none;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.search-form button:hover {
    background: #e0e0e0;
}

header a {
    font-size: 16px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

header a:hover {
    opacity: 0.8;
}

/* Sekcja treści */
#content {
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Poziomy slider z linkami */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    background: white;
    padding: 15px;
    white-space: nowrap;
    max-width: 1200px;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.horizontal-scroll a {
    text-align: center;
    text-decoration: none;
    color: black;
    transition: transform 0.3s;
}

.horizontal-scroll a:hover {
    transform: scale(1.1);
}

.horizontal-scroll img {
    width: 55px;
    height: 55px;
    display: block;
    margin: 0 auto;
    transition: 0.3s;
}

.horizontal-scroll span {
    font-size: 14px;
}

/* Przycisk "Przeczytaj więcej" */
.read-more {
    background: #37a5c9;
    color: white;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.read-more:hover {
    background: #125a9d;
    transform: scale(1.05);
}

/* Stopka */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #37a5c9, #125a9d);
    color: white;
    text-align: center;
    padding: 3px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

footer nav {
    margin-top: 3px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    transition: 0.3s;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Responsywność */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    .search-form {
        margin-top: 10px;
    }

    .horizontal-scroll img {
        width: 45px;
        height: 45px;
    }

    #content {
        width: 90%;
    }

    .read-more {
        width: 100%;
    }
}
