:root {
    --nst-primary-color: #333;
    --nst-primary-hover: #ffffff;
    --nst-text-color: #333;
    --nst-bg-color: #ffffff;
    --nst-content-bg: #ffffff;
    --nst-transition-duration: 0.4s;
    --nst-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* SVG stilleri */
.nst-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.nst-plus-icon,
.nst-minus-icon {
    width: 50px !important; /* !important ekleyerek diğer stilleri override et */
    height: 50px !important;
    padding: 12px;
    border: 1px solid #14508da6;
    border-radius: 50%;
    fill: var(--nst-primary-color, #333); /* Fallback renk ekle */
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: block; /* SVG'nin görünür olmasını sağla */
}

/* SVG path stilleri */
.nst-plus-icon path,
.nst-minus-icon path {
    fill: currentColor;
}

/* Temel stiller */
.nst-page-container {
    min-height: 100vh;
    display: flex;
}

.nst-image-section {
    flex: 0 0 30%;
    position: relative;
    overflow: hidden;
    padding: 120px;
}

.nst-image-section img {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
    position: sticky;
    top: 0;
    transition: opacity 0.3s ease-in-out;
}

.nst-content-section {
    flex: 0 0 70%;
    padding: 2rem;
    background: var(--nst-bg-color);
    overflow-y: auto;
    max-height: 100vh;
}

.nst-container {
    max-width: none;
    margin: 0;
    padding: 0 2rem;
}

.nst-title {
    text-align: left;
    margin-bottom: 2rem;
    color: var(--nst-primary-color);
}

/* Accordion temel stilleri güncelle */
.nst-modern-accordion {
    margin-bottom: 2rem;
    background: var(--nst-bg-color);
}

.nst-accordion-item {
    transition: transform var(--nst-transition-duration) var(--nst-transition-timing);
}


/* Header stillerini güncelle */
.nst-accordion-header {
    width: 100%;
    padding: 1rem 1.5rem;
    display: block;
    background: transparent;
    color: var(--nst-text-color);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all var(--nst-transition-duration) var(--nst-transition-timing);
    position: relative;
    overflow: hidden;
}

.nst-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    font-size: 1.875rem;
}

/* İkon rengini güncelle */
.nst-plus-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
    border: 1px solid #14508da6;
    border-radius: 50%;
    fill: var(--nst-primary-color);
    opacity: 0.7;
    transition: transform var(--nst-transition-duration) var(--nst-transition-timing);
    flex-shrink: 0;
}

.nst-minus-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
    border: 1px solid #14508da6;
    border-radius: 50%;
    fill: var(--nst-primary-color);
    opacity: 0.7;
    transition: transform var(--nst-transition-duration) var(--nst-transition-timing);
    flex-shrink: 0;
}

.nst-accordion-item.active > .nst-accordion-header .nst-plus-icon {
    display: none;
}

.nst-accordion-item.active > .nst-accordion-header .nst-minus-icon {
    display: block;
    opacity: 1;
}

/* Content stillerini güncelle */
.nst-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all var(--nst-transition-duration) var(--nst-transition-timing);
    background: var(--nst-content-bg);
    opacity: 0;

}
.nst-level-3>.nst-accordion-content .content-text{
    margin-top: 4rem;
}
.content-text{
    padding-left: 4rem;
}
.nst-content-inner {
    padding: 0 1.5rem;
    transform: translateY(-10px);
    transition: all var(--nst-transition-duration) var(--nst-transition-timing);
}

/* Aktif durumlar */
.nst-accordion-item.active > .nst-accordion-content {
    opacity: 1;
}

.nst-accordion-item.active > .nst-accordion-content .nst-content-inner {
    padding: 1rem 0 0 1.5rem;
    transform: translateY(0);
}

/* Seviye bazlı stilleri güncelle - artık hepsi aynı renkte */
.nst-level-1 > .nst-accordion-header,
.nst-level-2 > .nst-accordion-header,
.nst-level-3 > .nst-accordion-header {
    background: transparent;
}




/* İç içe margin ayarlarını güncelle */
.nst-level-2 {
    margin-left: 1rem;
}

.nst-level-3 {
    margin-left: 2rem;
}

/* Max-height değerleri */
.nst-level-1.active > .nst-accordion-content {
    max-height: 2000px;
}

.nst-level-2.active > .nst-accordion-content {
    max-height: 1000px;
}

.nst-level-3.active > .nst-accordion-content {
    max-height: 300px;
}

/* İç içe accordion stilleri */
.nst-accordion-content .nst-accordion-item {
    margin: 0.5rem 0;
    overflow: hidden;
}

/* Hover efektleri */

.nst-accordion-item.active > .nst-accordion-header {
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .nst-image-section {
        flex: 0 0 35%;
    }

    .nst-content-section {
        flex: 0 0 65%;
    }
}

@media (max-width: 768px) {
    .nst-page-container {
        flex-direction: column;
    }

    .nst-image-section {
        flex: 0 0 300px;
    }

    .nst-content-section {
        flex: 1;
        padding: 0px !important;
    }

    .nst-container {
        padding: 0px !important;
    }

    .nst-image-section img {
        position: relative;
    }

    .nst-accordion-header {
        padding: 0.8rem 1rem;
    }

    .nst-content-inner {
        padding: 0.8rem 1rem;
    }
}

/* Active durumunda border rengini biraz koyulaştır */
.nst-accordion-item.active > .nst-accordion-header {
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

/* Son seviye accordion'ların içindeki son header'ın border'ını kaldır */
.nst-level-3 > .nst-accordion-content .nst-accordion-item:last-child .nst-accordion-header {
    border-bottom: none;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-icon.active {
    transform: rotate(45deg);
}

/* Eğer zaten bir + işareti kullanıyorsanız,
   bu CSS'i + işaretinin olduğu elemana uygulayın */

.nst-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.nst-plus-icon,
.nst-minus-icon {
    fill: currentColor;
}

.nst-accordion-item.active > .nst-accordion-header .nst-plus-icon {
    display: none;
}
.nst-minus-icon {
    display: none;
}
.nst-accordion-item.active > .nst-accordion-header .nst-minus-icon {
    display: block;
}

.nst-description {
    padding-left: 74px; /* icon genişliği (50px) + gap (24px) */
    margin: 0;
    max-width: 500px; /* Maksimum genişlik */
    line-height: 1.5; /* Okunabilirlik için satır yüksekliği */
}

/* Level 2 ve 3 için aynı genişlik sınırlaması */
.nst-level-2 .nst-description,
.nst-level-3 .nst-description {
    padding-left: 74px;
    max-width: 500px;
}

/* Mobil cihazlar için responsive ayar */
@media (max-width: 768px) {
    .nst-description,
    .nst-level-2 .nst-description,
    .nst-level-3 .nst-description {
        max-width: 100%; /* Mobilde tam genişlik */
        padding-left: 62px; /* Mobilde daha az padding */
    }
}