/* =============================================
   L2 HERO DIAGONAL SECTION
   ============================================= */

.l2h-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: #fff;
    overflow: hidden;
}

.l2h-content {
    position: relative;
    z-index: 10;
    width: 45%;
    padding: 60px;
    padding-right: 40px;
}

.l2h-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0 0 25px 0;
}

.l2h-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 30px 0;
}

.l2h-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1rem;
}

.l2h-btn-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    opacity: 0.3;
    transition: 0.3s;
}

.l2h-btn:hover .l2h-btn-circle {
    opacity: 0.5;
    transform: scale(1.1);
}

.l2h-btn svg {
    transition: 0.3s;
}

.l2h-btn:hover svg {
    transform: translateX(5px);
}

/* Diagonal Images */
.l2h-images {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
}

.l2h-img {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
}

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

.l2h-overlay {
    position: absolute;
    inset: 0;
}

/* Sol görsel - küçük üçgen */
.l2h-img-1 {
    left: 0;
    width: 35%;
    clip-path: polygon(60% 0, 100% 0, 40% 100%, 0% 100%);
}

/* Orta görsel - geniş parallelogram */
.l2h-img-2 {
    left: 20%;
    width: 50%;
    clip-path: polygon(50% 0, 100% 0, 50% 100%, 0% 100%);
}

/* Sağ görsel - tam sağda */
.l2h-img-3 {
    right: 0;
    width: 45%;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Responsive */
@media (max-width: 991px) {
    .l2h-section {
        flex-direction: column;
        min-height: auto !important;
    }
    .l2h-content {
        width: 100%;
        padding: 40px 20px;
    }
    .l2h-images {
        position: relative;
        width: 100%;
        height: 50vh;
    }
}


/* =============================================
   L2 FEATURES HOVER SECTION
   ============================================= */

.l2f-section {
    display: flex;
    align-items: stretch;
    gap: 60px;
    width: 100%;
}

.l2f-section.l2f-reverse {
    flex-direction: row-reverse;
}

/* Görsel Alanı */
.l2f-image {
    position: relative;
    flex-shrink: 0;
}

.l2f-image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid;
    border-radius: 12px;
    pointer-events: none;
}

.l2f-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 8px;
    overflow: hidden;
}

.l2f-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.l2f-img.active {
    opacity: 1;
}

/* Liste */
.l2f-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.l2f-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    cursor: pointer;
}

/* Yatay Çizgi */
.l2f-line {
    position: absolute;
    left: -120px;
    top: 28px;
    height: 2px;
    width: 0;
    transition: width 0.4s ease;
}

/* Dot */
.l2f-dot {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 5px;
}

.l2f-dot-inner {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 50%;
    transition: 0.3s;
}

.l2f-dot-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: 0.3s;
}

/* Content */
.l2f-content {
    flex: 1;
}

.l2f-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    transition: color 0.3s;
}

.l2f-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Hover & Active States */
.l2f-item:hover .l2f-line,
.l2f-item.active .l2f-line {
    width: 100px;
}

.l2f-item:hover .l2f-dot-inner,
.l2f-item.active .l2f-dot-inner {
    background: var(--accent, #00b4d8);
}

.l2f-item:hover .l2f-dot-ring,
.l2f-item.active .l2f-dot-ring {
    border-color: var(--accent, #00b4d8);
}

.l2f-item:hover .l2f-title,
.l2f-item.active .l2f-title {
    color: var(--accent, #00b4d8);
}

.l2f-item:hover .l2f-desc,
.l2f-item.active .l2f-desc {
    max-height: 150px;
    opacity: 1;
}

/* Accent renk değişkeni */
.l2f-item:hover .l2f-dot-inner,
.l2f-item.active .l2f-dot-inner {
    background: attr(data-accent);
}

.l2f-section .l2f-item {
    --accent: attr(data-accent);
}

/* JS ile set edilecek */
.l2f-item.active .l2f-title {
    color: inherit;
}

/* Responsive */
@media (max-width: 991px) {
    .l2f-section {
        flex-direction: column !important;
        gap: 30px;
    }
    .l2f-image {
        width: 100% !important;
    }
    .l2f-list {
        width: 100% !important;
    }
    .l2f-line {
        display: none;
    }
    .l2f-image-wrap {
        min-height: 350px;
    }
}
