﻿.supersport .bricks-button.brxe-morgan-button {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(10px);
    border: 0 !important;
    padding: 6px 30px;
}

/*.supersport  .slick-slide {
    max-width: 6%
}*/
.supersport .model-detay section.h100 > div.txt > div > div {
    column-gap: 1% !important;
}

.supersport .brxe-morgan-button > .main {
}

.supersport a.teknik {
    position: absolute;
    right: 20%;
    bottom: 10%;
}

.supersport .model-oz > h2 {
    text-align: center
}

.supersport .brxe-morgan-button > .main > .text {
    font-size: 16px !important;
}


.supersport .fullimg > .txt {
    height: 100%
}

.supersport .brxe-svg {
    width: 25%
}

.roof-buttons {
    display: flex;
    gap: 20px;
    position: absolute;
    bottom: 10%;
}

.roof-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .roof-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .roof-btn.active {
        background: rgba(255, 255, 255, 0.9);
        color: #333;
    }

.roof-image {
    transition: opacity 0.5s ease;
}

#configure {
    background: rgba(0, 0, 0, 0.75) !important;
    !i;
    !;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(10px);
    border: 0px solid rgba(255, 255, 255, 0.18);
    padding: 6px 30px;
    font-size: 16px !important;
}

.design-engineering {
    padding: 60px 20px 0 20px;
    background-color: #fff;
}

.section-content {
}

.section-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 300;
    text-transform: uppercase;
}

.section-description {
    color: #666;
    margin-bottom: 40px;
    max-width: 80%;
    line-height: 1.6;
}

.tab-navigation {
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 1em;
    color: #666;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
}

    .tab-btn.active {
        color: #333;
        border-bottom: 2px solid #333;
    }

.carousel-container {
    position: relative;
    margin-left: 5%;
    width: 95%;
}

.carousel-slides {
    opacity: 0;
    visibility: hidden;
    position: relative;
    width: 100%;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    height: 0;
}

    .carousel-slides.active {
        opacity: 1;
        visibility: visible;
        height: auto
    }

.slide {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    min-width: calc(33.333% - 14px);
    border-radius: 5px;
}

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .slide:hover img {
        transform: scale(1.05);
    }

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1.2em;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    z-index: 1;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

    .nav-btn:hover {
        background: rgba(255,255,255,1);
    }

    .nav-btn.prev {
        left: 20px;
    }

    .nav-btn.next {
        right: 20px;
    }

.technical-specs-section {
    position: relative;
    background-size: cover;
    background-position: center right;
    min-height: 65dvh;
    display: flex;
    flex-direction: column;
    padding-top: 5%;
    padding-right: 5%;
    padding-bottom: 3.5%;
    padding-left: 15dvw;
    justify-content: space-between;
    align-items: flex-start;
    color: #fff;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

    .background-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center right;
    }

.specs-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-value {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    color: #fff !important;
    letter-spacing: -0.5px;
}

.spec-unit {
    font-size: 2rem;
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.56) !important;
    font-weight: 300;
}

.spec-description {
    font-size: 1rem;
    opacity: 0.8;
    color: #fff !important;
    letter-spacing: 0.5px;
}

.certification-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 2rem;
    color: #fff !important;
}

.bricks-button .text {
    letter-spacing: 1px;
}

.materials-customization-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.materials-image {
    width: 100%;
    margin-bottom: 2%;
}

    .materials-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: top center;
    }

.customization-text {
    margin-top: auto;
    padding: 0;
}

    .customization-text h2 {
        font-size: 2.8rem;
        font-weight: 300;
        color: #333;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        line-height: 1.2;
        text-align: center;
    }

.button-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 5%;
}

.config-button, .price-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    text-transform: uppercase;
    border: none;
}

.price-button {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.config-button:hover {
    background-color: #555;
}

.price-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.feature-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .feature-modal.show {
        opacity: 1;
        display: block;
    }

.modal-content {
    display: flex;
    background-color: #fff;
    margin: 0 auto;
    width: 90%;
    max-width: 1600px;
    height: 86vh;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalOpen 0.5s;
    margin-top: calc(100px + ((14vh - 100px)/2));
    flex-direction: row;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #000;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
    width: 40px;
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    text-align: center;
    padding-left: 3px;
}

    .close-button:hover {
        transform: rotate(90deg);
    }

.modal-text {
    /* flex: 1; */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
    flex-direction: column-reverse;
}

    .modal-text h2 {
        margin-bottom: 40px;
        color: #333;
        text-transform: uppercase;
        font-size: 48px;
        font-weight: 300;
        line-height: 55px;
    }

    .modal-text p {
        font-size: 1.2rem;
        line-height: 1.6;
        color: #555;
        max-width: 600px;
        margin-bottom: 15px;
    }

        .modal-text p:last-child {
            margin-bottom: 0px;
        }

.modal-image {
    /* flex: 1; */
    overflow: hidden;
    width: 60%;
}

    .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Add this style to ensure body is always scrollable */
html, body {
    overflow: auto !important;
    height: auto !important;
}

    /* Only restrict scrolling when modal is actively shown */
    body.modal-open {
        overflow: hidden !important;
    }


.photo-grid {
    padding: 20px 7px;
    /* margin: 20px 0; */
}

.grid-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.large-photo {
    overflow: hidden;
    width: 75%;
}

.small-photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 25%;
}

.small-photo-top,
.small-photo-bottom {
    flex: 1;
    overflow: hidden;
}

    .large-photo img,
    .small-photo-top img,
    .small-photo-bottom img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

.text-only-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 20px;
    background-color: #fff;
}

.text-container {
    text-align: left;
    margin: 0 auto;
}

.text-only-section h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #333;
    line-height: 1.2;
    letter-spacing: 1px;
}

.text-only-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    max-width: 800px;
}

/* Split Layout Styles */
.split-layout .text-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    width: 80%;
}

.split-layout .heading-column {
    /* flex: 0 0 40%; */
    width: 100%;
}

.split-layout .content-column {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.split-layout h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 500;
}

.split-layout p {
    margin-top: 0;
    max-width: 100%;
    width: 90%;
    font-size: 16px;
}

@media (max-width: 992px) {
    .split-layout .text-container {
        flex-direction: column;
        gap: 30px;
    }

    .split-layout .heading-column,
    .split-layout .content-column {
 
    }

    .split-layout h2 {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 1300px) {
    .slick-lightbox .slick-arrow, .slader .slick-arrow {
        width: 20px;
        height: 20px;
        background-size: 10px;
    }
}

@media (max-width: 1000px) {

    .technical-specs-section {
        padding-left: 5%;
    }

    .supersport .fullimg > .txt {
        position: relative;
        top: 0;
        z-index: 1;
        padding: 5% 0;
    }

    .fullimg > .txt > h1, .fullimg > .txt > p {
        color: #000
    }

    .model-detay section.h100 > div.txt.left > div > div {
        display: none
    }

    .mobilespuer.h75 {
        height: auto
    }

    .fullimg.bottom {
        display: flex;
        justify-content: flex-start;
    }
    .split-layout .text-container {
        width: 90%;
    }
    .split-layout p {width: 100%}
    .specs-container {
        display: none
    }
    .grid-container {
        display: flex;
        gap: 20px;
        width: 100%;
        flex-direction: column;
        flex-direction: column-reverse;
    }
    .small-photos, .large-photo {
        width: 100%;
    }
    .small-photos {
        width: 100%;
        display: flex;
        flex-direction: row;
    }
}
