/* =========================================================
   DEPREM REHBERİ
   Prefix: rg-
========================================================= */

:root {
    --rg-ink: #17231d;
    --rg-muted: #718078;
    --rg-soft: #f4f7f5;
    --rg-line: #e2e9e5;

    --rg-green: #356b51;

    --rg-red: #d64545;
    --rg-red-light: #fdf0f0;

    --rg-white: #ffffff;
}


/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--rg-ink);
    background: var(--rg-soft);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.rg-main,
.rg-main * {
    box-sizing: border-box;
}

.rg-main {
    min-height: 100vh;
    background: var(--rg-soft);
    color: var(--rg-ink);
}

.rg-container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.rg-header {
    height: 72px;

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

    background: rgba(255,255,255,0.94);

    border-bottom: 1px solid var(--rg-line);

    backdrop-filter: blur(12px);
}

.rg-logo {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--rg-ink);

    font-size: 19px;
    font-weight: 800;

    letter-spacing: -0.7px;
}

.rg-logo-mark {
    position: relative;

    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;
}

.rg-logo-mark i {
    position: absolute;

    display: block;

    border: 1.5px solid var(--rg-red);

    border-radius: 50%;
}

.rg-logo-mark i:nth-child(1) {
    width: 7px;
    height: 7px;

    background: var(--rg-red);
}

.rg-logo-mark i:nth-child(2) {
    width: 17px;
    height: 17px;

    opacity: 0.55;
}

.rg-logo-mark i:nth-child(3) {
    width: 27px;
    height: 27px;

    opacity: 0.25;
}

.rg-nav {
    display: flex;
    align-items: center;

    gap: 28px;

    color: #69756f;

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

.rg-nav a {
    transition: color .2s ease;
}

.rg-nav a:hover,
.rg-nav a.active {
    color: var(--rg-ink);
}





/* =========================================================
   HERO
========================================================= */

.rg-hero {
    position: relative;

    overflow: hidden;

    margin-top: 36px;

    padding: 48px 44px;

    background:
        radial-gradient(
            circle at 88% 45%,
            rgba(214,69,69,0.08),
            transparent 28%
        ),
        var(--rg-white);

    border: 1px solid var(--rg-line);

    border-radius: 18px;

    box-shadow: 0 18px 45px rgba(30,50,40,0.05);
}

.rg-hero::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -90px;
    top: -100px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(214,69,69,0.07),
        rgba(214,69,69,0) 70%
    );
}

.rg-hero-content {
    position: relative;

    z-index: 2;
}

.rg-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: var(--rg-green);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.9px;
}

.rg-hero h1 {
    max-width: 760px;

    color: var(--rg-ink);

    font-size: clamp(40px, 5vw, 60px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;
}

.rg-hero h1 em {
    color: var(--rg-red);

    font-style: normal;
}

.rg-hero p {
    max-width: 680px;

    margin-top: 17px;

    color: var(--rg-muted);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   SECTION
========================================================= */

.rg-section {
    padding: 78px 0;
}

.rg-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 27px;
}

.rg-section-heading h2 {
    color: var(--rg-ink);

    font-size: 31px;

    line-height: 1.05;

    letter-spacing: -1.3px;
}

.rg-section-heading p {
    max-width: 430px;

    color: var(--rg-muted);

    font-size: 13px;

    line-height: 1.6;

    text-align: right;
}


/* =========================================================
   GRID
========================================================= */

.rg-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   CARD
========================================================= */

.rg-card {
    position: relative;

    min-height: 225px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    overflow: hidden;

    background: var(--rg-white);

    border: 1px solid var(--rg-line);

    border-radius: 13px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.rg-card:hover {
    transform: translateY(-3px);

    border-color: rgba(214,69,69,0.30);

    box-shadow:
        0 12px 30px rgba(30,50,40,0.07);
}

.rg-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 23px;

    width: 0;
    height: 2px;

    background: var(--rg-red);

    transition: width .2s ease;
}

.rg-card:hover::before {
    width: 38px;
}


/* =========================================================
   CARD TOP
========================================================= */

.rg-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.rg-card-number {
    width: 32px;
    height: 32px;

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

    border-radius: 8px;

    background: var(--rg-red-light);

    color: var(--rg-red);

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

.rg-card-arrow {
    color: #9aa59f;

    font-size: 18px;

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

.rg-card:hover .rg-card-arrow {
    color: var(--rg-red);

    transform: translateX(3px);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.rg-card-content {
    flex: 1;
}

.rg-card h3 {
    margin: 0;

    color: var(--rg-ink);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.5;

    letter-spacing: -.25px;
}

.rg-card p {
    margin-top: 10px;

    color: var(--rg-muted);

    font-size: 11.5px;

    line-height: 1.7;
}


/* =========================================================
   CARD LINK
========================================================= */

.rg-card-link {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-top: 20px;

    color: var(--rg-red);

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

.rg-card-link span {
    transition: transform .2s ease;
}

.rg-card:hover .rg-card-link span {
    transform: translateX(3px);
}


/* =========================================================
   INFO
========================================================= */

.rg-info-section {
    padding: 0 0 80px;
}

.rg-info {
    display: flex;
    flex-direction: column;

    gap: 32px;

    padding: 36px 32px;

    background: var(--rg-white);

    border: 1px solid var(--rg-line);

    border-radius: 14px;
}

.rg-info-head h2 {
    color: var(--rg-ink);

    font-size: 21px;

    letter-spacing: -.6px;
}

.rg-info-head p {
    max-width: 700px;

    margin-top: 10px;

    color: var(--rg-muted);

    font-size: 12px;

    line-height: 1.7;
}

.rg-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.rg-info-item {
    position: relative;

    padding: 20px;

    background: var(--rg-soft);

    border: 1px solid var(--rg-line);

    border-radius: 12px;
}

.rg-info-item-label {
    display: block;

    margin-bottom: 12px;

    color: var(--rg-red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.rg-info-item h3 {
    color: var(--rg-ink);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: -.25px;
}

.rg-info-item p {
    margin-top: 8px;

    color: var(--rg-muted);

    font-size: 11.5px;

    line-height: 1.7;
}

.rg-info-button {
    align-self: flex-start;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 12px 16px;

    background: var(--rg-red);

    border-radius: 9px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

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

.rg-info-button:hover {
    transform: translateY(-1px);

    opacity: .92;
}


/* =========================================================
   EMPTY
========================================================= */

.rg-empty {
    grid-column: 1 / -1;

    display: flex;
    flex-direction: column;

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

    min-height: 170px;

    padding: 30px;

    border: 1px dashed var(--rg-line);

    border-radius: 13px;

    text-align: center;

    background: var(--rg-white);
}

.rg-empty strong {
    color: var(--rg-ink);

    font-size: 13px;
}

.rg-empty span {
    margin-top: 5px;

    color: var(--rg-muted);

    font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

.rg-footer {
    min-height: 90px;

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

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid var(--rg-line);

    color: #7f9087;

    font-size: 10px;
}

.rg-footer strong {
    color: #dce6e1;

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

.rg-footer span {
    display: block;

    margin-top: 4px;

    color: #7f9087;

    font-size: 10px;
}

.rg-footer-links {
    display: flex;
    align-items: center;

    gap: 20px;
}

.rg-footer-links a {
    color: #7f9087;

    font-size: 10px;

    transition: color .2s ease;
}

.rg-footer-links a:hover {
    color: #ffffff;
}

.district-breadcrumb{background:var(--white);border-bottom:1px solid var(--line)}
.district-breadcrumb .breadcrumb{min-height:48px;display:flex;align-items:center;gap:7px;font-size:13px;color:#66736c}
.district-breadcrumb .breadcrumb a:hover{color:var(--red)}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .rg-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rg-section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .rg-section-heading p {
        max-width: 600px;

        text-align: left;
    }

    .rg-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .rg-container {
        width: min(100% - 24px, 1140px);
    }

    .rg-header {
        height: 62px;
    }

    .rg-nav {
        display: none;
    }

    .breadcrumb {
        padding-top: 18px;

        overflow: hidden;

        white-space: nowrap;
    }

    .rg-hero {
        margin-top: 28px;

        padding: 40px 22px;
    }

    .rg-hero h1 {
        font-size: 43px;

        letter-spacing: -2.5px;
    }

    .rg-hero p {
        font-size: 13px;
    }

    .rg-section {
        padding: 58px 0;
    }

    .rg-section-heading h2 {
        font-size: 27px;
    }

    .rg-grid {
        grid-template-columns: 1fr;
    }

    .rg-card {
        min-height: 205px;

        padding: 21px;
    }

    .rg-info-section {
        padding-bottom: 58px;
    }

    .rg-info {
        padding: 24px;
    }

    .rg-info-grid {
        grid-template-columns: 1fr;
    }

    .rg-info-button {
        width: 100%;

        justify-content: center;
    }

    .rg-footer {
        min-height: 100px;

        align-items: flex-start;

        justify-content: center;

        flex-direction: column;
    }

    .rg-footer-links {
        flex-wrap: wrap;

        gap: 14px;
    }

}