/* === ZMIENNE I RESET === */
:root {
    --primary-color: #0f4c81;
    /* Biznesowy niebieski */
    --secondary-color: #0b445a;
    /* Akcentujący pomarańczowy */
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === NAWIGACJA === */
header {
    background: #fff;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: 500;
    transition: color 0.3s;
}

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

/* === HERO BANNER Z FORMULARZEM === */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #2a6f97);
    color: #fff;
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.catchphrases {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.catchphrase {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
}

.catchphrase i {
    color: var(--secondary-color);
}

.hero-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    color: var(--text-dark);
}

.hero-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #d05303;
}

/* === ŹRÓDŁA DANYCH === */
.sources {
    padding: 60px 5%;
    text-align: center;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.sources-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.source-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 250px;
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.source-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.source-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: auto;
}

.source-card p {
    margin-bottom: 0px;
    margin-top: auto;
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
}

.badge.active {
    background: #28a745;
}

.badge.soon {
    background: #6c757d;
}

.opacity-50 {
    opacity: 0.6;
}

/* === USŁUGI & FILTRY === */
.services {
    padding: 60px 5%;
}

.services-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-list li,
.format-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-list i {
    color: var(--secondary-color);
}

.format-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* === GOTOWE BAZY (PREDEFINIOWANE) === */
.predefined {
    padding: 60px 5%;
    background: var(--bg-light);
    text-align: center;
}

.db-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.db-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.db-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--secondary-color);
}

.db-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.db-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.db-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* === STOPKA === */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 30px 5%;
    text-align: center;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-form {
        margin: 0 auto;
    }

    .catchphrase {
        justify-content: center;
    }

    nav ul {
        display: none;
        /* Proste ukrycie na mobile na start */
    }
}