.sektorler-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.sektor-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Profesyonel görünüm */
}

/* Tab Container Stilleri */
.sektor-detail-container {
    background: #ffffff;
    border-top: 1px solid #cbd5e1;
    padding: 24px 30px;
}

.sektor-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    padding-bottom: 2px;
}

.sektor-tab-link {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -4px;
    border-radius: 4px 4px 0 0;
    text-transform: uppercase;
}

.sektor-tab-link:hover {
    color: #0f172a;
    background-color: #f8fafc;
}

.sektor-tab-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.sektor-detail-content-area {
    font-size: 15.5px;
    line-height: 1.7;
    color: #334155;
    padding: 10px 0;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sektor-left {
    width: 33.333%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #cbd5e1;
}

.sektor-right {
    width: 66.666%;
    display: flex;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #f8fafc;
}

.sektor-right .swiper {
    width: 100%;
    height: 100%;
    position: static;
}

.sektor-right .swiper-slide {
    height: auto;
}

.sektor-image {
    display: flex;
    flex: 1 1 100%;
    min-height: 250px;
    background: transparent;
}

.sektor-image img {
    flex: 1 1 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sektor-placeholder-image {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: #f1f5f9;
}

.sektor-title,
.alt-sektor-title {
    padding: 16px 20px;
    text-align: center;
    color: #fff;
}

.sektor-left .sektor-title {
    border-top: 1px solid #cbd5e1;
}

.alt-sektor-card .alt-sektor-title {
    border-bottom: 1px solid #cbd5e1;
}

.sektor-title h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    font-family: 'Arial Black', Impact, sans-serif;
    color: #fff;
    letter-spacing: 16px;
    text-transform: uppercase;
    padding-left: 16px;
    /* letter-spacing nedeniyle oluşan sağ boşluğu dengeleyip merkezler */
}

.alt-sektor-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* Şık Alt Çizgi (Border) Animasyonu */
.alt-sektor-title h4::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    /* Başlığın hemen milimetre altına hizalıyoruz */
    left: 0;
    background-color: #fff;
    transition: width 0.5s ease-out;
    /* Hızlı baslayip yavaslayarak ilerler */
}

/* Hover (üstüne gelince) çizginin ilerlemesi */
.alt-sektor-card:hover .alt-sektor-title h4::after {
    width: 100%;
}

.alt-sektor-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-right: 1px solid #cbd5e1;
    background: transparent;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.alt-sektor-card:hover {
    background: #0f172a !important;
    /* Etkileyici koyu lacivert/siyah tonu */
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
    border-right-color: transparent;
}

.alt-sektor-desc {
    flex: 1;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    min-height: 180px;
    transition: color 0.7s ease;
}

/* Hover durumunda yazı rengini beyaza geçir */
.alt-sektor-card:hover .alt-sektor-desc {
    color: #f1f5f9;
}

.alt-sektor-desc-inner {
    width: 100%;
}

.alt-sektor-desc-inner p {
    margin: 0;
}

.no-alt-sektor {
    padding: 20px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

/* Şık Buton Tasarımı - Modern */
.alt-sektor-action {
    padding: 0 30px 24px 30px;
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.alt-sektor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    /* Modern ve temiz köşeler */
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.alt-sektor-btn .btn-arrow {
    transition: transform 0.3s ease;
    font-size: 16px;
}

.alt-sektor-btn:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    filter: brightness(1.05);
    /* Rengi çok hafif parlatır */
}

.alt-sektor-btn:hover .btn-arrow {
    transform: translateX(4px);
    /* Ok sağa kayar */
}

@media (max-width: 768px) {
    .sektor-row {
        flex-direction: column;
    }

    .sektor-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #cbd5e1;
    }

    .sektor-right {
        width: 100%;
        padding: 0;
    }

    .alt-sektor-card {
        border-right: none;
        border-bottom: 1px solid #cbd5e1;
    }

    .sektor-detail-container {
        padding: 20px 15px;
        /* Mobilde alanı biraz daha ferah olması için kenar boşlukları ayarlandı */
    }

    .sektor-detail-tabs {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
        /* Alt alta bindiğinde aralarına biraz boşluk eklendi */
        border-bottom: none;
        /* Mobilde tüm kapsayıcı alt çizgiye gerek yok */
        margin-bottom: 20px;
    }

    .sektor-tab-link {
        width: 100%;
        text-align: center;
        padding: 8px 15px;
        /* Yüksekliğini daha ince görünmesi için düşürdük (Eski hali: 14px 15px) */
        font-size: 14px;
        /* Font boyutunu estetik olarak biraz küçülttük */
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        background-color: #f8fafc;
        /* Hafif arka plan */
        white-space: normal;
    }

    .sektor-tab-link.active {
        background-color: #2563eb;
        color: #fff;
        border-color: #2563eb;
    }
}

/* Swiper Navigation Arrows */
.sektor-right .swiper-button-next,
.sektor-right .swiper-button-prev {
    color: #0f172a;
    background: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    top: auto;
    bottom: 24px;
    margin-top: 0;
    border: 1px solid #e2e8f0;
}

.sektor-right .swiper-button-next:after,
.sektor-right .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

.sektor-right .swiper-button-next:hover,
.sektor-right .swiper-button-prev:hover {
    background: #f8fafc;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    color: #2563eb;
    transform: translateY(-2px);
}

.sektor-right .swiper-button-prev {
    left: 20px;
}

.sektor-right .swiper-button-next {
    right: 20px;
}

/* Hide arrows on smaller screens if needed, or adjust size */
@media (max-width: 768px) {
    .sektor-right .swiper-button-next,
    .sektor-right .swiper-button-prev {
        width: 28px;
        height: 28px;
        bottom: 20px;
    }
    .sektor-right .swiper-button-next:after,
    .sektor-right .swiper-button-prev:after {
        font-size: 12px;
    }
    .sektor-right .swiper-button-prev {
        left: 15px;
    }
    .sektor-right .swiper-button-next {
        right: 15px;
    }
}