/* =========================================================
   KİMYASAL ANALİZ RAPORU
========================================================= */

.analysis-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 80px;
    color: #164f43;
}


/* GERİ DÖN */

.analysis-page .back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 52px;

    color: #245d51;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.analysis-page .back-button:hover {
    color: #b78343;
    transform: translateX(-3px);
}

.analysis-page .back-button i {
    font-size: 12px;
}


/* =========================================================
   BAŞLIK
========================================================= */

.analysis-header {
    max-width: 760px;
    margin: 0 auto 70px;

    text-align: center;
}

.analysis-eyebrow,
.analysis-section-label {
    display: block;

    margin-bottom: 12px;

    color: #b78343;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3.5px;
    line-height: 1.4;
}

.analysis-header h1 {
    margin: 0;

    color: #0d5143;

    font-size: clamp(39px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.analysis-header p {
    max-width: 630px;
    margin: 20px auto 0;

    color: #6e7774;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   GİRİŞ
========================================================= */

.analysis-intro {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 65px;
    align-items: center;

    margin-bottom: 100px;
}

.analysis-intro-icon {
    position: relative;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(20, 79, 67, .08);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,.95),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #e9f1ec,
            #d3e4db
        );

    color: #17614f;

    font-size: 78px;

    box-shadow: 0 22px 50px rgba(35, 67, 58, .08);
}

.analysis-intro-icon::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(23, 97, 79, .10);
    border-radius: 50%;
}

.analysis-intro-icon i {
    position: relative;
    z-index: 2;

    width: 135px;
    height: 135px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.70);

    box-shadow: 0 15px 40px rgba(23, 97, 79, .10);
}

.analysis-intro-content h2 {
    margin: 0 0 24px;

    color: #0d5143;

    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
}

.analysis-intro-content p {
    margin: 0 0 17px;

    color: #68736f;

    font-size: 14px;
    line-height: 1.85;
}


/* =========================================================
   SONUÇLAR
========================================================= */

.analysis-results {
    margin-bottom: 85px;
}

.analysis-section-heading {
    max-width: 720px;
    margin: 0 auto 40px;

    text-align: center;
}

.analysis-section-heading h2 {
    margin: 0;

    color: #0d5143;

    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.analysis-section-heading p {
    margin: 15px auto 0;

    color: #707a76;

    font-size: 14px;
    line-height: 1.75;
}


/* RAPOR BOŞ DURUM */

.analysis-empty {
    display: flex;
    align-items: center;
    gap: 24px;

    max-width: 820px;
    margin: 0 auto;

    padding: 30px;

    border: 1px solid #e2e2dc;
    border-radius: 18px;

    background: rgba(255,255,255,.72);
}

.analysis-empty-icon {
    flex: 0 0 62px;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e6efe9;
    color: #17614f;

    font-size: 23px;
}

.analysis-empty h3 {
    margin: 0 0 7px;

    color: #154f43;

    font-size: 17px;
    font-weight: 800;
}

.analysis-empty p {
    margin: 0;

    color: #707a76;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   RAPOR BELGESİ
========================================================= */

.analysis-document {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;

    margin-bottom: 30px;
    padding: 40px 45px;

    border-radius: 22px;

    background: #175847;
}

.analysis-document h2 {
    margin: 0 0 10px;

    color: #fff;

    font-size: 27px;
    font-weight: 800;
}

.analysis-document p {
    max-width: 620px;
    margin: 0;

    color: rgba(255,255,255,.70);

    font-size: 13px;
    line-height: 1.7;
}

.analysis-document .analysis-section-label {
    color: #d8b07a;
}

.analysis-document-status {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 17px;

    border: 1px solid rgba(255,255,255,.20);
    border-radius: 10px;

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 12px;
    font-weight: 700;
}

.analysis-document-status i {
    color: #d8b07a;
    font-size: 18px;
}


/* =========================================================
   NOT
========================================================= */

.analysis-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    padding: 17px 20px;

    border: 1px solid rgba(183, 131, 67, .20);
    border-radius: 13px;

    background: rgba(183, 131, 67, .06);
}

.analysis-note > i {
    margin-top: 3px;

    color: #b78343;
}

.analysis-note p {
    margin: 0;

    color: #737871;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .analysis-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .analysis-intro-icon {
        min-height: 350px;
    }

}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 600px) {

    .analysis-page {
        width: calc(100% - 28px);

        padding: 30px 0 55px;
    }

    .analysis-page .back-button {
        margin-bottom: 38px;
    }

    .analysis-header {
        margin-bottom: 45px;
    }

    .analysis-header h1 {
        font-size: 36px;
    }

    .analysis-intro {
        margin-bottom: 70px;
    }

    .analysis-intro-icon {
        min-height: 290px;

        font-size: 60px;
    }

    .analysis-intro-icon i {
        width: 110px;
        height: 110px;
    }

    .analysis-empty {
        align-items: flex-start;

        padding: 22px;
    }

    .analysis-document {
        display: block;

        padding: 30px 24px;
    }

    .analysis-document-status {
        margin-top: 22px;
    }

}

/* =========================================================
   ANALİZ ÖZET KARTLARI
========================================================= */

.analysis-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;

    margin-bottom: 85px;
}

.analysis-summary-card {
    display: flex;
    align-items: center;
    gap: 17px;

    padding: 23px;

    border: 1px solid #e1e5e1;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(32, 68, 58, .045);
}

.analysis-summary-card > span {
    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e6efe9;
    color: #17614f;

    font-size: 18px;
}

.analysis-summary-card small {
    display: block;

    margin-bottom: 4px;

    color: #818985;

    font-size: 10px;
    font-weight: 700;
}

.analysis-summary-card strong {
    display: block;

    color: #154f43;

    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   ANALİZ TABLOSU
========================================================= */

.analysis-table-wrapper {
    overflow: hidden;

    max-width: 900px;
    margin: 0 auto;

    border: 1px solid #e0e4df;
    border-radius: 18px;

    background: #fff;

    box-shadow: 0 12px 35px rgba(30, 66, 56, .055);
}

.analysis-table {
    width: 100%;

    border-collapse: collapse;
}

.analysis-table th {
    padding: 17px 22px;

    background: #175847;

    color: #fff;

    text-align: left;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.analysis-table th:last-child {
    text-align: right;
}

.analysis-table td {
    padding: 14px 22px;

    border-bottom: 1px solid #edf0ec;

    color: #596762;

    font-size: 13px;
}

.analysis-table td:last-child {
    color: #175847;

    text-align: right;

    font-weight: 800;
}

.analysis-table tbody tr:last-child td {
    border-bottom: 0;
}

.analysis-table tbody tr {
    transition: background .15s ease;
}

.analysis-table tbody tr:hover {
    background: #f5f8f6;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .analysis-summary {
        grid-template-columns: 1fr;

        margin-bottom: 65px;
    }

    .analysis-table-wrapper {
        overflow-x: auto;
    }

    .analysis-table {
        min-width: 500px;
    }

}