/* =========================================================
   KALİTE - ULUSLARARASI STANDARTLAR SAYFASI
========================================================= */

:root {
    --navy: #0E1B2B;
    --text-dark: #343434;
    --text-gray: #4B5563;
    --surface: #F7F8FA;
}


/* =========================================================
   AKTİF MENÜ
========================================================= */

.main-nav .nav-link.active {
    color: var(--accent);
}


/* =========================================================
   CONTAINER (SAYFA GENELİ - HEADER İLE HİZALI)
========================================================= */

.container-xl {
    max-width: 100%;
    padding-left: 96px;
    padding-right: 96px;
}

@media (max-width: 1199px) {
    .container-xl {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 575px) {
    .container-xl {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================================================
   SAYFA HERO / BREADCRUMB
========================================================= */

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    height: 347px;
    padding-top: 138px;
    background-color: var(--navy);
    background-image: url("img/BannerGorsel.png");
    background-size: cover;
    background-position: center;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 30px;
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 400;
    line-height: 1.32;
    color: #fff;
}

.page-breadcrumb-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
    color: var(--accent);
}

.page-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.5);
}

.page-breadcrumb .current {
    color: #fff;
}

.page-title {
    margin: 0;
    max-width: 682px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 42px;
    line-height: 1.32;
    color: #fff;
}


/* =========================================================
   GİRİŞ (ORTALI)
========================================================= */

.standards-intro {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.standards-intro-heading {
    max-width: 713px;
    margin: 0 auto 24px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 32px;
    line-height: 1.32;
    color: var(--navy);
}

.standards-intro-text {
    max-width: 829px;
    margin: 0 auto;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-gray);
}


/* =========================================================
   SEKME (TAB) BAŞLIKLARI
========================================================= */

.standards-content {
    background: #fff;
}

.standards-tabs {
    display: flex;
    max-width: 843px;
    margin: 0 auto;
    border-bottom: 1px solid #C7CDD4;
}

.standards-tab {
    flex: 1;
    padding: 24px 30px;
    background: #fff;
    border: 1px solid #C7CDD4;
    border-bottom: none;
    font-family: "Poppins";
    font-weight: 500;
    font-size: 20px;
    color: var(--text-gray);
    cursor: pointer;
    text-align: center;
}

.standards-tab + .standards-tab {
    border-left: none;
}

.standards-tab.active {
    background: var(--surface);
    color: var(--navy);
    border-bottom: 1px solid var(--surface);
    margin-bottom: -1px;
}


/* =========================================================
   SEKME İÇERİĞİ
========================================================= */

.standards-panel {
    display: none;
    padding: 80px 0 0;
}

.standards-panel.active {
    display: block;
}

.standards-panel-heading {
    max-width: 730px;
    margin: 0 0 24px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 42px;
    line-height: 1.32;
    color: var(--text-dark);
}

.standards-panel-text {
    max-width: 730px;
    margin: 0 0 56px;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-dark);
}


/* =========================================================
   GRI ALT BÖLÜM (KARTLAR VE LİSTELER)
========================================================= */

.standards-panel-gray {
    background: var(--surface);
    padding: 40px 0 100px;
}

/* =========================================================
   4'LÜ KART GRID (STANDART TÜRLERİ)
========================================================= */

.standards-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 100px;
}

.standards-card {
    padding: 40px;
    background: #fff;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.standards-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.standards-card-icon {
    width: 49px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.standards-card-icon img {
    width: 48px;
    height: 48px;
    filter: brightness(0) saturate(100%) invert(46%) sepia(4%) saturate(263%) hue-rotate(160deg) brightness(94%) contrast(88%);
    transition: filter 0.3s ease;
}

.standards-card.is-active .standards-card-icon img,
.standards-card:hover .standards-card-icon img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(48%) saturate(996%) hue-rotate(349deg) brightness(101%) contrast(92%);
}

.standards-card-icon svg {
    width: 48px;
    height: 48px;
    stroke: rgba(14, 27, 43, 0.5);
    transition: stroke 0.3s ease;
}

.standards-card.is-active .standards-card-icon svg,
.standards-card:hover .standards-card-icon svg {
    stroke: var(--accent);
}

.standards-card h4 {
    margin: 24px 0 0;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.6px;
    color: var(--navy);
    transition: color 0.3s ease;
}

.standards-card.is-active h4,
.standards-card:hover h4 {
    color: var(--accent);
}

.standards-card p {
    margin: 16px 0 0;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    color: var(--text-gray);
}


/* =========================================================
   DESTEKLENEN STANDARTLAR / KULLANIM ALANLARI
========================================================= */

.standards-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.standards-list-title {
    margin: 0 0 32px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 32px;
    line-height: 1.32;
    color: var(--text-dark);
}

.standards-list {
    display: flex;
    flex-direction: column;
}

.standards-list-row {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid #C8D0DA;
}

.standards-list-row:first-child {
    padding-top: 0;
}

.standards-list-code {
    flex: 0 0 auto;
    font-family: "Poppins";
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.04em;
    color: var(--navy);
}

.standards-list-desc {
    font-family: "Poppins";
    font-weight: 400;
    font-size: 18px;
    color: var(--text-gray);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.usage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 26px 20px;
    background: #fff;
    text-align: center;
}

.usage-card img {
    width: 41px;
    height: 46px;
}

.usage-card span {
    font-family: "Poppins";
    font-weight: 500;
    font-size: 18px;
    color: #3A394F;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
    .page-hero {
        height: 260px;
        padding-top: 100px;
    }

    .page-title {
        font-size: 28px;
    }

    .standards-intro {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .standards-panel {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .standards-panel-heading {
        font-size: 30px;
    }

    .standards-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 60px;
    }

    .standards-lists {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .standards-tabs {
        flex-direction: column;
    }

    .standards-tab + .standards-tab {
        border-left: 1px solid #C7CDD4;
        border-top: none;
    }

    .standards-tab.active {
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    .page-hero {
        height: 220px;
        padding-top: 80px;
    }

    .page-title {
        font-size: 24px;
    }

    .standards-intro-heading {
        font-size: 24px;
    }

    .standards-panel-heading {
        font-size: 24px;
    }

    .standards-cards {
        grid-template-columns: 1fr;
    }

    .standards-list-row {
        flex-direction: column;
        gap: 4px;
    }

    .usage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
