/** ================================
 *  🔹 RESET ALANI
 *  ================================ */

:root {
    --focus-outline: 3px solid Highlight;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.w-sb-50 {
    width: 50% !important;
}

html, body {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    background: transparent;
}

/* HTML ve BODY */
html, body {
    height: 100%;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* BODY genel font ayarları */
body {
    font-family: var(--sb-font-body-family);
    font-weight: var(--sb-font-body-weight);
    font-style: var(--sb-font-body-style);
    font-size: var(--sb-font-body-size);
    line-height: var(--sb-font-body-line-height);
    letter-spacing: var(--sb-font-body-letter-spacing);
    color: var(--sb-font-body-color);
}

/* Başlık stilleri */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sb-font-heading-family);
    font-weight: var(--sb-font-heading-weight);
    font-style: var(--sb-font-heading-style);
    line-height: var(--sb-font-heading-line-height);
    letter-spacing: var(--sb-font-heading-letter-spacing);
    color: var(--sb-font-heading-color);
}

/** ================================
 *  🔹 GENEL STİLLER
 *  ================================ */

a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;

    &:hover {
        color: var(--sb-general-color);
    }
}

img, picture, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button, input, select, textarea {
    font: inherit;
    margin: 0;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    appearance: none;
}

.w-1-rem {
    width: 1rem;
}

.w-2-rem {
    width: 2rem;
}

.w-3-rem {
    width: 3rem;
}

/** ================================
 *  🔹 FOCUS / ACCESSIBILITY
 *  ================================ */

:focus {
    outline: none;
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.nav-link:focus {
    box-shadow: none !important; /* Bootstrap gölgesini kapat */
    outline: none; /* erişilebilir outline kalsın */
}

/** Ekran okuyucu metni */
.sr_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/** Placeholder / Disabled */
::placeholder {
    opacity: 1;
    color: #9aa0a6;
}

:disabled {
    cursor: default;
    opacity: 0.6;
    pointer-events: none;
}

/** ================================
 *  🔹 BUTTONLAR
 *  ================================ */

.btn-rs-1 {
    background: var(--sb-general-color);
    color: #fff;
    border: 0;
    font-weight: 600;
    text-transform: uppercase;
    &:hover {
        background: #222;
        color: #fff;
    }
}

.copy-right-logo {
    filter: brightness(0) invert(1);
}

/** ================================
 *  🔹 HEADER BAŞLANGIÇ
 *  ================================ */

.rs-header-1 {
    .logo {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 99;
    }
}

.rs-top-bg {
    background: linear-gradient(166deg, #fff 20%, #e7decd 100%);
}

/* Menü yapısı */
#sb_nav {
    .nav-item {
        border-right: 1px solid #eee;
        padding: 0.3rem 1rem;

        &:last-child {
            border-right: none;
        }

        .nav-link {
            font-family: var(--sb-font-main-menu-family);
            font-weight: var(--sb-font-main-menu-weight);
            font-style: var(--sb-font-main-menu-style);
            font-size: var(--sb-font-main-menu-size);
            line-height: var(--sb-font-main-menu-line-height);
            letter-spacing: var(--sb-font-main-menu-letter-spacing);
            text-transform: var(--sb-font-main-menu-transform);
            color: var(--sb-font-main-menu-color);
            transition: all 0.3s ease;

            &:hover {
                color: #d4af37;
            }
        }
    }

    /* Dropdown stilleri */

    .dropdown {
        &:hover > .dropdown-menu {
            display: block;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .dropdown-menu {
            display: block;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            background: #fff;
            padding: 0;
            top: 45px;

            .nav-item {
                padding: 0px;
            }

            .nav-link {
                font-family: var(--sb-font-sub-menu-family);
                font-weight: var(--sb-font-sub-menu-weight);
                font-style: var(--sb-font-sub-menu-style);
                font-size: var(--sb-font-sub-menu-size);
                line-height: var(--sb-font-sub-menu-line-height);
                letter-spacing: var(--sb-font-sub-menu-letter-spacing);
                text-transform: var(--sb-font-sub-menu-transform);
                color: var(--sb-font-sub-menu-color);

                &:hover {
                    background: var(--sb-general-color);
                    color: #fff !important;
                }
            }
        }
    }
}

/** 🔹 HEADER BİTİŞ **/

/** ================================
 *  🔹 SLIDER BÖLÜMÜ BAŞLANGIÇ
 *  ================================ */

#banner-slider {
    position: relative;

    .swiper-slide {
        display: flex;
        align-items: center;
        overflow: hidden;
        img {
            position: relative;
            z-index: 0;
        }

        &::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 200%;
            height: 100%;
            background: rgba(184, 134, 11, 0.8);
            background-size: 600% 100%;
            z-index: 1;
        }
    }

    .sb-slider-content {
        z-index: 2;
        padding-left: 3rem;
        .sb-slider-slogan {
            font-family: var(--sb-font-slogan-family);
            font-weight: var(--sb-font-slogan-weight);
            font-style: var(--sb-font-slogan-style);
            font-size: var(--sb-font-slogan-size);
            line-height: var(--sb-font-slogan-line-height);
            letter-spacing: var(--sb-font-slogan-letter-spacing);
            color: var(--sb-font-slogan-color);
            background-color: #fff;
            text-align: center;
            padding: 0.25rem 2rem;
            border-radius: 15px 0;
            width: max-content;
        }

        .sb-slider-desc {
            color: #fff;
        }

    }

    .sb-w-slider {
        width: 45%;
    }

    .sb-slider-title {
        font-size: clamp(1.6rem, 5vw, 3rem);
        font-weight: 700;
        color: #fff;
        margin: 0;

        @media (max-width: 991px) {
            font-size: 2.2rem;
        }
        @media (max-width: 767px) {
            font-size: 1.6rem;
        }
    }

    .swiper-pagination-bullet {
        background-color: #fff;
        opacity: 1;
        width: 1rem;
        border-radius: 5px;

        & -active {
            background-color: var(--sb-general-color);
            width: 4rem;
        }
    }
}

/* Animasyon */
@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/** 🔹 SLIDER BÖLÜMÜ BİTİŞ **/

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

.breadcrumb {
    .breadcrumb-item + .breadcrumb-item::before {
        content: "\f285";
        font-family: "bootstrap-icons";
        font-size: 0.8rem;
        color: #fff;
        position: relative;
        top: 3px;
    }
}

/** ================================
 *  🔹 NAVBAR DROPDOWN (GENEL .navbar-nav)
 *  ================================ */

.navbar-nav {
    .dropdown-toggle {
        &::after {
            content: "\F282";
            font-family: bootstrap-icons !important;
            border: 0;
            vertical-align: middle;
            font-size: 0.85rem;
            transition: transform 0.3s ease;
        }
    }

    .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Hover ile açılan menü */

    .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.3s ease;
        margin-top: 10px;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        background: #fff;
        border-radius: 0;
        padding: 0;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
        top: 45px;
        left: 0;

        .nav-link {
            font-family: var(--sb-font-sub-menu-family);
            font-weight: var(--sb-font-sub-menu-weight);
            font-style: var(--sb-font-sub-menu-style);
            font-size: var(--sb-font-sub-menu-size);
            line-height: var(--sb-font-sub-menu-line-height);
            letter-spacing: var(--sb-font-sub-menu-letter-spacing);
            text-transform: var(--sb-font-sub-menu-transform);
            color: var(--sb-font-sub-menu-color);
            padding: 7px 10px;
            border-bottom: 1px solid #eee;
            transition: all 0.2s ease;

            &:hover {
                background: var(--sb-general-color);
                color: #fff !important;
                font-weight: 700;
            }
        }
    }
}

/** ================================
 *  🔹 SINGLE SAYFA BLOKLARI
 *  ================================ */
p {
    font-size: 1.25rem;
    line-height: 1.6;
}
.sb_single_page {
    p {
        margin-bottom: 1rem;
        font-size: 1.4rem;
    }

    .col-md-7 {
        h3 {
            font-size: 1.1rem;
            font-weight: 900;
            background: var(--sb-general-color);
            padding: 0.2rem 1.2rem;
            color: #fff;
            max-width: 100%;
            position: relative;
            border-radius: 1rem 0;
            letter-spacing: -1px;
            margin-bottom: 1rem;
        }

        ul {
            margin: 1rem 0;
            padding-left: 1.2rem;
            list-style: disc;
        }
    }
}

/** ================================
 *  🔹 SERVİS LİSTESİ HOVER
 *  ================================ */

.service-items {
    margin-top: 2rem;

    &:first-child {
        margin-top: 0;
    }

    li {
        &:hover {
            background: #222;
            cursor: pointer;

            i, h6 {
                color: #fff;
            }
        }
    }
}

/** ================================
 *  🔹 FOOTER MENÜ (NESTED)
 *  ================================ */

.footer-menu-items {
    li {
        background-color: transparent;
        a {
            span {
                color: #fff;
                font-size: 0.9rem;
                font-weight: 500;
                border-color: transparent;
            }
        }

        &:hover {
            background-color: #fff;

            a span {
                color: #333;
            }
        }
    }
}

/** ================================
 *  🔹 UTILITIES
 *  ================================ */

/* Arka plan gradyanları */
.rs-bg-1 {
    background: linear-gradient(90deg, #fff 30%, #e7decd 100%);
}

/* Gold gradient */
.rs-bg-g-1 {
    background: var(--sb-general-color);
}

/* Site brand gradient */
.sb-bg-g-1 {
    background: var(--sb-general-color);
}

/* Metin için altın gradyan */
.text-rs-1 {
    background: var(--sb-general-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#service-list .card-header img {
    z-index: 99;
    position: relative;
    border: 1px solid #fff;
}

#service-list .card-header:after {
    content: '';
    left: 0;
    right: 0;
    top: 0;
    background: var(--sb-general-color);
    position: absolute;
    height: 75%;
    width: 100%;
}

#service-list .card-title {
    text-align: center;
}

#service-list .card .card-header img {
    object-fit: cover;
}

#service-list .card:hover {
    background: var(--sb-general-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

#service-list .card:hover .card-title {
    -webkit-text-fill-color: #fff;
}

.gold-text {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.95), rgba(255, 175, 80, 0.9));
    -webkit-background-clip: text; /* Safari ve Chrome için */
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Standart */
    color: transparent;
}

.gold-border {
    border: 1px solid transparent;
    border-image: var(--sb-general-color);
    border-image-slice: 1;
    border-radius: 8px;
}

.gold-border-1 {
    border: 1px solid transparent;
    border-image: var(--sb-general-color);
    border-image-slice: 1;
    border-radius: 8px;
}

.border-10-rds {
    border-radius: 1rem 0;
}

.sb-ltr-1 {
    letter-spacing: -1px;
}

.gold-heading-text {
    --g1: #d4af37; /* altın */
    --g2: #ffdf64; /* parlak */
    --g3: #caa243; /* koyu altın */
    background: linear-gradient(90deg, var(--g1), var(--g2), var(--g1));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: goldMove 3.5s linear infinite;
    will-change: background-position;
}

@keyframes goldMove {
    to {
        background-position: 200% 0;
    }
}


#social_media a:hover {
    background: var(--sb-general-color);
}

#social_media a:hover i {
    color: #fff;
}

.offcanvas {
    z-index: 99999 !important;
}


.organizations {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 15px;
    height: 100px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.organizations img {
    max-height: 100px;
    display: block;
    position: inherit;
    padding: 10px;
    object-fit: contain;
}

.organizations:hover {
    background-color: #ddd;
}

.sb-post-list-img {
    width: 100%;
    height: clamp(80px, 10vw, 120px);
    object-fit: cover;
}

.sb-excerpt p {
    letter-spacing: -0.5px;
    font-weight: 500;
    line-height: 1.3;
}

.sb-top-menu ul, .sb-top-menu li {
    list-style: none;
}

.bg-sbtheme {
    background: var(--sb-general-color);
}

.w-max-size {
    width: max-content;
}
.sb-bdr {
    border-radius: 10px 0;
    padding: 5px 15px;
}