/* ===== ASPIRE PRODUCT DESCRIPTION STYLES ===== */

/* Opis poza gridem sidebar+main — pełna szerokość strony */
.aspire-full-width-description {
    width: 100%;
}

/* Info section */
.info-section {
    display: flex;
    justify-content: center;
    background: #f8f8f8;
    padding: 50px 20px;
}

.info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    width: 100%;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    gap: 40px;
}

.info-content {
    flex: 1;
    max-width: 55%;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 8px;
}

.info-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: #000;
    margin-bottom: 16px;
}

.info-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.info-video {
    flex: 1;
    max-width: 45%;
    text-align: right;
}

.feature-video {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .info-content {
        max-width: 100%;
        padding: 20px;
        text-align: center;
    }

    .info-content h2 { font-size: 20px; }
    .info-content p  { font-size: 15px; }

    .info-video {
        max-width: 100%;
        text-align: center;
    }

    .feature-video {
        max-width: 100%;
        height: auto;
    }
}

/* cut2d sections */
.cut2d-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cut2d-container {
    width: 90%;
    max-width: 1200px;
}

.cut2d-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.cut2d-text {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    text-align: left;
}

.cut2d-video {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.cut2d-video-container {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cut2d-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.cut2d-left-text .cut2d-text { order: 1; text-align: left; }
.cut2d-left-text .cut2d-video { order: 2; }
.cut2d-right-text .cut2d-text { order: 2; text-align: right; }
.cut2d-right-text .cut2d-video { order: 1; }

@media (max-width: 768px) {
    .cut2d-row {
        flex-direction: column;
        text-align: center;
    }

    .cut2d-text {
        max-width: 100%;
        text-align: center;
    }

    .cut2d-video {
        max-width: 100%;
        margin-top: 20px;
    }

    .cut2d-left-text .cut2d-text,
    .cut2d-right-text .cut2d-text { order: 1; }

    .cut2d-left-text .cut2d-video,
    .cut2d-right-text .cut2d-video { order: 2; }
}

/* New version section */
.new-version-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f8f8f8;
    position: relative;
}

.new-version-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.new-version-content {
    flex: 1;
    padding: 20px;
}

.new-version-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.new-version-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.new-version-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.new-version-content ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.new-version-content ul li::before {
    content: '•';
    color: #000;
    font-weight: bold;
    margin-right: 8px;
}

.btn-yellow {
    background-color: #fc8400;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-yellow:hover {
    background-color: #d97000;
}

.new-version-video {
    flex: 1;
    text-align: right;
}

.new-version-video video {
    max-width: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .new-version-container {
        flex-direction: column;
        text-align: center;
    }

    .new-version-content {
        order: 1;
        max-width: 100%;
        padding-bottom: 20px;
    }

    .new-version-video {
        order: 2;
        text-align: center;
        width: 100%;
    }

    .new-version-video video {
        max-width: 90%;
        height: auto;
    }
}

/* Open modal button */
.open-modal {
    background-color: #fc8400;
    color: #ffffff !important;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    width: 50%;
    border: none;
    cursor: pointer;
}

.open-modal:hover {
    background-color: #d97000;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    height: 80vh;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-content {
    max-height: 100%;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.modal-text {
    flex: 1;
    padding: 10px;
}

.modal-image {
    flex: 1;
    text-align: center;
}

.modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .modal-section {
        flex-direction: column !important;
        text-align: center;
    }

    .modal-image {
        margin-bottom: 10px;
    }
}
