/* ----- TEMEL STİLLER ----- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    padding-top: 70px;
    padding-bottom: 60px;
}

.custom-color {
    background-color: #1A3C34;
}

/* ----- NAVİGASYON BİLEŞENLERİ ----- */
.navbar-dark .navbar-nav .nav-link {
    font-size: 1.15rem;
    padding: 12px 16px;
    margin: 2px 4px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

    .navbar-dark .navbar-nav .nav-link.active {
        background-color: #198754;
        font-weight: 500;
    }

.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* ----- FOOTER BİLEŞENLERİ ----- */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 50px;
}

    .footer a:hover {
        text-decoration: underline;
    }

/* ----- FORM BİLEŞENLERİ ----- */
.form-alani {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.form-karti {
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.07);
    border: 1px solid #443e3e;
}

.form-karti-giris {
    max-width: 450px;
}

.form-karti .form-baglantilari {
    margin-top: 1.5rem;
    text-align: center;
}

    .form-karti a {
        text-decoration: none;
    }
    .form-karti a:hover {
        text-decoration: underline;
    }

.toggle-password-icon {
    cursor: pointer;
}

/* ----- VALİDASYON MESAJLARI ----- */
.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid #f5c6cb;
    border-radius: 0.5rem;
    background-color: #f8d7da;
    color: #721c24;
}

    .validation-summary-errors ul {
        margin-bottom: 0;
        list-style-type: none;
        padding-left: 0.5rem;
    }

.field-validation-error {
    color: #dc3545;
    font-size: 0.875em;
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

/* ----- KART BİLEŞENLERİ ----- */
.kart-rol {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dee2e6;
}

    .kart-rol:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
        border-color: #198754;
    }

.kart-odak {
    border: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .kart-odak:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
    }

.ilan-karti {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

    .ilan-karti:hover {
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08) !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
    }

        .ilan-karti:hover .hover-primary {
            color: var(--bs-primary) !important;
        }

    .ilan-karti .card-body .border-bottom {
        border-color: #b3b8bd !important;
        border-bottom-width: 1px !important;
    }

/* ----- İKON BİLEŞENLERİ ----- */
.ikon-cerceve {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.ikon-cerceve-buyuk {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
}

.ikon-cerceve-kucuk {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.profil-ikon {
    width: 60px;
    height: 60px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
}

.dogrudan-iletisim-karti .ikon-kapsayici {
    width: 30px;
    text-align: center;
}

/* ----- SAYFA BÖLÜMLERİ VE BAŞLIKLAR ----- */
.hakkimizda-baslik-bolumu,
.iletisim-baslik-bolumu,
.sss-baslik-bolumu,
.yasal-baslik-bolumu {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 4rem 0;
}

.ana-bolum {
    background-color: #198754;
}

.ozellikler-bolumu-koyu {
    background-color: #198754;
}

.adimlar-bolumu {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.adim-listesi li {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.adim-listesi i {
    margin-right: 10px;
}

.ozellikler-carousel .carousel-item.active {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ozellikler-carousel .carousel-item p {
    opacity: 0.9;
}

.daha-fazla-bilgi-bolumu .col,
.degerler-bolumu .col {
    transition: transform 0.3s ease;
}

    .degerler-bolumu .col:hover {
        transform: scale(1.05);
    }

.sss-icerik-bolumu .accordion-button {
    font-size: 1.1rem;
    font-weight: 500;
    color: #212529;
}

    .sss-icerik-bolumu .accordion-button:not(.collapsed) {
        background-color: #f8f9fa;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
    }

    .sss-icerik-bolumu .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
        border-color: rgba(25, 135, 84, 0.5);
    }

    .sss-icerik-bolumu h3 {
        color: #0f6efd;
    }      

.sss-icerik-bolumu .accordion-body {
    line-height: 1.6;
    font-size: 1rem;
}

.yasal-metin-bolumu {
    line-height: 1.7;
}

    .yasal-metin-bolumu h4 {
        color: #0f6efd;
        border-left: 4px solid #0d6efd;
        padding-left: 10px;
        margin-bottom: 1rem;
    }

    .yasal-metin-bolumu p {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }

    .yasal-metin-bolumu ul {
        margin-bottom: 1.25rem;
    }

/* ----- HARİTA VE COĞRAFİ BİLEŞENLER ----- */
#harita-kutusu {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    z-index: 1;
}

/* ----- MESAJLAŞMA BİLEŞENLERİ ----- */
.chat-box {
    height: 500px;
    overflow-y: auto;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

.message-bubble {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.message-received {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 0;
    float: left;
    clear: both;
}

.message-sent {
    background-color: #d1e7dd;
    color: #0f5132;
    border-bottom-right-radius: 0;
    float: right;
    clear: both;
}

.message-time {
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
    opacity: 0.7;
    text-align: right;
}

/* ----- YARDIMCI BİLEŞENLER ----- */
.badge-lg {
    font-size: 0.9rem;
    padding: 0.5em 0.8em;
}

.offcanvas-lg {
    max-width: 300px;
}

.border-end-md {
    border-right: 1px solid #b3b8bd;
    border-bottom: none;
    padding-right: 1.25rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hover-underline:hover {
    text-decoration: underline !important;
}