/* css/style.css */

:root {
    /* --- PALETA BARW --- */
    --primary-color: #1e293b;
    --accent-color: #5FA8B8;
    --accent-hover: #4a8a96;
    --secondary-color: #3d8c85;
    --secondary-hover: #2e6e68;
    --bg-light: #f9fafb;
    --bg-white-soft: #ffffff;
    --text-dark: #334155;
    --text-muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    background-image: none;
}

/* Globalne ustawienie linków */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
}

    .nav-link:hover {
        color: var(--accent-color) !important;
    }

    .nav-link.active {
        color: var(--secondary-color) !important;
        font-weight: 700;
    }

/* Hero Section */
.hero-section {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f7f9 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(61, 140, 133, 0.25);
    display: inline-block;
}

    .btn-primary-custom:hover {
        background-color: var(--secondary-hover);
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(61, 140, 133, 0.35);
        color: white !important;
    }

/* Link tekstowy */
.link-custom {
    color: var(--secondary-color) !important;
    font-weight: 600;
    text-decoration: none;
}

    .link-custom:hover {
        color: var(--secondary-hover) !important;
        text-decoration: underline;
    }

/* Services Cards */
.service-card {
    border: none;
    border-radius: 20px;
    background: var(--bg-white-soft);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px -10px rgba(95, 168, 184, 0.15);
        border-color: rgba(95, 168, 184, 0.2);
    }

    .service-card h4 {
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(95, 168, 184, 0.1);
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background-color: var(--secondary-color);
    color: white;
}

/* About Section */
.about-section {
    background-color: var(--bg-white-soft);
    padding: 100px 0;
}

    .about-section .bi-check-circle-fill {
        color: var(--secondary-color) !important;
    }

/* NOWE: Styl dla głównych obrazków (Hero i O nas) - zaokrąglenie */
.img-soft-rounded {
    border-radius: 24px; /* Wyraźne zaokrąglenie */
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); /* Delikatny cień */
}

/* Team Section */
.team-section {
    background: linear-gradient(to bottom, var(--bg-light) 0%, #f1f7f9 100%);
    padding: 100px 0;
}

.team-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Footer */
footer {
    background-color: var(--primary-color) !important;
    color: #cbd5e1;
    padding: 5rem 0 3rem;
}

    footer h5 {
        color: white;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    footer a {
        color: #cbd5e1 !important;
        text-decoration: none;
        transition: color 0.3s;
    }

        footer a:hover {
            color: var(--secondary-color) !important;
        }

    footer .bi {
        color: var(--secondary-color);
    }

    footer .social-links a {
        color: #cbd5e1 !important;
        font-size: 1.2rem;
    }

        footer .social-links a:hover {
            color: var(--secondary-color) !important;
        }

/* Klasy pomocnicze */
.text-accent {
    color: var(--secondary-color) !important;
}

.text-primary-dark {
    color: var(--primary-color) !important;
}

.section-bg-soft {
    background-color: var(--bg-white-soft);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }

        .hero-section .col-lg-6:first-child {
            order: 2;
            margin-top: 3rem;
        }

        .hero-section .col-lg-6:last-child {
            order: 1;
        }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color); /* Ciemny granat */
    color: #cbd5e1;
    padding: 1rem 0;
    z-index: 9999; /* Musi być na wierzchu */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none; /* Domyślnie ukryty, JS go pokaże */
}

    #cookie-banner a {
        color: white;
        text-decoration: underline;
    }

        #cookie-banner a:hover {
            color: var(--secondary-color);
        }
        