/* =========================================================
   KEPSAŞ - ABONELİK SAYFALARI
   Ana Sayfa / Ev / İş Yeri / Diğer
   wwwroot/css/abonelik.css
   ========================================================= */

.subs-premium-wrapper {
    --subs-primary: #1a4c6b;
    --subs-blue: #155e8a;
    --subs-success: #1fa463;
    --subs-danger: #ec1c24;
    --subs-warning: #f4aa3a;
    --subs-text: #212529;
    --subs-muted: #6c757d;
    --subs-surface: #ffffff;
    --subs-soft: #f8f9fa;
    --subs-border: rgba(20, 32, 51, 0.08);
    min-height: 70vh;
    overflow-x: hidden;
    padding-bottom: 3rem;
    background: linear-gradient( 180deg, #ffffff 0%, #f6f8fb 52%, #eef6f4 100% );
}


/* =========================================================
   HERO
   ========================================================= */

.subs-hero {
    position: relative;
    padding: 3rem 0;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid rgba(20, 32, 51, 0.09);
}

.subs-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.subs-hero h1 {
    margin: 0 0 1rem;
    color: var(--subs-text);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
}


/* =========================================================
   ANA SAYFA HERO BADGE
   ========================================================= */

.subs-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    color: var(--subs-success);
    background: rgba(31, 164, 99, 0.10);
    border: 1px solid rgba(31, 164, 99, 0.10);
    border-radius: 999px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}


/* =========================================================
   ALT SAYFA HERO İKONLARI
   ========================================================= */

.subs-hero-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    font-size: 1.75rem;
}

.subs-hero-icon-success {
    color: var(--subs-success);
    background: rgba(31, 164, 99, 0.10);
}

.subs-hero-icon-primary {
    color: var(--subs-primary);
    background: rgba(26, 76, 107, 0.10);
}

.subs-hero-icon-warning {
    color: #d58c14;
    background: rgba(244, 170, 58, 0.15);
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.subs-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    color: var(--subs-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

    .subs-breadcrumb span {
        color: var(--subs-primary);
    }


/* =========================================================
   ABONELİK ANA SAYFASI
   ========================================================= */

.subs-selection-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.subs-selection-heading {
    margin-bottom: 3rem;
    text-align: center;
}

    .subs-selection-heading h2 {
        margin: 0 0 0.5rem;
        color: var(--subs-text);
        font-size: 1.75rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .subs-selection-heading p {
        margin: 0;
        color: var(--subs-muted);
    }


/* =========================================================
   YÖNLENDİRME KARTLARI
   ========================================================= */

.subs-option-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.subs-option-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--subs-border);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 32, 51, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

    .subs-option-card:hover {
        transform: translateY(-3px);
        border-color: rgba(26, 76, 107, 0.18);
        box-shadow: 0 24px 52px rgba(20, 32, 51, 0.13);
    }


/* =========================================================
   KART ARKA PLANLARI
   ========================================================= */

.option-img-box {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.subs-option-card:hover .option-img-box {
    transform: scale(1.04);
    filter: saturate(1.06);
}


/* EV */

.option-home-bg {
    background: linear-gradient( 135deg, rgba(31, 164, 99, 0.90), rgba(16, 155, 215, 0.72) ), repeating-linear-gradient( 135deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 22px );
}


/* İŞYERİ */

.option-business-bg {
    background: linear-gradient( 135deg, rgba(21, 94, 138, 0.95), rgba(16, 155, 215, 0.74) ), repeating-linear-gradient( 135deg, rgba(255, 255, 255, 0.20) 0 1px, transparent 1px 22px );
}


/* SANAYİ */

.option-industry-bg {
    background: linear-gradient( 135deg, rgba(245, 130, 32, 0.92), rgba(236, 28, 36, 0.72) ), repeating-linear-gradient( 135deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 22px );
}


/* =========================================================
   KART OVERLAY
   ========================================================= */

.option-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( to top, rgba(9, 24, 38, 0.82) 0%, rgba(9, 24, 38, 0.36) 100% );
    transition: background 0.24s ease;
}

.subs-option-card:hover .option-overlay {
    background: linear-gradient( to top, rgba(9, 24, 38, 0.76) 0%, rgba(9, 24, 38, 0.28) 100% );
}


/* =========================================================
   KART İÇERİĞİ
   ========================================================= */

.subs-option-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem 1.5rem;
    text-align: center;
}

    .subs-option-content h3 {
        margin: 0;
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.25;
    }


/* =========================================================
   YÖNLENDİRME KART İKONLARI
   ========================================================= */

.subs-option-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    font-size: 1.5rem;
    transition: transform 0.24s ease;
}

.subs-option-card:hover .subs-option-icon {
    transform: translateY(-2px);
}

.subs-option-icon-success {
    color: var(--subs-success);
}

.subs-option-icon-primary {
    color: var(--subs-primary);
}

.subs-option-icon-warning {
    color: var(--subs-warning);
}


/* =========================================================
   ALT SAYFALAR ANA İÇERİK
   ========================================================= */

.subs-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
}


/* =========================================================
   UYARI
   ========================================================= */

.subs-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(244, 170, 58, 0.15);
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

    .subs-warning > i {
        flex: 0 0 auto;
        margin-top: 0.25rem;
        color: var(--subs-warning);
        font-size: 1.75rem;
    }

    .subs-warning strong {
        display: block;
        margin-bottom: 0.25rem;
        color: var(--subs-text);
        font-size: 1.25rem;
    }

    .subs-warning span {
        color: var(--subs-muted);
        line-height: 1.8;
    }


/* =========================================================
   BELGE KARTLARI
   ========================================================= */

.subs-document-card {
    height: 100%;
    padding: 3rem;
    background: #ffffff;
    border: 1px solid var(--subs-border);
    border-top-width: 4px;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.subs-document-card-danger {
    border-top-color: var(--subs-danger);
}

.subs-document-card-success {
    border-top-color: var(--subs-success);
}

.subs-document-card-primary {
    border-top-color: var(--subs-primary);
}


/* =========================================================
   BELGE BAŞLIKLARI
   ========================================================= */

.subs-document-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1rem;
    color: var(--subs-text);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.subs-document-icon {
    width: 52px;
    height: 52px;
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
}

.subs-document-icon-danger {
    color: var(--subs-danger);
    background: rgba(236, 28, 36, 0.10);
}

.subs-document-icon-success {
    color: var(--subs-success);
    background: rgba(31, 164, 99, 0.10);
}

.subs-document-icon-primary {
    color: var(--subs-primary);
    background: rgba(26, 76, 107, 0.10);
}

.subs-document-description {
    margin: 0 0 1.5rem;
    color: var(--subs-muted);
    font-size: 0.875rem;
}


/* =========================================================
   BELGE LİSTELERİ
   ========================================================= */

.doc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .doc-list li {
        padding: 15px 0;
        border-bottom: 1px dashed rgba(20, 32, 51, 0.08);
        transition: padding-left 0.24s ease;
    }

        .doc-list li:last-child {
            border-bottom: 0;
        }

        .doc-list li:hover {
            padding-left: 8px;
        }

    .doc-list strong {
        display: block;
        margin-bottom: 0.25rem;
        color: var(--subs-text);
    }

        .doc-list strong i {
            width: 20px;
            margin-right: 0.5rem;
        }

    .doc-list span {
        display: block;
        color: var(--subs-muted);
        font-size: 0.875rem;
    }


/* =========================================================
   BELGE ALT NOT
   ========================================================= */

.subs-document-note {
    margin-top: 1.5rem;
    padding: 1rem;
    color: var(--subs-muted);
    background: var(--subs-soft);
    border-radius: 8px;
    font-size: 0.875rem;
    font-style: italic;
}


/* =========================================================
   PDF LİSTESİ
   ========================================================= */

.subs-pdf-list {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--subs-border);
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.subs-pdf-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--subs-text);
    border-bottom: 1px solid rgba(20, 32, 51, 0.08);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .subs-pdf-link:last-child {
        border-bottom: 0;
    }

    .subs-pdf-link:hover {
        color: var(--subs-text);
        background: var(--subs-soft);
    }

.subs-pdf-icon {
    width: 45px;
    height: 45px;
    display: flex;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    color: var(--subs-danger);
    background: rgba(236, 28, 36, 0.10);
    border-radius: 50%;
    font-size: 1.25rem;
}

.subs-pdf-link strong {
    font-weight: 700;
}

.subs-pdf-arrow {
    margin-left: auto;
    color: var(--subs-muted);
    transition: transform 0.2s ease;
}

.subs-pdf-link:hover .subs-pdf-arrow {
    transform: translate(2px, -2px);
}


/* =========================================================
   KURUMSAL ŞİRKET UYARISI
   ========================================================= */

.subs-corporate-note {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    padding: 3rem;
    color: #ffffff;
    background: #212529;
    border-radius: 8px;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.subs-corporate-watermark {
    position: absolute;
    top: -20px;
    right: -20px;
    color: rgba(255, 255, 255, 0.10);
    font-size: 150px;
    pointer-events: none;
}

.subs-corporate-content {
    position: relative;
    z-index: 2;
}

    .subs-corporate-content h2 {
        margin: 0 0 1rem;
        color: var(--subs-warning);
        font-size: 1.25rem;
        font-weight: 700;
    }

    .subs-corporate-content p {
        margin: 0 0 1.5rem;
        color: rgba(255, 255, 255, 0.50);
        font-size: 0.875rem;
        line-height: 1.8;
    }

.subs-corporate-info {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 0.875rem;
    font-style: italic;
}

    .subs-corporate-info i {
        margin-right: 0.5rem;
        color: var(--subs-warning);
    }


/* =========================================================
   E-DEVLET BANNER
   ========================================================= */

.e-devlet-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    color: var(--subs-text);
    background: #ffffff;
    border: 1px solid rgba(236, 28, 36, 0.10);
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.e-devlet-banner-spaced {
    margin-top: 3rem;
}

.e-devlet-banner:hover {
    color: var(--subs-text);
    transform: translateY(-3px);
    border-color: rgba(236, 28, 36, 0.26);
    box-shadow: 0 15px 35px rgba(236, 28, 36, 0.12);
}


/* =========================================================
   E-DEVLET İÇERİK
   ========================================================= */

.e-devlet-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}

.e-devlet-copy {
    min-width: 0;
}


/* =========================================================
   E-DEVLET LOGO
   PNG'nin içindeki boşluk scale ile kırpılıyor.
   Logo dış daireyi doldurur.
   ========================================================= */

.edevlet-logo-frame {
    width: 72px;
    height: 72px;
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: #e60021;
    border: 0;
    border-radius: 50%;
}

.e-devlet-content .edevlet-logo-frame > .edevlet-logo-img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: none;
    min-height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
    transform: scale(1.12);
    transform-origin: center;
    filter: none;
}


/* =========================================================
   E-DEVLET METİN
   ========================================================= */

.e-devlet-content h2 {
    margin: 0 0 0.25rem;
    color: var(--subs-text);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.e-devlet-content p {
    margin: 0;
    color: var(--subs-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}


/* =========================================================
   E-DEVLET BUTON
   ========================================================= */

.e-devlet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    padding: 0.55rem 1.25rem;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.24s ease, background-color 0.24s ease;
}

.e-devlet-banner:hover .e-devlet-btn {
    color: #ffffff;
    background: #dc3545;
}


/* =========================================================
   DİĞER ABONELİK - SIDEBAR
   ========================================================= */

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.subs-tab-sidebar {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--subs-border);
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

    .subs-tab-sidebar > h2 {
        margin: 0 0 1.5rem 0.5rem;
        color: var(--subs-text);
        font-size: 1.25rem;
        font-weight: 700;
    }


/* =========================================================
   VERTICAL TABS
   ========================================================= */

.custom-vertical-tabs {
    gap: 10px;
}

    .custom-vertical-tabs .nav-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin: 0;
        padding: 15px 20px;
        color: #495057;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 8px;
        text-align: left;
        transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
    }

        .custom-vertical-tabs .nav-link:hover {
            color: #495057;
            background: var(--subs-soft);
            transform: translateX(3px);
        }

        .custom-vertical-tabs .nav-link.active {
            color: #ffffff;
            background: var(--subs-primary);
            box-shadow: 0 10px 20px rgba(26, 76, 107, 0.16);
        }

            .custom-vertical-tabs .nav-link.active small {
                color: rgba(255, 255, 255, 0.70);
            }


/* =========================================================
   TAB İKONU
   ========================================================= */

.tab-icon {
    width: 40px;
    height: 40px;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    color: var(--subs-primary);
    background: rgba(26, 76, 107, 0.10);
    border-radius: 8px;
    font-size: 18px;
    transition: color 0.24s ease, background-color 0.24s ease;
}

.custom-vertical-tabs .nav-link.active .tab-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.20);
}

.tab-copy {
    display: block;
    min-width: 0;
}

    .tab-copy strong,
    .tab-copy small {
        display: block;
    }

    .tab-copy small {
        opacity: 0.75;
    }


/* =========================================================
   TAB İÇERİĞİ
   ========================================================= */

.subs-tab-content {
    min-height: 100%;
    padding: 3rem;
    background: #ffffff;
    border: 1px solid var(--subs-border);
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.subs-tab-title {
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    color: var(--subs-text);
    border-bottom: 1px solid rgba(20, 32, 51, 0.10);
    font-size: 1.75rem;
    font-weight: 700;
}

    .subs-tab-title i {
        margin-right: 0.5rem;
    }

.subs-doc-subtitle {
    margin: 0 0 1rem;
    color: var(--subs-muted);
    font-size: 1rem;
    font-weight: 700;
}

.subs-information-box {
    padding: 1.5rem;
    color: var(--subs-muted);
    background: var(--subs-soft);
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.8;
}

.subs-information-danger {
    color: var(--subs-text);
    background: rgba(236, 28, 36, 0.10);
    border: 1px solid rgba(236, 28, 36, 0.25);
}


/* =========================================================
   TAB ANİMASYONU
   ========================================================= */

.tab-content .tab-pane {
    animation: subsFadeIn 0.28s ease-in-out;
}

@keyframes subsFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .subs-document-card,
    .subs-tab-content {
        padding: 2rem;
    }

    .e-devlet-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .e-devlet-btn {
        align-self: stretch;
    }

    .sticky-sidebar {
        position: static;
    }
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 575.98px) {

    .subs-premium-wrapper {
        padding-bottom: 2rem;
    }

    .subs-hero {
        padding: 2.5rem 0;
    }

    .subs-hero-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .subs-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .subs-breadcrumb {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .subs-selection-section,
    .subs-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .subs-selection-heading {
        margin-bottom: 2rem;
    }

        .subs-selection-heading h2 {
            font-size: 1.5rem;
        }

    .subs-option-card {
        height: 250px;
    }

    .subs-option-content {
        padding-top: 3rem;
    }

    .subs-option-icon {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }

    .subs-option-content h3 {
        font-size: 1.35rem;
    }

    .subs-warning {
        padding: 1.25rem;
    }

    .subs-document-card,
    .subs-corporate-note,
    .subs-tab-content {
        padding: 1.5rem;
    }

    .subs-document-title {
        align-items: flex-start;
        font-size: 1.25rem;
    }

    .subs-document-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .subs-pdf-link {
        padding: 1rem;
    }

        .subs-pdf-link strong {
            font-size: 0.875rem;
        }

    .e-devlet-content {
        align-items: center;
        gap: 1rem;
    }

    .edevlet-logo-frame {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .e-devlet-content h2 {
        font-size: 1.25rem;
    }

    .subs-tab-sidebar {
        padding: 1rem;
    }

    .custom-vertical-tabs .nav-link {
        padding: 12px 14px;
    }

    .subs-tab-title {
        font-size: 1.35rem;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .subs-option-card,
    .option-img-box,
    .option-overlay,
    .subs-option-icon,
    .doc-list li,
    .subs-pdf-arrow,
    .e-devlet-banner,
    .e-devlet-btn,
    .custom-vertical-tabs .nav-link,
    .tab-icon {
        transition: none;
    }

    .tab-content .tab-pane {
        animation: none;
    }

    .subs-option-card:hover,
    .subs-option-card:hover .option-img-box,
    .subs-option-card:hover .subs-option-icon,
    .e-devlet-banner:hover,
    .custom-vertical-tabs .nav-link:hover {
        transform: none;
    }

    .doc-list li:hover {
        padding-left: 0;
    }

    .subs-pdf-link:hover .subs-pdf-arrow {
        transform: none;
    }
}
