html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background-color: #ffffff;
}

header {
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.header-container {
    width: 90%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 45px;
}

nav a {
    color: #222;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

nav a:hover {
    color: #777;
}

.products-menu {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    background-color: #ffffff;
    min-width: 250px;

    padding: 15px 0;
    border: 1px solid #dddddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    z-index: 100;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    white-space: nowrap;
}

.products-menu:hover .dropdown {
    display: block;
}
.hero {
    width: 100%;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}
.products-section {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto;
}

.products-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    display: block;
    text-decoration: none;
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;

    transition: transform 0.25s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}
.construction-section {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto;
}

.construction-card {
    display: block;
    overflow: hidden;
    border-radius: 20px;
}

.construction-card img {
    width: 100%;
    height: auto;
    display: block;

    transition: transform 0.3s ease;
}

.construction-card:hover img {
    transform: scale(1.03);
}
.contact-section {
    width: 100%;
    background-color: #434343;
    color: #ffffff;
    padding: 70px 0;
}

.contact-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 60px;

    align-items: center;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-logo {
    width: 180px;
    height: auto;
    display: block;
}

.company-details p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-details h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-item a,
.contact-item span {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    line-height: 1.5;
}

.contact-item a:hover {
    text-decoration: underline;
}

.map-container {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.product-section {
    width: 90%;
    max-width: 1400px;
    margin: 100px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    align-items: start;
}

.product-image-frame {
    border: 4px solid #FF8D0B;
    padding: 14px;
}

.product-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.product-info p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.product-info h2 {
    font-size: 30px;
    margin-bottom: 20px;
}
.about-section {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto;
    text-align: center;
}

.about-section h1 {
    font-size: 48px;
    margin-bottom: 50px;
}

.about-box {
    border: 4px solid #FF8D0B;
    padding: 60px 80px;
    background-color: #ffffff;
}

.about-box p {
    margin: 0 0 30px 0;
    font-size: 19px;
    line-height: 1.8;
    text-align: center;
}

.about-box h2 {
    margin-top: 50px;
    margin-bottom: 30px;
}

.product-list {
    padding-left: 25px;
    margin-bottom: 35px;
}

.product-list li {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 18px;
}
.product-sizes {
    margin-top: 35px;
}

.product-sizes h2 {
    font-size: 30px;
    margin-bottom: 20px;
}
.industries-section {
    width: 100%;
    margin-top: 60px;
    text-align: center;
}

.industries-intro {
    margin: 0 auto 40px;
    font-size: 23px;
    line-height: 1.6;
    font-weight: 700;
}

.industries-list {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 50px;
}

.industry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.industry img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
}

.industry span {
    font-size: 17px;
    font-weight: 500;
}
.industry-handel {
    width: 90px !important;
    height: 90px !important;
}
.construction-button {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 35px;

    background-color: #FFAE12;
    color: #ffffff;

    text-decoration: none;
    font-size: 18px;
    font-weight: 700;

    border-radius: 8px;

    transition: transform 0.2s ease, background-color 0.2s ease;
}

.construction-button:hover {
    background-color: #f39d00;
    transform: scale(1.03);
}
.catalog-contents {
    margin-top: 70px;
    text-align: center;
}

.catalog-contents h2 {
    font-size: 32px;
    margin-bottom: 35px;
}

.catalog-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.catalog-list a {
    color: #222;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.catalog-list a:hover {
    transform: scale(1.04);
}
.construction-specializations {
    margin: 30px auto 0;
    padding-left: 0;
    width: fit-content;
    text-align: left;
    list-style-position: inside;
}

.construction-specializations li {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 8px;
}
.accessories-section {
    width: 90%;
    max-width: 1400px;
    margin: 100px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    align-items: start;
}

.accessories-description h1 {
    font-size: 48px;
    margin-bottom: 35px;
}

.accessories-description p {
    font-size: 19px;
    line-height: 1.8;
}

.accessories-products {
    border-left: 4px solid #FF8D0B;
    padding-left: 40px;
}

.accessories-products h2 {
    font-size: 32px;
    margin-bottom: 35px;
}

.accessory-product {
    margin-bottom: 30px;
}

.accessory-product h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.accessory-product ul {
    margin: 0;
    padding-left: 25px;
}

.accessory-product li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 3px;
}

/* =========================
   WERSJA MOBILNA
   ========================= */

@media (max-width: 768px) {

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
    }


    /* ===== NAGŁÓWEK ===== */

    header {
        height: auto;
        min-height: 80px;
    }

    .header-container {
        width: 92%;
        min-height: 80px;
        height: auto;
    }

    .logo img {
        height: 50px;
    }

    nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    nav a {
        font-size: 13px;
    }

    .dropdown {
        min-width: 200px;
    }

    .dropdown a {
        font-size: 14px;
    }


    /* ===== BANER ===== */

    .hero {
        width: 100%;
    }

    .hero img {
        width: 100%;
        height: auto;
    }


    /* ===== PRODUKTY ===== */

    .products-section {
        width: 92%;
        margin: 50px auto;
    }

.products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
}

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card img {
        width: 100%;
    }


    /* ===== BUDOWNICTWO ===== */

    .construction-section {
        width: 92%;
        margin: 50px auto;
    }

    .construction-card {
        border-radius: 12px;
    }


    /* ===== STOPKA / KONTAKT ===== */

    .contact-section {
        padding: 50px 0;
    }

    .contact-container {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 45px;
        align-items: start;
    }

    .company-info {
        gap: 25px;
    }

    .contact-logo {
        width: 160px;
    }

    .company-details p {
        font-size: 15px;
    }

    .contact-details h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .contact-item {
        margin-bottom: 20px;
    }

    .contact-item a,
    .contact-item span {
        font-size: 16px;
    }

    .map-container {
        width: 100%;
        height: 300px;
    }


    /* ===== STRONY PRODUKTOWE ===== */

    .product-section {
        width: 92%;
        margin: 60px auto;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .product-info h1 {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .product-info p {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .product-info h2 {
        font-size: 26px;
    }

    .product-image-frame {
        padding: 10px;
    }


    /* ===== O NAS ===== */

    .about-section {
        width: 92%;
        margin: 60px auto;
    }

    .about-section h1 {
        font-size: 36px;
        margin-bottom: 35px;
    }

    .about-box {
        padding: 35px 25px;
    }

    .about-box p {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .about-box h2 {
        margin-top: 40px;
        margin-bottom: 25px;
    }


    /* ===== BRANŻE ===== */

    .industries-section {
        margin-top: 45px;
    }

    .industries-intro {
        width: 92%;
        font-size: 19px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .industries-list {
        width: 92%;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .industry img {
        width: 60px;
        height: 60px;
    }

    .industry-handel {
        width: 70px !important;
        height: 70px !important;
    }

    .industry span {
        font-size: 15px;
    }


    /* ===== BUDOWNICTWO – STRONA ===== */

    .construction-specializations {
        width: 100%;
        padding-left: 0;
    }

    .construction-specializations li {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 6px;
    }

    .construction-button {
        margin-top: 30px;
        padding: 14px 25px;
        font-size: 17px;
    }

    .catalog-contents {
        margin-top: 50px;
    }

    .catalog-contents h2 {
        font-size: 27px;
        margin-bottom: 30px;
    }

    .catalog-list {
        gap: 14px;
    }

    .catalog-list a {
        font-size: 17px;
    }


    /* ===== AKCESORIA ===== */

    .accessories-section {
        width: 92%;
        margin: 60px auto;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .accessories-description h1 {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .accessories-description p {
        font-size: 17px;
        line-height: 1.7;
    }

    .accessories-products {
        border-left: 0;
        border-top: 4px solid #FF8D0B;
        padding-left: 0;
        padding-top: 30px;
    }

    .accessories-products h2 {
        font-size: 27px;
        margin-bottom: 30px;
    }

    .accessory-product {
        margin-bottom: 25px;
    }

    .accessory-product h3 {
        font-size: 19px;
    }

    .accessory-product li {
        font-size: 16px;
    }

}

/* ===== PRZEŁĄCZNIK JĘZYKA ===== */

/* ===== PRZEŁĄCZNIK JĘZYKA ===== */

.language-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switch a {
    display: flex;
    align-items: center;
    line-height: 0;
}

.language-switch img {
    width: 28px;
    height: 19px;
    object-fit: cover;
    display: block;
    border: 1px solid #999999;
    transition: transform 0.2s ease;
}

.language-switch a:hover img {
    transform: scale(1.1);
}

/* ===== POPRAWKA FLAG NA MOBILE ===== */

.language-switch {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
}

.language-switch a {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    align-items: center !important;
}

.language-switch img {
    width: 28px !important;
    height: 19px !important;
    min-width: 28px !important;
    min-height: 19px !important;
    max-width: 28px !important;
    max-height: 19px !important;
    object-fit: cover !important;
    display: block !important;
    border: 1px solid #999999 !important;
}