/* style.css */
@import url('variables.css');
@import url('base.css');
@import url('layout.css');
@import url('components.css');
@import url('sections.css');
@import url('utilities.css');
@import url('responsive.css');

/* ==========================================================================
   STRYNEXA: NEW ATHLETIC LAYOUT CLASSES
   ========================================================================== */

/* Split-screen Hero (index.html) */
.strynexa-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    background-color: var(--schritt-color-secondary);
}

.strynexa-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10%;
    z-index: 2;
}

.strynexa-hero-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--schritt-color-primary);
}

.strynexa-hero-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--schritt-color-white);
}

.strynexa-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Horizontal Gallery (index.html) */
.strynexa-horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 40px 0;
    scroll-snap-type: x mandatory;
}

.strynexa-horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}
.strynexa-horizontal-scroll::-webkit-scrollbar-thumb {
    background-color: var(--schritt-color-primary);
    border-radius: 4px;
}

.strynexa-scroll-item {
    flex: 0 0 600px;
    scroll-snap-align: center;
}
.strynexa-scroll-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Page - Sticky Scroll Layout (produkt.php) */
.strynexa-product-layout {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 0;
    align-items: start;
}

.strynexa-product-gallery-vertical {
    display: flex;
    flex-direction: column;
}

.strynexa-product-gallery-vertical img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2px;
}

.strynexa-product-info-sticky {
    position: sticky;
    top: var(--schritt-header-height);
    padding: 60px;
    height: calc(100vh - var(--schritt-header-height));
    overflow-y: auto;
    background-color: var(--schritt-color-secondary);
}

@media (max-width: 992px) {
    .strynexa-hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .strynexa-hero-image-wrapper {
        height: 50vh;
    }
    .strynexa-product-layout {
        grid-template-columns: 1fr;
    }
    .strynexa-product-info-sticky {
        position: relative;
        top: 0;
        height: auto;
        padding: 30px 20px;
    }
}
