/* === GLOBAL === */
html,
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #003b4f;
}

body {
    padding-top: 70px;

    /* wysokość navbara */
}

/* === HERO BACKGROUND === */
.hero-bg {
    background: linear-gradient(to right, #003b4f, #004c60);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bg-jurado-hero {
    background: #003b4f url('../assets/img/background.png') center/cover no-repeat;
    min-height: auto;
    margin-top: 0;
}

/* === LOGO STYLING === */
.logo-shadow {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    max-width: 100%;
    height: auto;
}

/* === TEXT STYLING === */
.hero-title {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-subtext {
    font-weight: 300;
    font-size: 1.1rem;
    color: #fff;
}

/* === BUTTON STYLING === */
.btn-primary {
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.25);
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 59, 79, 0.95);
    backdrop-filter: blur(4px);
    transition: top 0.3s ease-in-out;
}

.navbar .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease, background 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover {
    color: #00c853;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.navbar-collapse {
    background-color: #003b4f;
    text-align: center;
    padding: 1rem 0;
    margin: 0;
}

/* === DROPDOWN === */
.dropdown-menu {
    background-color: rgba(0, 75, 95, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 0 0 8px 8px;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    color: #fff;
    font-weight: 400;
    padding: 0.5rem 1rem;
}

.dropdown-menu .dropdown-item:hover {
    color: #00c853;
    background: rgba(255,255,255,0.1);
}

/* === HAMBURGER === */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: brightness(5);

    /* białe kreski */
}

/* === SERVICE CARD IMAGE === */
.card-img {
    border-radius: 0.5rem;
    object-fit: cover;
}

/* === FOOTER === */
.footer {
    background-color: #212529;
    color: #ccc;
    padding: 2rem 0;
}

.footer a {
    color: #aaa;
}

.footer a:hover {
    color: #fff;
}

/* === HERO SEPARATOR === */
.hero-separator {
    display: block;
    width: 100%;
    line-height: 0;
    margin-bottom: -1px;

    /* zapobiega białej linii */
}

/* === BG NAVBAR (dla klasy opcjonalnej) === */
.bg-jurado-navbar {
    background-color: #003b4f;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 59, 79, 0.95) !important;
        backdrop-filter: blur(4px);
        padding: 1rem 0;
        margin: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
}

//Diensten
.service-modal-text {
    max-width: 700px;
    color: rgba(0,0,0,.78);
}

#serviceModalIcon svg {
    width: 56px;
    height: 56px;
}

//Artikel modal
#articleModal .lead {
    color: rgba(0,0,0,.85);
}

#articleModal h5,
#articleModal h6 {
    color: #0f172a;
}

#articleModal figure img {
    border: 1px solid #eef2f7;
}

#articleModal .border {
    border-color: #e9eef5!important;
}

//Button lees meter:root {
    --nav-offset: 72px;
}

#over-ons {
    scroll-margin-top: var(--nav-offset);
}

html {
    scroll-behavior: smooth;
}

/* natywny smooth scroll */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

//navbar language
.lang-pill {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.lang-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.85);
    background-color: transparent;
    overflow: hidden;
    transition: transform .15s ease;
}

/* flaga dopasowana do kółka */
.lang-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* hover efekt */
.lang-pill:hover .lang-circle {
    transform: scale(1.05);
}

.lang-pill:hover .lang-circle {
    transform: translateY(-1px);
}

@media (max-width: 991.98px){
    /* mobile/tabl. */
    .lang-circle {
        width: 30px;
        height: 30px;
        font-size: .75rem;
    }
}

/* LOGO: kontrola rozmiaru na wszystkich breakpointach */
.navbar-brand-logo {
    display: block;
    height: 40px;

    /* domyślnie */
    width: auto;

    /* trzyma proporcje SVG/PNG */
    max-width: 220px;

    /* gdyby ktoś wrzucił raster */
}

/* drobne dopasowanie wysokości paska i pionowe centrowanie */
.navbar .navbar-brand {
    display: flex;
    align-items: center;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.navbar {
    min-height: 56px;
}

/* SM (telefony) – najmniejsze logo */
@media (max-width: 575.98px){
    .navbar-brand-logo {
        height: 28px;
        max-width: 160px;
    }

    .navbar {
        min-height: 52px;
    }
}

/* MD (tablety) */
@media (min-width: 576px) and (max-width: 991.98px){
    .navbar-brand-logo {
        height: 34px;
        max-width: 190px;
    }
}

/* LG+ (desktop) – trochę większe, ale bez przesady */
@media (min-width: 992px){
    .navbar-brand-logo {
        height: 44px;
        max-width: 220px;
    }
}

/* Certifikaten */
.certs-section {
    background: #003b4f;
}

.certs-section h3 {
    color: #ffffff!important;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(255,106,0,.25);
}

.cert-tile {
    display: block;
    text-decoration: none;
}

.cert-thumb {
    height: 260px;
    border-radius: .5rem;
    overflow: hidden;
    background: #0b1f2a;
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}

.cert-tile:hover .cert-thumb img {
    transform: scale(1.03);
    filter: brightness(1.03);
    box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 18px rgba(255,106,0,.35);
}

.cert-cap {
    color: #dfeaf2;
    font-size: .9rem;
    text-align: center;
    margin-top: .5rem;
}

.carousel-indicators [data-bs-target] {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
}
