/* Reset stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    text-align: justify;
}
#product-page {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
/* Header (webber-header) */
.webber-header {
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.webber-header .logo-container {
    text-align: center;
}
.webber-header .text-header {
    font-size: 1.0em;
    line-height: 1.2em;
    color: #767676;
    font-weight: 400;
    text-align: center;
}
.webber-header .logo-webber {
    padding: 0 0.16em;
    background: white;
    position: relative;
    z-index: 1;
    max-width: 70%;
}
/* Główna sekcja */
.product-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
}
.header-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.3s ease; 
}
.header-image:hover {
    transform: scale(1.05); 
}
.image-with-text img:hover {
    transform: scale(1.04); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}
.image-with-text {
    position: relative; 
    display: inline-block;
    width: 100%; 
}
.image-with-text img {
    width: 100%; 
    height: auto; 
    border-radius: 16px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.image-with-overlay img {
    transition: transform 0.3s ease; 
}
.image-with-overlay img:hover {
    transform: scale(1.04); 
}
.highlighted-text {
    margin: 20px; 
    display: inline-block; 
    font-size: 0.8em; 
}
.image-with-text .overlay-text {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-99%, -44%); 
    color: #fff; 
    font-size: 2.5em; 
    font-weight: normal; 
    text-align: left; 
    padding: 10px 0px; 
    border-radius: 8px; 
}
.overlay-text p {
    font-size: 0.6em; 
    margin-top: 5px; 
    line-height: 1.5; 
    text-align: left;
    margin: 10px; 
    padding: 10px; 
    border-radius: 8px; 
}
.image-with-overlay {
    position: relative; 
    display: inline-block;
    width: 100%; 
}
.image-with-overlay img {
    border-radius: 12px;
    display: block; 
    width: 100%; 
    height: auto; 
}
.text-overlay {
    position: absolute;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%); 
    text-align: left; 
    padding-left: 20px; 
    width: 100%; 
    color: white;
}
.text-overlay h5 {
    margin: 5px;
    font-size: 1.5em; 
    font-weight: normal;
}
.text-overlay ul {
    list-style-type: disc; 
    padding-left: 20px; 
    margin: 10px 0; 
    color: white; 
}
.text-overlay ul li {
    margin-bottom: 0px; 
    font-size: 1.3em; 
}
.product-features {
    padding: 20px;
}
.product-features h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #080808;
}
.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}
.feature.reverse {
    flex-direction: row-reverse;
}
.feature-image, .feature-description {
    flex: 1 1 50%;
    padding: 20px;
}
.feature-description ul {
    padding-left: 20px; 
    margin: 10px 0; 
    list-style-type: disc; 
}
.feature-description ul li {
    margin-bottom: 5px; 
    line-height: 1.5; 
}
.feature-image img {
    width: 440px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.feature-image img:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}
.feature-description h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.feature-description p {
    font-size: 16px;
    color: #555;
    text-align: justify;
}
/* Package */
.product-package {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #0a0a0a;
}
.product-package h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #0a0a0a;
}
.package-content img {
    max-width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.package-content img:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}
.product-footer {
    text-align: center; 
    padding: 20px; 
    font-size: 0.9em; 
}
/* Responsywność */
@media (max-width: 768px) {
    .feature, .feature.reverse {
        flex-direction: column-reverse;
        text-align: left;
        align-items: center;
    }
    .feature-image {
        margin: 20px 0;
    }
    .product-header .image-with-text {
        margin: 5px; 
    }
    .product-header .overlay-text {
        margin: 5px; 
        padding: 5px; 
    }
}
@media (max-width: 480px) {
    .product-features h2 {
        font-size: 20px;
    }
    .feature-description h3 {
        font-size: 18px;
    }
    .feature-description p {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .image-with-text .overlay-text {
        font-size: 1.5em; 
        left: 1%;  
        transform: translate(0, -44%);
        text-align: left;
        padding: 10px;
    }
    .image-with-text .overlay-text .highlighted-text {
        font-size: 1.1em; 
    }
    .image-with-text .overlay-text p {
        font-size: 0.7em; 
        line-height: 1.3; 
    }
}
