@media all and (min-width: 992px) {
    .dropdown-menu {
        display: none;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .dropdown .dropdown-menu {
        margin-top: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .header {
        height: auto;
    }

    .menu {
        display: block;
        margin-left: 0;
    }
    .menu ul {
        margin: auto;
    }

    .menu > ul > li {
        background: #f2f2f2;
        list-style-type: none;
        margin: 0;
        padding: 20px 50px;
        border: 1px solid white;
    }

    .menu ul a {
        display: block;
        color: black;
    }

    .teklifAl {
        margin: auto;
        width: 100%;
    }

    .teklifAl a {
        width: 100%;
        float: left;
        text-align: center;
    }
    
    .hizmetler {
        display : none !important;
    }
}

@media only screen and (max-width: 991px) {
    

    .slogan {
        display: none;
    }

    .topBarIletisim {
        width: 100%;
    }

    .topBarIletisim span {
        margin: 0px 5px;
    }

    #topBarTelefon a,
    #topBarMail a {
        font-size: 10px;
    }

    .topBarSosyalMedya {
        float: right;
    }

    .metinVeGorsel {
        gap: 50px;
    }

    .metinVeGorsel .pr-5 {
        padding: 0 !important;
    }

    .metinVeGorsel .mt-5 {
        margin-top: 20px !important;
    }

    .counterRow {
        height: auto;
    }

    .footerTop {
        height: 100% !important;
        padding: 20px 0;
    }

    .footerTop .text-left,
    .footerTop .text-right {
        text-align: center !important;
    }

    .footerTop .text-right {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    .copyright-container .col-md-6 {
        text-align: center !important;
    }
}

@media only screen and (max-width: 1200px) {
    .ms-slide-layers {
        max-width: 1200px !important;
        left: 0 !important;
    }

    .master-slider,
    .ms-container,
    .ms-view,
    .ms-slide {
        height: 417px !important;
    }

    .sliderUstBaslik {
        display: block;
        position: relative !important;
        left: 0;
        top: 100px !important;
        max-width: 250px;
        text-align: center;
        margin: auto;
        font-size: 28px !important;
        line-height: 1.5 !important;
    }
    .sliderUstBaslik:after {
        position: relative !important;
        display: block;
        width: 64px;
        height: 3px;
        margin: auto;
        left: 0;
        top: 28px;
    }
    .sliderAltBaslik {
        max-width: 230px;
        font-size: 15px !important;
        line-height: 1.5 !important;
        text-align: center;
        position: relative !important;
        margin: auto;
        left: 0;
        top: 150px !important;
    }

    .sliderArkaPlan {
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        height: 500px;
        background: black;
        background: #030303 0% 0% no-repeat padding-box;
        mix-blend-mode: multiply;
        opacity: 0.45;
    }
    
    .sliderButton {
        position: relative !important;
        top: 185px !important;
        left: 44% !important;
    }
}

@media only screen and (max-width: 991px) {
    .hata404 h1,
    .hata404 h6,
    .hata404 p {
        text-align: center;
    }
    
    .sliderButton {
        padding: 15px 25px !important;
        font-size: 12px !important;
    left: 40% !important;
    }
}


/* ================================================
   MODERN MOBİL STİLLER
   Bu kodları responsive.css dosyasının EN ALTINA ekleyin
   ================================================ */

/* TOPBAR MOBİL */
@media only screen and (max-width: 991px) {
    .topBar {
        height: auto !important;
        padding: 8px 12px !important;
    }
    .topBar .container {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 4px;
    }
    .topBarIletisim {
        display: flex;
        align-items: center;
        gap: 0;
    }
    .topBarIletisim span {
        margin: 0 6px !important;
    }
    #topBarTelefon a,
    #topBarMail a {
        font-size: 11px !important;
        color: #aaa !important;
    }
    .topBarSosyalMedya a {
        font-size: 15px !important;
        color: #aaa !important;
        margin: 0 3px !important;
    }
}

/* NAVBAR MOBİL */
@media only screen and (max-width: 1200px) {
    .header {
        height: auto !important;
        min-height: 64px;
        padding: 0 !important;
    }
    .header .container {
        padding: 10px 16px !important;
        height: auto !important;
    }
    .logo {
        width: auto !important;
        height: auto !important;
    }
    .logo img {
        max-height: 50px !important;
        max-width: 140px !important;
        width: auto !important;
    }
    .navbar-toggler {
        border: 1px solid #eee !important;
        border-radius: 4px !important;
        padding: 6px 10px !important;
    }
    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
    .collapse.navbar-collapse {
        background: #fff;
        border-top: 1px solid #f0f0f0;
        padding: 8px 0;
        margin: 0 -16px;
    }
    .menu {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
    .menu ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    .menu ul li {
        display: block !important;
        background: #fff !important;
        border: none !important;
        border-bottom: 1px solid #f5f5f5 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .menu ul a {
        display: block !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        color: #333 !important;
        font-weight: 500 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }
    .menu ul a:hover {
        color: #e23527 !important;
        background: #fff5f4 !important;
    }
    .teklifAl {
        padding: 12px 16px !important;
        width: 100% !important;
        text-align: center !important;
    }
    .teklifAl a {
        display: inline-block !important;
        width: auto !important;
        float: none !important;
        padding: 10px 32px !important;
        border-radius: 4px !important;
        font-size: 14px !important;
        background: #e23527 !important;
        color: #fff !important;
    }
    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fafafa !important;
    }
    .dropdown-menu li a {
        padding: 10px 32px !important;
        font-size: 13px !important;
        color: #555 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
}

/* İKON KARTLARI MOBİL */
@media only screen and (max-width: 767px) {
    .ikonContainer {
        margin-bottom: 16px !important;
        padding: 20px 16px !important;
    }
    .ikon {
        width: 50px !important;
        height: 50px !important;
        line-height: 50px !important;
        font-size: 22px !important;
    }
    .ikonBaslik {
        font-size: 13px !important;
    }
    .ikonAciklama {
        font-size: 12px !important;
    }
}

/* SLIDER MOBİL */
@media only screen and (max-width: 767px) {
    .master-slider,
    .ms-container,
    .ms-view,
    .ms-slide {
        height: 320px !important;
    }
    .sliderUstBaslik {
        font-size: 22px !important;
        top: 60px !important;
        max-width: 240px;
    }
    .sliderAltBaslik {
        font-size: 13px !important;
        top: 120px !important;
        max-width: 220px;
    }
    .sliderButton {
        top: 160px !important;
        left: 50% !important;
        transform: translateX(-50%);
        padding: 10px 20px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }
}

/* METİN & GÖRSEL MOBİL */
@media only screen and (max-width: 767px) {
    .metinVeGorsel {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .metinVeGorsel .col-lg-6:first-child {
        margin-bottom: 0 !important;
    }
    .metinVeGorsel img {
        border-radius: 8px !important;
        width: 100% !important;
        height: auto !important;
    }
    .metinVeGorsel h3 {
        font-size: 20px !important;
        margin-top: 0 !important;
    }
    .metinVeGorsel .pl-5 {
        padding-left: 0 !important;
    }
    .metinVeGorsel .pr-5 {
        padding-right: 0 !important;
    }
}

/* SAYAÇLAR MOBİL */
@media only screen and (max-width: 767px) {
    .counterRow .col-lg-3 {
        margin-bottom: 24px;
    }
    .number {
        font-size: 36px !important;
    }
    .numberText {
        font-size: 11px !important;
    }
}

/* HİZMETLER MOBİL */
@media only screen and (max-width: 767px) {
    #services-carousel .owl-item {
        margin-bottom: 16px !important;
    }
    #services-carousel .owl-item img {
        height: 160px !important;
    }
    .hizmetBaslik {
        font-size: 15px !important;
    }
    .hizmetlerCarousel {
        -webkit-line-clamp: 3 !important;
    }
}

/* EMLAK KARTLARI MOBİL */
@media only screen and (max-width: 767px) {
    .emlak-liste-grid {
        grid-template-columns: 1fr !important;
    }
    .emlak-kart-gorsel {
        height: 200px !important;
    }
    .emlak-tab-bar {
        flex-wrap: wrap !important;
    }
    .emlak-filtre-bar {
        flex-direction: column !important;
    }
    .emlak-filtre-bar #ilanAra {
        width: 100% !important;
    }
    /* Anasayfa emlak kartları */
    .emlakBolumu .row {
        margin: 0 !important;
    }
    .emlak-ana-kart {
        margin-bottom: 16px;
    }
    .emlak-kart-gorsel {
        height: 180px !important;
    }
    /* Tab bar mobil */
    .emlak-tab-bar {
        overflow-x: auto;
    }
    .emlak-tab-btn {
        padding: 10px 18px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }
}

/* BLOG MOBİL */
@media only screen and (max-width: 767px) {
    .blog img {
        height: 160px !important;
    }
    .blog-content h3 {
        font-size: 14px !important;
    }
    .date {
        font-size: 11px !important;
        padding: 5px 0 !important;
    }
}

/* FOOTER MOBİL */
@media only screen and (max-width: 767px) {
    .footerTop {
        padding: 40px 0 !important;
    }
    .footerTopH1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px;
    }
    .footerTopH3 {
        font-size: 11px !important;
    }
    .bottomTeklifAl {
        text-align: center !important;
    }
    .bottomTeklifAl a {
        padding: 12px 28px !important;
        font-size: 13px !important;
        display: inline-block !important;
        width: auto !important;
    }
    #footer-wrapper {
        padding-top: 40px !important;
    }
    .footer-widget-container {
        margin-bottom: 0 !important;
    }
    .widget {
        margin-bottom: 28px !important;
    }
    .widget .title h3 {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }
}

/* SUBHEADER MOBİL */
@media only screen and (max-width: 767px) {
    .subheader {
        height: 140px !important;
    }
    .subheader .title {
        font-size: 16px !important;
    }
    .breadcrumbs li {
        font-size: 11px !important;
    }
}

/* EMLAK DETAY MOBİL */
@media only screen and (max-width: 767px) {
    .emlak-main-grid {
        grid-template-columns: 1fr !important;
    }
    .emlak-ana-gorsel {
        height: 240px !important;
    }
    .emlak-baslik {
        font-size: 18px !important;
    }
    .emlak-aksiyon-bar {
        grid-template-columns: 1fr !important;
    }
    .emlak-aksiyon-btn {
        border-right: none !important;
        border-bottom: 1px solid #ddd !important;
        padding: 10px !important;
    }
    .emlak-aksiyon-btn:last-child {
        border-bottom: none !important;
    }
    .emlak-bilgi-tablo td {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    .emlak-fiyat {
        font-size: 14px !important;
    }
}

/* GENEL MOBİL İYİLEŞTİRMELER */
@media only screen and (max-width: 767px) {
    .usttenBosluk {
        margin-top: 48px !important;
    }
    .usttenBosluk50 {
        margin-top: 28px !important;
    }
    h2.baslik {
        font-size: 22px !important;
    }
    .baslikAlti {
        font-size: 13px !important;
    }
    /* Yatay kaydırmayı engelle */
    body {
        overflow-x: hidden !important;
    }
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    /* Biziara ve Whatsapp buton konumu */
    .biziAraButonu {
        max-width: 50px !important;
        bottom: 90px !important;
    }
    .whatsappButonu {
        max-width: 50px !important;
        bottom: 24px !important;
    }
}

/* TABLET (768px - 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .logo img {
        max-height: 60px !important;
        max-width: 160px !important;
    }
    .emlak-ana-kart {
        margin-bottom: 16px;
    }
    .emlak-bilgi-kart {
        margin-top: 20px;
    }
}

/* MOBİL DÜZELTMELER - 2. TUR */
@media only screen and (max-width: 767px) {

    /* Topbar ikon renkleri */
    .topBarSosyalMedya a {
        color: #aaa !important;
        font-size: 14px !important;
    }

    /* İkon kartları - mobil grid */
    .container.text-center.pt-5.mt-5 .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .container.text-center.pt-5.mt-5 .col-md-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Slider buton ortalama */
    .sliderButton {
        left: 50% !important;
        transform: translateX(-50%) !important;
        white-space: nowrap !important;
        top: 200px !important;
    }

    /* Hizmetler mobil */
    #services-carousel .owl-item {
        padding: 0 4px !important;
    }

    /* Emlak tab mobil */
    .emlak-tab-inner {
        width: 100% !important;
    }
    .emlak-tab-btn {
        flex: 1 !important;
        text-align: center !important;
        padding: 10px 8px !important;
        font-size: 11px !important;
    }

    /* Footer kolonu tam genişlik */
    .footer-widget-container {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* NAVBAR LOGO MOBİL - ACİL */
@media only screen and (max-width: 991px) {
    .header .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 16px !important;
        height: auto !important;
    }
    .logo {
        width: auto !important;
        height: auto !important;
        flex-shrink: 0;
    }
    .logo img {
        max-height: 44px !important;
        max-width: 120px !important;
        width: auto !important;
        height: auto !important;
    }
    .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        background: #fff !important;
        flex-shrink: 0;
    }
    /* Menü açıldığında */
    .navbar-collapse.show {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        z-index: 9999 !important;
        border-top: 1px solid #eee !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
    }
    /* Menü items */
    .menu > ul > li {
        background: #fff !important;
        border-bottom: 1px solid #f0f0f0 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .menu ul a {
        padding: 13px 20px !important;
        font-size: 14px !important;
        color: #333 !important;
    }
}

/* SLIDER BUTON ORTALAMA MOBİL */
@media only screen and (max-width: 1200px) {
    .sliderButton {
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 180px !important;
        display: inline-block !important;
    }
}

/* YÖNETİM PANELİ BUTONU MOBİL - KÜÇÜLT */
@media only screen and (max-width: 991px) {
    div[style*="top: 35%"][style*="position: fixed"] {
        top: auto !important;
        bottom: 160px !important;
        padding: 10px !important;
        border-radius: 0 8px 8px 0 !important;
    }
    div[style*="top: 35%"][style*="position: fixed"] h3 {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
    div[style*="top: 35%"][style*="position: fixed"] a {
        font-size: 12px !important;
    }
}

/* DEVAMINI OKU BUTONU MOBİL */
@media only screen and (max-width: 991px) {
    .metinVeGorsel .teklifAl {
        text-align: center !important;
        width: 100% !important;
    }
    .metinVeGorsel .teklifAl a {
        display: inline-block !important;
        float: none !important;
        margin: 0 auto !important;
    }
}

@media only screen and (max-width: 767px) {
    .hero-slide-icerik {
        justify-content: center !important;
    }
    .hero-slide-icerik .container {
        text-align: center !important;
    }
    .hero-slide-butonlar {
        justify-content: center !important;
    }
    .hero-slide-baslik {
        max-width: 100% !important;
    }
    .hero-slide-aciklama {
        max-width: 100% !important;
    }
    .hero-slide-etiket {
        display: inline-block !important;
    }
}

@media only screen and (max-width: 767px) {
    .hero-slide-butonlar {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        flex: 0 0 auto !important;
    }
}

/* MOBİL MENÜ AÇILMA DÜZELTME */
@media only screen and (max-width: 1200px) {
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-collapse .menu {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-collapse .menu ul {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-collapse .menu ul li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-collapse .teklifAl {
        padding: 12px 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
}
@media only screen and (max-width: 1199px) {
    .teklifAl {
        display: none !important;
    }
}

@media only screen and (max-width: 1199px) {
    #topBarMail {
        display: none !important;
    }
    .topBar .slogan {
        display: none !important;
    }
}
/* ================================================
   MOBİL: HAMBURGER YANINDA DİL SEÇİCİ
   Bu kodu responsive.css dosyasının EN ALTINA ekleyin
   ================================================ */
@media only screen and (max-width: 991px) {
    .navbar-header-mobil-wrap {
        display: flex !important;
        align-items: center;
        gap: 8px;
        position: relative;
    }
    .mobil-dil-secici {
        position: relative;
    }
    .mobil-dil-secici .dropdown-menu {
        display: none;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        margin: 0 !important;
        background: #fff !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
        overflow: hidden;
        z-index: 10000 !important;
    }
    .mobil-dil-secici .dropdown-menu.show {
        display: block !important;
    }
    .mobil-dil-secici .dropdown-menu li {
        list-style: none;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #f3f3f3;
    }
    .mobil-dil-secici .dropdown-menu li:last-child {
        border-bottom: none;
    }
    .mobil-dil-secici .dropdown-menu li a {
        display: flex !important;
        align-items: center;
        gap: 8px;
        font-size: 13px !important;
        font-weight: 500;
        color: #333 !important;
        padding: 11px 14px !important;
        white-space: nowrap;
        transition: background .15s;
    }
    .mobil-dil-secici .dropdown-menu li a:hover {
        background: #fff5f4 !important;
        color: #e23527 !important;
    }
    .mobil-dil-secici .dropdown-menu li a img {
        width: 18px !important;
        height: auto !important;
        flex-shrink: 0;
        border-radius: 2px;
    }
}