:root {
    --nav-bg-color: rgb(0, 93, 134);
    --nav-color: #fff;
    --bg-color: #111;
    --primary-color: #0f376c;
    --text-color: #8b8b8b;
    --text-secondary-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* text-transform: capitalize; */
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
}


body {
    /* min-height: 100vh; */
    background-color: var(--bg-color);
}

/* FULL NAVBAR */

.full-navbar {
    height: 148px;
    background: url('../../img/tlo2_2.png');
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* KONIEC FULL NAVBAR */

/* TOP BAR */

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
}

.contact-info .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-bar {
    min-height: 115px;
    padding: 20px;
}

.contact-data-container {
    display: flex;
}

.contact-data {
    padding: 10px;
}

.contact-info .contact-data .contact-icons {
    height: 18px;
}

.contact-data {
    font-size: 14px;
    color: var(--nav-color);
}

.contact-data .contact-data-inner {
    margin-top: 10px;
    display: flex;
}

.contact-data .contact-data-heading {
    font-size: 15px;
}

.contact-bar .contact-info .contact-data img {
    margin-right: 10px;
}

.contact-bar .contact-info .language-flags a{
    margin: 0 10px;
}

.language-flags {
    margin-right: 20px;
}

.flag {
    margin: 0 5px;
}

/* KONIEC TOP BAR */

/* MENU */

.header-container {
    padding: 0 20px;
}

header {
    /* position: fixed;
    left: 0;
    right: 0; */
    background: var(--nav-bg-color);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    /* z-index: 1000; */
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

header .logo {
    font-weight: bolder;
    font-size: 25px;
    color: #fff;
}

header .navbar ul{
    list-style: none;
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    font-size: 16px;
    font-weight: 500;
    padding: 20px;
    color: var(--nav-color);
    display: block;
    transition: 0.3s;
}

header .navbar ul li a:hover {
    background: rgb(0, 66, 95);
    color: #fff;
    border-radius: 5px;
}

header .navbar ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    background: var(--nav-bg-color);
    display: none;
}

header .navbar ul li ul li {
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.1);
}

header .navbar ul li ul li ul {
    left: 200px;
    top: -1px;
}

header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul {
    display: initial;
}

header .fa-caret-down {
    margin-left: 10px;
}

#menu-bar {
    display: none;
}

header label {
    font-size: 20px;
    color: var(--nav-color);
    cursor: pointer;
    display: none;
    margin-left: 20px;
}

@media(max-width: 1100px) {
    .contact-info .contact-data {
        display: none;
    }

    .contact-info {
        justify-content: center;
    }

    header {
        flex-direction: row;
        height: 64px;
    }

    header label {
        display: initial;
    }

    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg-color);
        border-top: 1px solid rgba(0,0,0,0.1);
        display: none;
        margin-top: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }

    header .navbar ul li {
        width: 100%;
    }

    header .navbar ul li ul {
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li {
        background: var(--nav-bg-color);
    }

    header .navbar ul li ul li ul {
        width: 100%;
        left: 0;
    }

    #menu-bar:checked ~ .navbar {
        display: initial;
    }
}

/* KONIEC MENU */

/* OFERTA */

.category-heading-container {
    padding: 0 20px;
    margin-top: 148px;
    background: url(../../images/produkcja-specjalna.png);
    background-size: cover;
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-heading {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-heading h1 {
    font-size: 64px;
    padding: 0 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 5px solid var(--nav-bg-color);
    text-align: center;
}

.category-heading {
    font-size: 18px;
}

.category-cards-container {
    max-width: 1248px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.category-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.category-cards h1{
    margin: 20px 0;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-left: 5px solid var(--nav-bg-color);
    font-size: 34px;
}

.cards {
    display: grid;
    gap: 1rem;
}

.card {
    padding: 1rem;
    background-color: #1b1b1b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    height: 440px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card .content-overlay {
    background: rgba(0,0,0,0.7);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.category-content {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}


.card:hover .content-overlay {
    opacity: 1;
}

.card:hover .category-content {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.fade-in-bottom {
    top: 80%;
}

@media (min-width: 900px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .card {
        height: auto;
    }
}

@media (max-width: 1200px) {
    .content-overlay {
        background: rgba(0,0,0,0.5) !important;
        opacity: 1 !important;
    }

    .category-content {
        top: 50%;
        left: 50%;
        opacity: 1;
    }
}

.card:hover {
    background-color: #222222;
}

.category-series {
    font-size: 34px;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-left: 5px solid var(--nav-bg-color);
    margin-bottom: 30px;
}

/* KONIEC OFERTA */

/* FOOTER */
footer {
    color: #d9d9d9;
    width: 100%;
    background: #111;
}

.footer-main-content {
    display: flex;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
}

.footer-main-content .footer-box {
    flex-basis: 50%;
    padding: 10px 20px;
}

.footer-box h2 {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-box .footer-content {
    margin: 20px 0 0 0;
    position: relative;
}

.footer-box .footer-content:before {
    position: absolute;
    content: '';
    top: -10px;
    height: 2px;
    width: 100%;
    background-color: #1a1a1a;
}

.footer-box .footer-content:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 15%;
    background: var(--nav-bg-color);
    top: -10px;
}

.footer-box .footer-content p {
    text-align: justify;
    color: var(--text-secondary-color);
}

.footer-left .footer-content .footer-social {
    margin: 20px 0 0 0;
}

.footer-left .footer-content .footer-social a{
    padding: 0 2px;
}

.footer-left .footer-content .footer-social a i {
    height: 40px;
    width: 40px;
    background: #1a1a1a;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.footer-left .footer-content .footer-social a i:hover {
    background: var(--nav-bg-color);
}

.footer-center .footer-content .fa-solid {
    font-size: 1.4375rem;
    background: #1a1a1a;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
}

.footer-center .footer-content .fa-solid:hover {
    background: var(--nav-bg-color); 
}

.footer-center .footer-content .footer-text {
    font-size: 1.0625rem;
    font-weight: 500;
    padding-left: 10px;
    color: var(--text-secondary-color);
}

.footer-center .footer-content .footer-phone {
    margin: 10px 0;
}

.footer-menu-item {
    font-size: 17px;
    margin-top: 1em;
}

.footer-bottom {
    text-align: center;
    padding: 5px;
    font-size: 0.9375rem;
    background: #151515;
}

.footer-bottom span {
    color: #656565;
}

.footer-bottom span a {
    color: var(--nav-bg-color);
    text-decoration: none;
}

.footer-bottom span a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 900px) {
    .footer-main-content {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .footer-main-content .footer-box {
        margin: 5px 0;
    }
}

.footer-address-city {
    padding-left: 57px;
    color: var(--text-secondary-color);
}

/* KONIEC FOOTER */

@media screen and (max-width: 600px) {
    .category-heading h1 {
        font-size: 34px;
    }

    .category-series {
        font-size: 28px;
    }

    .footer-center .footer-content .footer-text {
        font-size: 16px;
    }
}

.specialized-series {
    margin-top: 30px;
}

@media screen and (max-width: 800px) {
    .category-heading-container {
        height: 70vw;
        background-position: center;
    }
}

#wojsko, #straz-pozarna, #infrastruktura-krytyczna {
	scroll-margin-top: 200px;
}