: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 */

.info-container {
    padding-bottom: 25px;
}

.about-text {
    margin-bottom: 25px;
}

.about-text p {
    text-align: justify;
}

.technical-image {
    padding: 1rem;
    background-color: #1b1b1b;
    border-radius: 5px;
}

/* PRODUCT ADVANTAGES */

.about-us .container-50 .product-advantages-description {
    margin-bottom: 10px;
}

.product-advantages .container-50 {
    width: 50%;
}

.product-advantages .container-50 img{
    width: 100%;
    /* height: 360px; */
}

.product-advantages .container-50 .main-button {
    margin-top: 10px;
}

.product-advantages-main-text {
    padding-right: 30px;
}

.product-advantages {
    display: flex;
}

@media screen and (max-width: 1000px) {
    .product-advantages {
        flex-direction: column;
    }

    .product-advantages .container-50 img {
        margin-top: 30px;
    }

    .product-advantages .container-50 {
        width: 100%;
    }
}

/* KONIEC PRODUCT ADVANTAGES */

/* CECHY */

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

.info-card {
    padding: 1rem;
    background-color: #1b1b1b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

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

@media (min-width: 650px) {
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .info-card:last-child {
        grid-column: -3 / -1;
    }
}

@media (min-width: 1020px) {
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .info-card:last-child {
        grid-column: -3 / -1;
    }
}

/* KONIEC CECHY */

/* DANE TECHNICZNE */

table {
    width: 60%;
    border-collapse: collapse;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    font-size: 18px;
}

thead tr {
    height: 60px;
    background: linear-gradient(90deg, rgba(5,210,234,1) 0%, rgba(3,120,172,1) 20%, rgba(3,120,172,1) 80%, rgba(5,210,234,1) 100%);
}

tbody tr{
    background: linear-gradient(90deg, rgba(1,118,169,1) 0%, rgba(1,66,95,1) 20%, rgba(1,66,95,1) 80%, rgba(1,118,169,1) 100%);
}

tbody tr:nth-of-type(even) {
    background: linear-gradient(90deg, rgba(5,210,234,1) 0%, rgba(3,120,172,1) 20%, rgba(3,120,172,1) 80%, rgba(5,210,234,1) 100%);
}

@media only screen and (max-width: 1200px){
    table {
        width: 80%;
    }
}

@media only screen and (max-width: 900px){
    table {
        width: 90%;
    }
}

@media only screen and (max-width: 700px){
    table {
        font-size: 14px;
    }
}

/* KONIEC DANE TECHNICZNE */

/* PRODUCT DESCRIPTION */

.category-heading-container {
    padding: 0 20px;
    margin-top: 148px;
    background: url(../../../images/tlo-przyczepa.jpg);
    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-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

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

.product-description img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-gallery {
    display: grid;
    gap: 1rem;
    padding-top: 25px;
    padding-bottom: 50px;
}

.product-gallery-item {
    padding: 1rem;
    background-color: #1b1b1b;
    border-radius: 5px;
    transition: 0.3s;
    max-height: 440px;
}

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

.product-gallery-item:hover {
    background-color: #222222;
    cursor: pointer;
}

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

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

@media (max-width: 425px) {
    .product-description h3 {
        font-size: 1.5rem;
    }
}

/* GALLERY MODAL */
.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    animation: zoom 0.3s ease-in-out;
    z-index: 2000;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
.modal img {
    max-height: 90%;
    max-width: 90%;
    object-fit: cover;
}

.closeBtn {
    color: rgba(255, 255, 255, 0.87);
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.closeBtn:hover {
    color: rgb(255, 255, 255);
}

.main-button {
    padding: 19px 30px;
    font-size: 18px;
    background-color: var(--nav-bg-color);
    border: none;
    border-radius: 7px;
    color: #fff;
    font-weight: 700;
    transition: 0.3s;
}

.main-button:hover {
    cursor: pointer;
    background-color: rgb(0, 66, 95);
}

/* KONIEC PRODUCT DESCRIPTION */

/* 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: 710px) {
    .category-heading h1 {
        font-size: 34px;
    }

    .product-description h3 {
        font-size: 28px;
    }

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

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

.additional-info {
    margin: 20px 0;
}

.download-button {
    font-size: 24px;
    padding: 19px 30px;
    background-color: var(--nav-bg-color);
    border: none;
    border-radius: 7px;
    color: #fff;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 25px;
}

.download-button:hover {
    cursor: pointer;
    background-color: rgb(0, 66, 95);
}

.download-icon {
    font-size: 35px;
    padding-right: 13px;
}

@media screen and (max-width: 760px) {
    .download-button {
        font-size: 20px;
    }
}

@media screen and (max-width: 640px) {
    .download-button {
        font-size: 16px;
    }

    .download-icon {
        font-size: 28px;
    }
}