html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #D64552;
}

html {
    position: relative;
    min-height: 100%;
}


@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-VariableFont_opsz-wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-Italic-VariableFont_opsz-wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'YrsaFont';
    src: url('../fonts/Yrsa-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6, a {
    font-family: 'YrsaFont', sans-serif;
}

body {
    font-family: 'DMSans', sans-serif;
}

.card-title {
    font-size: 14px;
    font-family: 'DMSans', sans-serif;
    margin-bottom: 0;
}

.card-no-shadow {
    box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.5), 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.searchInput {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem white !important;
}

.hero {
    background-color: #D64552;
    color: white;
    text-align: center;
}

.letter-btn.active {
    background: #D64552;
    color: white;
    box-shadow: 0px 0px 10px rgba(210, 63, 63, 0.5);
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.search-box {
    background: white;
    border-radius: 50px;
    padding: 11px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 35%;
    max-width: 500px;
    height: 40px;
}

    .search-box input {
        border: none;
        outline: none;
        flex-grow: 1;
        font-size: 16px;
        padding: 0 0.75rem;
    }

    .search-box i {
        font-size: 20px;
        color: #aaa;
        margin-left: 10px;
    }

.footer {
    background-color: #D64552;
    color: white;
    text-align: center;
}

.footer-links {
    font-size: 12px;
    opacity: 0.8;
}

.kokHeaderContainer {
    padding: 10px 60px 10px 60px;
    width: 100%;
}

.navbar-brand {
    font-size: 20px;
}

.cardHover {
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5), 0px 0px 11px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .cardHover:hover {
        transform: scale(1.05);
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    }

.arrow {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .arrow:hover {
        transform: translateX(5px); /* Ok sağa doğru hareket eder */
        color: #007bff; /* Rengi değişir */
    }

.card-header {
    border-bottom: 0px;
    background-color: white;
}

    .card-header .badge {
            padding: 1.2em 1.2em;
        line-height: 0;
        border: 1px solid black;
        text-decoration: none;
        font-size: 14px;
    }

.blogCard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.paddingFooter {
    background-color: #D64552;
    padding: 7rem 0 3rem 0;
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: none;
    text-align: center;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
}

.modal-body {
    padding: 20px;
}

input.searchInputModal {
    border-radius: 30px;
    padding: 10px 15px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 4px 10px rgba(0, 0, 0, 0.2);
}

    input.searchInputModal:focus {
        border-color: #D64552;
        box-shadow: 0 0 0 0.1rem #D64552, 0 0 0 0.25rem white !important;
    }

.btn-search {
    width: 100%;
    border-radius: 30px;
    background-color: #D64552;
    color: white;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .btn-search:hover {
        transform: scale(1.05);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        color: white;
    }

.page-link {
    color: #D64552;
}

.page-item.active .page-link {
    background-color: #D64552;
    border-color: #D64552;
}

.page-link:hover {
    color: #D64552
}

.page-link:focus {
    color: black;
}

.swichtBtn {
    margin-right: 1rem;
    border-radius: 50px;
    max-width: 25%;
}

.kurumsalText {
    display: flex;
    justify-content: center; /* Yatay ortalama */
    align-items: center; /* Dikey ortalama */
}

.contact-form {
    padding: 40px;
    border-radius: 10px;
    max-width: 720px;
    margin: 50px auto;
}

.form-control {
    border-radius: 30px;
    font-size: 16px;
}

.btn-custom {
    background-color: #d23f3f;
    color: white;
    border-radius: 30px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

    .btn-custom:hover {
        background-color: #b83232;
    }

.card {
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.kelimeCardHv:hover .card-header {
    background-color: #D64552 !important;
    color: white !important;
}

.kelimeCardHv:hover .card-text {
    color: white !important;
}

.kelimeCardHv:hover i {
    color: white !important;
}

.kelimeCardHv:hover {
    background-color: #D64552 !important;
    color: white !important;
    cursor: pointer;
}

.card-text {
    color: #767676;
}

.navigationBtn {
    font-family: 'YrsaFont', sans-serif;
    font-size: 16px;
    cursor: pointer;
    border-radius: 30px;
    border-color: white;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navigationBtn i {
    margin-top: 4px;
}

.navigationBtnL{
    padding: 0.15rem 0.75rem 0.15rem 0.4rem;
}

.navigationBtnR {
    padding: 0.15rem 0.4rem 0.15rem 0.75rem;
}

    .navigationBtn:hover {
        transform: scale(1.05);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        color: white;
        background-color: #D64552;
        border-color: #D64552;
    }

.badge {
    padding: 1.2em 0.65em;
    line-height: 0;
    border: 1px solid black;
    text-decoration: none;
}

input.iletisimInput {
    border-radius: 15px;
    padding: 10px 15px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 4px 10px rgba(0, 0, 0, 0.2);
}

textarea.iletisimInput {
    border-radius: 15px;
    padding: 10px 15px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 4px 10px rgba(0, 0, 0, 0.2);
}

input.iletisimInput:focus {
    border-color: #D64552;
    box-shadow: 0 0 0 0.1rem #D64552, 0 0 0 0.25rem white !important;
}

textarea.iletisimInput:focus {
    border-color: #D64552;
    box-shadow: 0 0 0 0.1rem #D64552, 0 0 0 0.25rem white !important;
}

.harf-btn {
    border-radius: 25px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5), 0px 0px 11px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 1rem;
    border-color: transparent;
    height: 38px;
    width: 38px;
}

    .harf-btn:hover {
        transform: scale(1.05);
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        background-color: #D64552;
        border-color: #D64552;
        color: white;
    }

/* Mobil Görünüm için Optimize Edilmiş Stiller */
@media (max-width: 992px) {
    .search-box {
        width: 100%; /* Mobilde tam genişlik */
        justify-content: center;
    }

    .navbar-nav {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .mobil-alg {
        justify-content: start !important;
    }
}


.card-no-shadow {
    box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.5), 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.p-mb-0 {
    margin-bottom: 0.2rem;
}

.alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    padding: 15px 0;
}

    .alphabet div {
        color: black;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-weight: 400;
        font-size: 16px;
        box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 0px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease-in-out;
    }

        .alphabet div:hover {
            transform: scale(1.1);
            box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.7), 0px 6px 12px rgba(0, 0, 0, 0.3);
            cursor: pointer;
        }

#blogAnaBaslik {
    font-size: 95px;
    line-height: 1.1;
}

#cardAdi {
    font-size: 80px;
}

@media (max-width: 768px) {
    .alphabet {
        display: flex;
        gap: 0;
        flex-wrap: nowrap;
        justify-content: normal;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: 1rem !important;
        margin-top: 2rem !important;
    }

    .letter-btn {
        flex: 0 0 auto;
        margin-right: 1rem;
    }

    .alphabet::-webkit-scrollbar {
        display: none;
    }

    #blogAnaBaslik {
        font-size: 24px;
        margin-top: 1rem;
    }

    #cardContainer {
        margin-right: 1.7rem !important;
        margin-left: 1.7rem !important;
    }

    #navbarNav {
        margin-top: 3rem !important;
    }

        #navbarNav .navbar-nav {
            margin-top: 3rem !important;
        }

    #cardAdi {
        font-size: 40px;
    }

    .mobilMx {
        margin-right: 0.75rem !important;
        margin-left: 0.75rem !important;
    }

    .kokHeaderContainer {
        padding: 10px;
    }
}
