/*
Theme Name: Jambox 2 - Child
Template: jambox2
Author: Provector
Version: 1.0.3
Description: Child theme — nowoczesne strony oferty Provector.
*/

/* Jasne tło całej strony (nadpisuje bg_dark.jpg z WP Custom Background) */
body.custom-background,
body.wp-child-theme-jambox2-child {
    background-color: #f0f4f8 !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Biały panel nagłówka — logo Provector dobrze widoczne */
header.header {
    background: #ffffff !important;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    padding: 6px 16px 10px;
    margin-top: 14px;
    margin-bottom: 14px;
}

header.header .navbar-jambox,
header.header .container-fluid,
header.header .custom-wrapper-1 {
    background: transparent !important;
}

header.header.sticky {
    display: none !important;
}

/* Podświetlona strefa logo */
a.navbar-brand {
    display: inline-block;
    background: #f8fafc;
    border-radius: 10px;
    padding: 6px 10px;
    margin: 8px 0 !important;
}

a.navbar-brand img {
    filter: none;
    display: block;
}

/* Górne linki (O nas, Zasięg…) */
#menu-sub-menu > li > a {
    color: #334155 !important;
    border-color: #cbd5e1 !important;
}

#menu-sub-menu > li > a:hover,
#menu-sub-menu > li > a:focus {
    color: #1d4ed8 !important;
}

/* Podmenu INTERNET — klikalne linki (nie tylko napisy) */
.pvr-internet-menu .dropdown-menu > li > a {
    display: block;
    cursor: pointer;
    pointer-events: auto;
    padding: 8px 14px !important;
    font-size: 13px !important;
    line-height: 1.35;
    text-decoration: none;
}
.pvr-internet-menu .dropdown-menu > li.pvr-internet-sub--active > a,
.pvr-internet-menu .dropdown-menu > li.active > a {
    font-weight: 800;
    text-decoration: underline;
}

/* Podmenu MOŻLIWOŚCI */
.pvr-mozliwosci-menu .dropdown-menu > li > a {
    display: block;
    padding: 8px 14px !important;
    font-size: 13px !important;
    line-height: 1.35;
    text-decoration: none;
}
.pvr-mozliwosci-menu > .dropdown-menu {
    min-width: 260px;
    max-height: min(75vh, 520px);
    overflow-y: auto;
}
.pvr-mozliwosci-menu .dropdown-menu > li.pvr-mozliwosci-header > a {
    font-size: .72rem !important;
    font-weight: 800 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b !important;
    padding-top: 10px !important;
    padding-bottom: 4px !important;
    pointer-events: none;
    cursor: default;
    text-decoration: none !important;
}

.form-jambox > div.input-group > input.form-control {
    border-color: #cbd5e1 !important;
    color: #1e293b;
    background: #fff;
}

.form-jambox > div.input-group > input.form-control::-webkit-input-placeholder { color: #94a3b8; }
.form-jambox > div.input-group > input.form-control:-moz-placeholder { color: #94a3b8; }
.form-jambox > div.input-group > input.form-control::-moz-placeholder { color: #94a3b8; }
.form-jambox > div.input-group > input.form-control:-ms-input-placeholder { color: #94a3b8; }

.form-jambox > div.input-group > span.input-group-btn > button.btn {
    border-color: #cbd5e1 !important;
}

/* Breadcrumbs na jasnym tle pod headerem */
.breadcrumb a {
    color: #1d4ed8 !important;
}

.breadcrumb,
.breadcrumb > .active {
    color: #475569 !important;
}

/* ── Stopka Provector (wszystkie strony) ───────── */
.pvr-footer-disclaimer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 18px 20px 0;
    margin-top: 24px;
}
.pvr-footer-disclaimer__inner {
    max-width: 1140px;
    margin: 0 auto;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.55;
}
.pvr-footer-disclaimer__inner p {
    margin: 0 0 6px;
}

.pvr-footer {
    margin-top: 0;
    color: #e2e8f0;
    font-size: 1rem;
}
.pvr-footer__main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 28px 20px 24px;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
    gap: 28px 36px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1d4ed8 100%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}
.pvr-footer__contact-label {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.pvr-footer__phone {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: .02em;
    line-height: 1.1;
    margin-bottom: 8px;
}
.pvr-footer__phone:hover,
.pvr-footer__phone:focus {
    color: #bfdbfe;
    text-decoration: none;
}
.pvr-footer__email {
    display: inline-block;
    color: #bfdbfe;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
}
.pvr-footer__email:hover,
.pvr-footer__email:focus {
    color: #fff;
    text-decoration: underline;
}
.pvr-footer__contact-copy {
    margin: 0;
    font-size: .82rem;
    line-height: 1.45;
    color: #94a3b8;
    max-width: 320px;
}
.pvr-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 24px;
}
.pvr-footer__col-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.pvr-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pvr-footer__links li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pvr-footer__links a {
    display: block;
    padding: 10px 0;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.35;
    transition: color .15s ease;
}
.pvr-footer__links a:hover,
.pvr-footer__links a:focus {
    color: #fff;
    text-decoration: none;
}
.pvr-footer__bottom {
    background: #0b1220;
    color: #94a3b8;
    text-align: center;
    padding: 14px 20px 22px;
    font-size: .84rem;
    line-height: 1.5;
}
.pvr-footer__bottom p {
    margin: 0;
}
.pvr-footer__jambox {
    margin-top: 8px !important;
}
.pvr-footer__jambox img {
    vertical-align: middle;
    margin-left: 4px;
}
.pvr-footer--home .pvr-footer__bottom--home {
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #cbd5e1;
    padding: 20px;
}
.pvr-footer__home-menu {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
}
.pvr-footer__home-menu a {
    color: #e2e8f0;
    font-weight: 600;
    text-decoration: none;
}
.pvr-footer__home-menu a:hover {
    color: #fff;
}

/* Ukryj starą stopkę motywu rodzica (gdyby się pojawiła) */
.footer.box-3,
.footer .box-3,
.footer .box-4,
div.footer:not(.pvr-footer) {
    display: none !important;
}

/* Sidebar bloga nie na stronach ofertowych */
body:has(.pvr-page) #secondary,
body:has(.pvr-page) .sidebar {
    display: none !important;
}
body:has(.pvr-page) #primary,
body:has(.pvr-page) .content-area {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

@media (max-width: 900px) {
    .pvr-footer__main {
        grid-template-columns: 1fr;
        border-radius: 16px 16px 0 0;
        padding: 24px 18px 20px;
    }
    .pvr-footer__nav {
        grid-template-columns: 1fr;
    }
}
