/* /internet-paketleri — internet kampanya kartlari (.netcard).
   digiturkpaket.net (online-digiturk.com) tasarimindan uyarlandi; renkler bu sitenin morundan. */

.sayfa-bas--ince {
    padding: 26px 0;
}

/* Segment sekmeleri (yatay kayan) */
.segment-sekme {
    background: #fff;
    border-bottom: 1px solid #eee;
}

    .segment-sekme .kap {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

        .segment-sekme .kap::-webkit-scrollbar {
            display: none;
        }

    .segment-sekme a {
        flex: 0 0 auto;
        padding: 8px 16px;
        border-radius: 999px;
        background: #f3ecf7;
        color: var(--mor);
        font-weight: 700;
        font-size: 14px;
        white-space: nowrap;
    }

        .segment-sekme a:hover {
            background: var(--mor);
            color: #fff;
            text-decoration: none;
        }

    .segment-sekme .segment-sekme__altyapi {
        background: var(--mor);
        color: #fff;
    }

.internet-liste {
    padding-top: 26px;
}

.segment-group {
    scroll-margin-top: 140px;
}

    .segment-group + .segment-group {
        margin-top: 34px;
    }

.segment-group__title {
    margin: 0 0 4px;
    font-size: 22px;
    color: var(--baslik);
}

.segment-group__hint {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--metin-soft);
}

.netcard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.internet-not {
    margin: 26px 0 0;
    color: var(--metin-soft);
    font-size: 13px;
    text-align: center;
}

/* ---- Kart ---- */
.netcard {
    --net-purple: var(--mor, #660099);
    --net-purple-dark: #4d0073;
    --net-ink: var(--baslik, #29145f);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: #222;
    background: #fff;
    border: 1px solid #e6e2ea;
    border-top: 5px solid var(--net-purple);
    border-radius: 15px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.netcard__visual {
    position: relative;
    background: #ebe6f3;
}

    .netcard__visual img {
        display: block;
        width: 100%;
        aspect-ratio: 50 / 33;
        object-fit: cover;
    }

.netcard__badge {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--net-purple);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.netcard__badge--churn { background: #b8461f; }
.netcard__badge--oda { background: #23704a; }
.netcard__badge--isyeri { background: #1b609b; }

.netcard__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 6px 16px 18px;
}

.netcard__name {
    margin: 10px 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--net-ink);
}

.netcard__features {
    width: fit-content;
    max-width: 100%;
    margin: 4px auto 8px;
    padding: 0;
    list-style: none;
    text-align: left;
}

    .netcard__features li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 5px;
        font-size: 14px;
        line-height: 1.45;
        color: #555;
    }

        .netcard__features li img {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            object-fit: contain;
        }

.netcard__logos {
    width: 100%;
    margin-top: auto;
    padding: 10px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.netcard__logo-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: netcardLogos 24s linear infinite;
}

    .netcard__logo-track img {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

@keyframes netcardLogos {
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .netcard__logo-track { animation: none; }
}

.netcard__price {
    margin-bottom: 10px;
}

.netcard__price-label {
    display: block;
    margin: 4px 0 6px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #767676;
}

.netcard__price-main {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: var(--net-purple);
}

    .netcard__price-main span { font-size: 20px; }

    .netcard__price-main small {
        margin-left: 2px;
        font-size: 13px;
        font-weight: 600;
        color: #767676;
    }

/* Hız/fiyat tablosu (açılır) */
.netcard__hizlar {
    margin: 0 0 12px;
    text-align: left;
    border: 1px solid #ece6f2;
    border-radius: 10px;
    background: #faf8fc;
}

    .netcard__hizlar summary {
        cursor: pointer;
        padding: 9px 12px;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--net-purple);
        list-style: none;
        text-align: center;
    }

        .netcard__hizlar summary::-webkit-details-marker { display: none; }

        .netcard__hizlar summary::after {
            content: " ▾";
        }

    .netcard__hizlar[open] summary::after {
        content: " ▴";
    }

    .netcard__hizlar ul {
        margin: 0;
        padding: 0 12px 10px;
        list-style: none;
    }

    .netcard__hizlar li {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        padding: 6px 0;
        border-top: 1px dashed #e6deee;
        font-size: 13.5px;
    }

        .netcard__hizlar li small {
            color: #8a8a8a;
            font-size: 11px;
        }

        .netcard__hizlar li b {
            color: var(--net-ink);
            white-space: nowrap;
        }

.netcard__actions {
    display: flex;
    justify-content: center;
}

.netcard__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 10px;
    color: #fff;
    background: var(--net-purple);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}

    .netcard__btn:hover {
        color: #fff;
        background: var(--net-purple-dark);
        text-decoration: none;
    }

@media (min-width: 768px) {
    .netcard:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 48px rgba(102,0,153,.16);
    }
}

@media (max-width: 1100px) {
    .netcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .sayfa-bas--ince { padding: 14px 0; }
    .sayfa-bas--ince h1 { font-size: 22px; margin: 0; }
    .sayfa-bas--ince p, .sayfa-bas--ince .mini-yol { display: none; }

    .internet-liste { padding-top: 16px; }

    .netcard-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .segment-group__title { font-size: 19px; }
    .segment-group__hint { font-size: 13px; margin-bottom: 12px; }
    .netcard__name { font-size: 16px; }
    .netcard__price-main { font-size: 30px; }
}

/* ---- Ana sayfa internet bolumu ---- */
.ana-internet__alt {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.ana-internet__not {
    margin: 12px auto 0;
    max-width: 640px;
    text-align: center;
    color: var(--metin-soft);
    font-size: 13.5px;
}

/* Mobilde 4 kart alt alta cok uzun: yana kaydirilan serit (bir sonraki kart ucu gorunur). */
@media (max-width: 620px) {
    .netcard-grid--kaydir {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        margin-inline: -16px;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
        scrollbar-width: thin;
    }

        .netcard-grid--kaydir > .netcard {
            scroll-snap-align: start;
        }

    .ana-internet__alt .btn {
        flex: 1 1 100%;
    }
}
