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

:root {
    --rg-background: #0f1115;
    --rg-card: #181b20;
    --rg-card-hover: #1c2026;

    --rg-border: #292d34;

    --rg-text: #f5f5f5;
    --rg-title: #f1f2f4;
    --rg-muted: #969ca6;
    --rg-card-text: #8b929c;

    --rg-breadcrumb: #747b85;
    --rg-breadcrumb-link: #9299a3;

    --rg-gold: #d4af37;
    --rg-gold-light: #f2c94c;

    --rg-empty-text: #969ca6;
}


/* =========================================================
   LIGHT THEME
========================================================= */

html[data-theme="light"] {
    --rg-background: #fafafa;
    --rg-card: #ffffff;
    --rg-card-hover: #f6f7f8;

    --rg-border: #e0e3e7;

    --rg-text: #181a1f;
    --rg-title: #30343a;
    --rg-muted: #6d737c;
    --rg-card-text: #737a84;

    --rg-breadcrumb: #8a9099;
    --rg-breadcrumb-link: #6d737c;

    --rg-gold: #d4af37;
    --rg-gold-light: #f2c94c;

    --rg-empty-text: #6d737c;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 transparent;
}

/* Chrome, Edge, Safari */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        #f2c94c 0%,
        #d4af37 50%,
        #b88914 100%
    );
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #f6d96a 0%,
        #d4af37 50%,
        #a97d10 100%
    );
}

::selection {
    background: #FAF5E7;
    color: #111317;
}

::-moz-selection {
    background: #FAF5E7;
    color: #111317;
}

body{
    padding: 0 !important;
    margin: 0 !important;
}

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

.rg-main {
    min-height: 70vh;
    padding: 30px 20px 80px;

    background: var(--rg-background);

    color: var(--rg-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.rg-main a {
    color: inherit;
    text-decoration: none;
}

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


/* =========================================================
   BREADCRUMB
========================================================= */

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

    gap: 7px;

    margin-bottom: 38px;

    color: var(--rg-breadcrumb);

    font-size: 10px;
}

.rg-breadcrumb a {
    color: var(--rg-breadcrumb-link);

    transition: 0.2s;
}

.rg-breadcrumb a:hover {
    color: var(--rg-gold);
}


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

.rg-hero {
    position: relative;

    overflow: hidden;

    padding: 34px 36px;

    border: 1px solid var(--rg-border);
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(212, 175, 55, 0.10),
            transparent 30%
        ),
        var(--rg-card);
}

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

    position: absolute;

    right: -80px;
    top: -100px;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.04);

    filter: blur(15px);
}

.rg-eyebrow {
    display: block;

    margin-bottom: 7px;

    color: var(--rg-gold);

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

    letter-spacing: 1.4px;
}

.rg-hero h1 {
    position: relative;
    z-index: 1;

    margin: 0;

    font-size: 31px;
    line-height: 1.2;

    letter-spacing: -1px;
}

.rg-hero p {
    position: relative;
    z-index: 1;

    max-width: 680px;

    margin: 12px 0 0;

    color: var(--rg-muted);

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


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

.rg-section {
    padding-top: 42px;
}

.rg-section-heading {
    margin-bottom: 20px;
}

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

    font-size: 22px;

    letter-spacing: -0.7px;
}


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

.rg-grid {
    display: grid;

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

    gap: 14px;
}


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

.rg-card {
    position: relative;

    min-height: 170px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid var(--rg-border);
    border-radius: 12px;

    background: var(--rg-card);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

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

    border-color: rgba(212, 175, 55, 0.35);

    background: var(--rg-card-hover);
}

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

    position: absolute;

    top: 0;
    left: 22px;

    width: 0;
    height: 2px;

    background: var(--rg-gold);

    transition: width 0.2s ease;
}

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

.rg-card h3 {
    margin: 0;

    color: var(--rg-title);

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

    line-height: 1.55;

    transition: color 0.2s ease;
}

.rg-card:hover h3 {
    color: var(--rg-gold-light);
}

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

    color: var(--rg-card-text);

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


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

@media (max-width: 1000px) {

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

}


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

@media (max-width: 750px) {

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

}


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

@media (max-width: 520px) {

    .rg-main {
        padding: 24px 0 50px;
    }

    .rg-container {
        width: calc(100% - 24px);
    }

    .rg-breadcrumb {
        margin-bottom: 25px;
    }

    .rg-hero {
        padding: 25px 20px;
    }

    .rg-hero h1 {
        font-size: 26px;
    }

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

    .rg-section {
        padding-top: 32px;
    }

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

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

    .rg-card {
        min-height: auto;

        padding: 19px;
    }

}

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

    padding: 35px;

    border: 1px dashed var(--rg-border);
    border-radius: 12px;

    color: var(--rg-empty-text);

    font-size: 12px;

    text-align: center;
}