/**
 * =============================================
 * MODERN HERO & SPLIT SECTION STYLES
 * =============================================
 */

:root {
    --hero-height: 75vh;
    --hero-min-height: 500px;
    --nb-transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.l-main-container {
    display: flex;
    flex-direction: row;
    width: var(--container-width);
    max-width: var(--container-max-width);
    margin: 0 auto;
    height: var(--hero-height);
    min-height: var(--hero-min-height);
    overflow: hidden;
    position: relative;
    background: #000;
}

.c-split-section {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: flex var(--nb-transition);
    background: #000;
}

.c-split-section:last-child { border-right: none; }

.c-split-section:hover {
    flex: 1.5;
}

/* Background Images & Animations */
.c-slide-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.c-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: brightness(0.7);
    transition: opacity 1.2s ease, transform 10s linear;
    transform: scale(1.1);
}

.c-slide-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.c-split-section:hover .c-slide-img.active {
    filter: brightness(0.9);
}

/* Category Titles (Glassmorphism) */
.c-category-title {
    position: absolute;
    z-index: 10;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    padding: 32px 24px;
    border-radius: 24px;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.c-split-section:hover .c-category-title {
    bottom: 4.5rem;
    background: rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.3);
}

.c-category-prefix {
    display: block;
    font-weight: 400;
    font-size: 11px;
    margin-bottom: 6px;
    opacity: 0.7;
    letter-spacing: 2px;
}

/* Responsive Fixes - Stacked vertically for mobile */
@media (max-width: 992px) {
    .l-main-container {
        display: flex !important;
        height: calc(100vh - var(--header-height) - 70px) !important;
        min-height: 500px;
        flex-direction: column !important;
        overflow: hidden;
        margin-bottom: 20px; /* Yaklaştırıldı, ilerde duyuru gelecek */
        max-width: 100%;
        width: 100% !important;
        background: transparent;
    }
    
    .c-split-section {
        width: 100%;
        flex: 1 1 0% !important;
        height: auto !important;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .c-split-section:last-child {
        border-bottom: none;
    }

    .c-category-title {
        bottom: 2rem;
        width: 180px;
        padding: 16px 12px;
        font-size: 16px;
        border-radius: 20px;
        background: rgba(6, 32, 66, 0.85);
        color: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 20;
    }
    .c-category-prefix {
        color: #fff !important;
        opacity: 0.8 !important;
    }
}

@media (max-width: 480px) {
    .c-category-title {
        width: 150px;
        padding: 12px 10px;
        font-size: 14px;
        bottom: 1.5rem;
    }
}