/********** Template CSS **********/
/* Tam ekran yayılma için düzenlemeler */

/* Container'ların tam genişlikte yayılmasını sağla */
.container,
.container-xxl,
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Yatayda ortalama ve kenar boşluklarını kaldırma */
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important; /* Yatay kaydırma çubuğunu engelle */
}

/* Header ve diğer bölümlerin yayılmasını sağla */
.header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Eğitim bölümü için tam ekran desteği */
.education_section .education_container {
    width: 100% !important; /* %100 genişlik */
    margin: 0 !important; /* Ortalamayı kaldır */
    padding: 20px !important;
}

/* Footer düzenlemeleri */
.footer {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 !important;
}

/* Harita kısmını genişlet */
.map-container {
    width: 100% !important;
    max-width: none !important;
}

/* Mobil ekranlara uygun responsive düzenlemeler */
@media (max-width: 768px) {
    .map-container {
        height: 250px !important;
    }
}





.some-container .bg-white {
    --bs-bg-opacity: 1;
    background-color: rgba(0, 0, 0, var(--bs-bg-opacity)) !important;
}

.contact-card {
    background: linear-gradient(to bottom right, #f9f9f9, #ffffff);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.map-container {
    width: 100%;
    max-width: 600px;
    height: 300px;
    border: 5px solid #f1f1f1;
}
/* Küçük ekranlar (768px ve altı) */
@media (max-width: 768px) {
    .map-container {
        height: 250px;
    }
}
  
.header {
    margin-bottom: 0; /* Header'ın altındaki varsayılan boşluğu kaldır */
    padding-bottom: 1rem; /* Header altındaki iç boşluğu daralt */
}

.container-xxl {
    padding-top: 2rem; /* About kısmının üstündeki boşluğu daralt */
}

:root {
    --primary: #8B0000; 
    --secondary: #6c757d; 
    --light: white !important; 
    --dark: #343a40;  
}


.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
/* ========================================================================= */
/* RAY TMGDK - GENEL STİL TANIMLAMALARI (Tüm Sayfalar İçin Kullanıldı) */
/* ========================================================================= */
:root {
    --ray-primary: #8B0000;        /* Ana Bordo */
    --ray-secondary: #6c757d;      /* Gri tonu, değişmedi */
    --ray-dark: #343a40;            /* Koyu Metin, değişmedi */
    --ray-light: white !important;           /* Açık Gri/Beyaz, değişmedi */
    --ray-light-primary: #f5d6d6;   /* Çok Açık Bordo */
    --ray-primary-light: #e99696;   /* İkonlar için soluk bordo */
}


/* ========================================================================= */
/* NAVBAR STYLES - YENİ KURUMSAL TASARIM */
/* ========================================================================= */
.nav-bar {
    position: relative;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

/* Navbar'ı beyaz ve temiz tutuyoruz, alt kenarlığı ile vurguluyoruz */
.navbar {
    background-color: white !important;
    padding: 0 0 !important;
    border-bottom: 2px solid var(--ray-light); /* Hafif ayırıcı çizgi */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Yumuşak bir gölge */
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 25px 0;
    color: var(--ray-dark); /* Koyu metin rengi */
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    position: relative;
    transition: all 0.3s;
}

/* AKTİF ve HOVER Efekti: Alt çizgi ve renk vurgusu */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--ray-primary); /* Mavi metin rengi */
}

.navbar-light .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 20px; /* Menü öğesi ile alt çizgi arasındaki boşluk */
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--ray-primary);
    transition: width 0.3s ease-in-out;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%; /* Hover veya aktif durumda alt çizginin genişlemesi */
}

/* Marka Alanı */
.navbar-brand {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
    height: 75px;
}
.navbar-brand h1 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}
.navbar-brand span {
    font-size: 14px;
    color: var(--ray-secondary);
    font-weight: 400;
}


/* Hemen Ara Butonu */
.btn-primary {
    background-color: var(--ray-primary);
    border-color: var(--ray-primary);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: var(--ray-dark); /* Hover'da koyu gri/siyah tonu */
    border-color: var(--ray-dark);
}


/* Mobil Görünüm Düzenlemeleri */
@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--ray-light); /* Mobil menüde ayırıcı çizgi */
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-light .navbar-nav .nav-link::after {
        display: none; /* Mobil menüde alt çizgi hover efekti iptal edilir */
    }

    .navbar-collapse {
        background-color: white; /* Mobil menü arkaplanı beyaz yapılır */
        padding: 15px;
    }
}


/*** Icon ***/
.icon {
    padding: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
/* .cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(139, 4, 4, 0.582);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
} */


/*** Property List ***/
/* .nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(185, 0, 0, 0.365) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(96, 3, 3, 0.3) !important;
} */


/* Genel Ayarlar */
.container-xxl {
    background-color: black,;
    padding: 60px 15px;
}

h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.education-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.3s ease-in-out;
    text-align: center;
    max-width: 250px; /* Kart genişliğini küçültmek için */
    margin: auto; /* Kartları ortalamak için */
}

.education-card img {
    width: 100%;
    height: 150px; /* Resim yüksekliğini küçültmek için */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.education-card:hover img {
    transform: scale(1.1);
}

.education-content {
    padding: 10px;
}

.education-content h5 a {
    color: #333;
    text-decoration: none;
}

.education-content h5 a:hover {
    color: #007bff;
}


.education-content p {
    font-size: 0.9rem;
    margin-top: 10px;
}


/* FOOTER GENEL TASARIMI */
.footer {
    /* Ekran görüntüsüne uygun koyu arka plan */
    background-color: #263238; 
    color: #adb5bd; /* Genel metin rengi */
    border-top: none; 
    padding-bottom: 0 !important; /* Alt bölüm için boşluğu sıfırladık */
}

/* BAŞLIKLAR (Hızlı Linkler, Bize Ulaşın, Konumumuz) DÜZELTMESİ */
.footer h5 {
    font-size: 1.2rem;
    font-weight: 600; 
    color: #fff; 
    position: relative;
    padding-bottom: 8px; /* Mavi çizgi ile metin arasındaki boşluk */
    
    /* HTML'den mb-4 kaldırıldığı için boşluğu buradan net kontrol ediyoruz. */
    margin-bottom: 15px !important; /* Başlık ile içerik arasındaki ideal boşluk */
}

/* Mavi Çizgi Konumu */
.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px; /* Çizgiyi padding'in altına sıfırladık */
    width: 50px; 
    height: 2px;
    background-color: #007bff; /* Sitenizin ana rengi */
}

/* Hızlı Linkler ve İletişim Linkleri */
.footer p, .footer .quick-links {
    padding-left: 0;
    list-style: none;
    margin-top: 0; /* Boşluk düzeltmesi */
}

.footer p a, .footer .quick-links a {
    color: #adb5bd; 
    text-decoration: none;
    transition: all 0.3s;
}

.footer .quick-links li {
    margin-bottom: 8px; /* Linkler arası dikey boşluk */
}


/* SOSYAL MEDYA SİMGELERİ HİZALAMA */
.footer .social-icons-move {
    /* İletişim metinlerinden ayırmak için boşluk */
    margin-top: 20px; 
}
.footer .btn-social {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3); 
    color: #adb5bd;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.footer .btn-social:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* HARİTA DÜZELTMELERİ */
.map-container {
    position: relative;
    width: 100%;
    height: 180px; /* Harita yüksekliği */
    overflow: hidden;
    /* Harita çerçevesini footer rengiyle uyumlu yaptık */
    border: 3px solid #34495e; 
    border-radius: 5px; 
}

.map-container iframe {
    padding: 0;
    margin: 0;
    border: none; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* TELİF HAKKI BÖLÜMÜ (COPYRIGHT) */
.copyright {
    /* Alt bölüm için çok koyu arka plan */
    background-color: #121c21 !important; 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    color: #adb5bd;
    padding: 15px 0; 
}

.copyright a {
    color: #007bff; 
    text-decoration: none;
}