@media (max-width:1024px){.cg-grid{grid-template-columns:1fr 1fr !important}.cg.cg-big{grid-column:auto !important;grid-row:auto !important}.proc-grid{grid-template-columns:1fr 1fr !important}.adv-comp{grid-template-columns:1fr !important}#mapCanvas{height:450px !important}.con-cards{grid-template-columns:1fr 1fr !important}}@media (max-width:768px){body{-webkit-text-size-adjust:100% !important;text-size-adjust:100% !important}html,body{overflow-x:hidden !important;max-width:100vw !important}.container{padding:0 16px !important;max-width:100% !important}.header{height:auto !important;min-height:60px !important}.hdr-in{padding:8px 0 !important}.logo-n{font-size:0.9rem !important;letter-spacing:3px !important}.logo-s{font-size:0.45rem !important;letter-spacing:8px !important}.logo-c{font-size:1.2rem !important}.mob-t{padding:12px !important;min-width:44px !important;min-height:44px !important}.nav{top:60px !important;padding:20px 16px !important;background:rgba(254,253,251,0.99) !important;backdrop-filter:blur(20px) !important}.nav .nl{padding:16px 0 !important;font-size:1rem !important;min-height:48px !important;display:flex !important;align-items:center !important}.dd-m{background:rgba(0,0,0,0.02) !important;border-radius:12px !important;padding:8px 12px !important;margin:4px 0 !important}.dd-m a{padding:12px 8px !important;min-height:44px !important;display:flex !important;align-items:center !important;font-size:0.9rem !important}.hdr-a .btn-gold{padding:10px 16px !important;font-size:0.75rem !important}.topbar{display:none !important}.hero{min-height:85vh !important;padding-top:60px !important}.h-h1{margin-bottom:16px !important}.h1-1{font-size:1.6rem !important}.h1-2{font-size:1.8rem !important}.h-p{font-size:0.9rem !important;line-height:1.6 !important;padding:0 8px !important}.h-stats{display:grid !important;grid-template-columns:1fr 1fr !important;gap:8px !important;padding:0 8px !important}.hs-i{padding:12px !important;text-align:center !important}.hs-d{display:none !important}.h-ctas{flex-direction:column !important;gap:10px !important;padding:0 16px !important}.h-ctas .btn-gold,.h-ctas .btn-glass,.h-ctas a[class*="btn-"]{width:100% !important;justify-content:center !important;padding:16px 20px !important;font-size:0.85rem !important;min-height:52px !important}.trust{padding:10px 0 !important}.sh{margin-bottom:24px !important}.sh-tg{font-size:0.6rem !important}.sh-ti{font-size:1.5rem !important;line-height:1.2 !important}.sh-d{font-size:0.85rem !important;padding:0 8px !important}section,.map-sec,.port,.regions,.proc,.adv,.news-sec,.cta-sec,.con-sec{padding:60px 0 !important}.cg-grid{grid-template-columns:1fr !important;gap:12px !important}.cg{min-height:200px !important}.cg.cg-big{min-height:240px !important}.cg-bd h3{font-size:1.2rem !important}.cg-bd p{font-size:0.82rem !important}.map-sec{padding:40px 0 !important}.map-controls{padding:8px !important;flex-direction:column !important;gap:6px !important}.mc-group{gap:3px !important;padding:6px 8px !important;flex-wrap:nowrap !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch !important;scrollbar-width:none !important;justify-content:flex-start !important}.mc-group::-webkit-scrollbar{display:none !important}.mcb{padding:6px 10px !important;font-size:0.6rem !important;letter-spacing:0.2px !important;white-space:nowrap !important;flex-shrink:0 !important;border-radius:20px !important}.mcb i{display:none !important}#mapCanvas{height:280px !important}.mc-legend{display:none !important}.map-info{padding:10px 12px !important;font-size:0.78rem !important}.mi-empty{font-size:0.75rem !important}.mi-empty i{font-size:1rem !important}.ace-popup .leaflet-popup-content{min-width:200px !important;max-width:260px !important}.ace-popup-img{height:100px !important}.ace-popup-title{font-size:0.82rem !important}.ace-popup-btn{padding:10px !important;font-size:0.72rem !important}.map-sec .sh-ti{font-size:1.3rem !important}.map-sec .sh-d{font-size:0.78rem !important}.pf-fl{gap:4px !important;margin-bottom:24px !important}.pfb{padding:8px 14px !important;font-size:0.7rem !important}.pfb i{display:none !important}.pf-grid{grid-template-columns:1fr !important;gap:16px !important}.pc-img{height:220px !important}.pc-body{padding:16px !important}.pc-ti{font-size:1.1rem !important}.pc-pr strong{font-size:1.3rem !important}.pc-btn{width:100% !important;justify-content:center !important;padding:14px !important;min-height:48px !important;font-size:0.85rem !important}.tr-grid{grid-template-columns:1fr !important;gap:16px !important}.rg{padding:20px !important}.proc-grid{grid-template-columns:1fr !important;gap:16px !important}.ps{padding:24px !important}.ps-n{font-size:2.5rem !important}.adv-grid{grid-template-columns:1fr 1fr !important;gap:12px !important}.adv-item{padding:20px !important}.adv-comp{grid-template-columns:1fr !important;gap:16px !important}.news-grid{grid-template-columns:1fr !important}.cta-sec h2{font-size:1.5rem !important}.cta-btns{flex-direction:column !important;gap:10px !important}.cta-btns a,.cta-btns button{width:100% !important;min-height:52px !important}.con-cards{grid-template-columns:1fr !important;gap:12px !important}.con-card{padding:20px !important}.con-form input,.con-form select,.con-form textarea{padding:16px !important;font-size:16px !important;min-height:52px !important;border-radius:12px !important}.con-form textarea{min-height:100px !important}.con-form button[type="submit"]{width:100% !important;padding:18px !important;min-height:52px !important;font-size:0.9rem !important}.ft-g{grid-template-columns:1fr !important;gap:24px !important}.ft-b{flex-direction:column !important;gap:8px !important;text-align:center !important}.wa{width:52px !important;height:52px !important;bottom:16px !important;right:16px !important;font-size:26px !important}[dir=rtl] .wa{right:auto !important;left:16px !important}.wa-tooltip{display:none !important}.btt{bottom:16px !important;right:78px !important;width:42px !important;height:42px !important}.cookie-banner{padding:14px 16px !important}.cookie-inner{flex-direction:column !important;gap:12px !important}.cookie-text{font-size:0.78rem !important;text-align:center !important}.cookie-btns{width:100% !important;justify-content:center !important}.cookie-btn{flex:1 !important;min-height:44px !important;font-size:0.72rem !important}.modal-overlay,[class*="modal"]{padding:12px !important}.modal-box,.m-box{padding:24px 20px !important;border-radius:16px !important;max-height:85vh !important}.modal-box h2,.m-box h2{font-size:1.2rem !important}.modal-box input,.modal-box select,.modal-box textarea,.m-box input,.m-box select,.m-box textarea,.f-input{font-size:16px !important;min-height:48px !important;padding:14px 16px !important}.lang-sw,.langs{gap:3px !important}.lb,.lang-btn{padding:4px 6px !important;font-size:0.6rem !important;min-height:32px !important;min-width:32px !important;display:flex !important;align-items:center !important;justify-content:center !important}.ace-popup .leaflet-popup-content{min-width:220px !important;max-width:280px !important}.ace-popup-img{height:120px !important}.ace-popup-title{font-size:0.9rem !important}.ace-popup-btn{padding:12px !important;min-height:44px !important;font-size:0.78rem !important}}@media (max-width:480px){.h1-1{font-size:1.4rem !important}.h1-2{font-size:1.5rem !important}.sh-ti{font-size:1.3rem !important}.h-stats{grid-template-columns:1fr 1fr !important;gap:6px !important}.hs-i strong{font-size:1.3rem !important}.cg{min-height:180px !important}.cg-ft{font-size:0.7rem !important}.mc-group{flex-wrap:nowrap !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch !important;scrollbar-width:none !important;padding:8px 12px !important}.mc-group::-webkit-scrollbar{display:none !important}.mcb{flex-shrink:0 !important;padding:7px 10px !important;font-size:0.6rem !important}.pf-fl{flex-wrap:nowrap !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch !important;scrollbar-width:none !important;justify-content:flex-start !important;padding-bottom:8px !important}.pf-fl::-webkit-scrollbar{display:none !important}.pfb{flex-shrink:0 !important;white-space:nowrap !important}.adv-grid{grid-template-columns:1fr !important}.con-cards{grid-template-columns:1fr !important}#mapCanvas{height:300px !important}.prop-title{font-size:1.4rem !important}.price-value{font-size:2rem !important}.key-facts{grid-template-columns:1fr 1fr !important;gap:8px !important}.kf-item{padding:14px 10px !important}.kf-value{font-size:0.95rem !important}}@media (max-height:500px) and (orientation:landscape){.hero{min-height:auto !important;padding:80px 0 40px !important}.h-stats{grid-template-columns:repeat(4,1fr) !important}#mapCanvas{height:250px !important}}@supports (-webkit-touch-callout:none){input,select,textarea{font-size:16px !important}}@supports (padding:env(safe-area-inset-bottom)){.wa{bottom:calc(16px + env(safe-area-inset-bottom)) !important}.btt{bottom:calc(16px + env(safe-area-inset-bottom)) !important}.cookie-banner{padding-bottom:calc(14px + env(safe-area-inset-bottom)) !important}footer{padding-bottom:calc(20px + env(safe-area-inset-bottom)) !important}}@media (pointer:coarse){a,button,[onclick],[role="button"]{min-height:44px !important}.pc:hover{transform:none !important}.cg:hover{transform:none !important}.sim-card:hover{transform:none !important}.pc:active{transform:scale(0.98) !important;transition:transform 0.1s !important}.cg:active{transform:scale(0.98) !important}.btn-gold:active,.cta-btn:active{transform:scale(0.97) !important}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}.wa{animation:none !important}.mm-pulse{animation:none !important}}@media (max-width:768px){.map-marker{width:28px !important;height:28px !important}.mm-inner{width:22px !important;height:22px !important;font-size:0.6rem !important;border-width:1.5px !important;box-shadow:0 0 8px currentColor !important}.mm-pulse{display:none !important}.leaflet-control-zoom a{width:28px !important;height:28px !important;line-height:28px !important;font-size:0.9rem !important}.leaflet-control-attribution{display:none !important}.map-wrap{border-radius:0 !important;margin:0 -16px !important}.map-sec .sh{margin-bottom:12px !important}.map-sec .sh-ti{font-size:1.2rem !important}.map-sec .sh-d{font-size:0.72rem !important;margin-bottom:0 !important}}@media (max-width:480px){.map-marker{width:24px !important;height:24px !important}.mm-inner{width:18px !important;height:18px !important;font-size:0.5rem !important}#mapCanvas{height:240px !important}}

/* ─── CUSTOM MOBILE LANGUAGE SWITCHER Overrides ─── */
@media (max-width: 1024px) {
  .langs-mobile {
    display: flex !important;
  }
}


/* ─── ABOUT US GRID MOBILE RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}


/* ─── NİHAİ MOBİL KUSURSUZLAŞTIRMA (UX & MAPS OVERHAUL) ─── */

/* 1. iOS ve Mobil Dokunmatik Çift Tıklama (Double-Tap) Bug'ını Çözme */
@media (max-width: 1024px) {
  /* Tıklanan elemanlardaki tüm hover efektlerini devre dışı bırakıyoruz ki ilk dokunuşta tetiklensinler! */
  .m-x:hover {
    background: var(--bg-2) !important;
    color: var(--tx-2) !important;
    border-color: var(--bd) !important;
    transform: none !important;
  }
  
  .lb:hover, .lang-btn:hover, .pc:hover, .cg:hover, .sim-card:hover, .btn-gold:hover, .btn-glass:hover, .cc:hover, .ab:hover {
    transform: none !important;
    box-shadow: none !important;
    background: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
  }
  
  /* Aktif olan butonlar kendi rengini korusun */
  .lb.active, .lang-btn.active, .pfb.active, .mcb.active {
    background: linear-gradient(135deg,rgba(201,168,76,0.2),rgba(168,138,58,0.1)) !important;
    border-color: var(--ac) !important;
    color: var(--ac-l) !important;
  }
}

/* 2. Harita Kaymalarını ve Zoom Bozulmalarını Engelleme */
.leaflet-marker-icon, 
.map-marker, 
.mm-inner, 
.mm-pulse {
  transition: none !important;
  -webkit-transition: none !important;
}

/* 3. Mobil Harita Boyutunu Yükseltme (Daha Net Görünüm) */
@media (max-width: 768px) {
  #mapCanvas {
    height: 380px !important; /* 280px'den 380px'e yükselterek haritayı ferahlattık! */
  }
}
@media (max-width: 480px) {
  #mapCanvas {
    height: 340px !important;
  }
}


/* ─── KEEP LANGUAGE SWITCHER ALWAYS VISIBLE IN TOPBAR ON MOBILE ─── */
@media (max-width: 768px) {
  .topbar {
    display: block !important;
    padding: 6px 0 !important;
    min-height: auto !important;
  }
  .clocks, .rates-w {
    display: none !important;
  }
  .topbar-in {
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  .langs {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
}


/* ─── MAPS CENTERED ALIGNMENT OVERRIDES ─── */
.map-marker {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.map-marker .mm-inner {
  margin: 0 !important;
  position: relative !important;
}


/* ─── FORCE LEAFLET TOUCH-ACTION ENABLE FOR MOBILE ZOOM ─── */
#mapCanvas {
  pointer-events: auto !important;
  touch-action: none !important; /* Force mobile browser to pass pinch-to-zoom gestures directly to Leaflet! */
}


/* ─── COG-LEVEL MOBILE MAP ZOOM BUTTONS (44px target standard) ─── */
@media (max-width: 768px) {
  .leaflet-control-zoom a {
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 1.25rem !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(201,168,76,0.25) !important;
    background: #0f0f1c !important;
    color: #c9a84c !important;
  }
}


/* ─── ULTRA-PREMIUM MAP MARKERS OVERHAUL ─── */

/* 1. Ultra-Luxury "Tight Icon Heartbeat" (Icon grows slightly with a minimal edge sparkle) */
@keyframes mmHeartbeat {
  0% {
    transform: scale(0.94);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4), 0 0 2px currentColor !important;
  }
  50% {
    transform: scale(1.06); /* The icon itself grows slightly (12% total breath)! */
    box-shadow: 0 6px 16px rgba(0,0,0,0.55), 0 0 6px currentColor, 0 0 10px currentColor !important; /* Tiny, elegant, tight border sparkle! */
  }
  100% {
    transform: scale(0.94);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4), 0 0 2px currentColor !important;
  }
}

/* Apply the breathing heartbeat animation directly to the icon circle itself! */
.map-marker .mm-inner {
  border: 1.8px solid #0f0f1c !important; /* Dark luxury outline */
  animation: mmHeartbeat 3s ease-in-out infinite !important; /* Slow, elegant breathing cycle */
  transition: transform 0.1s ease !important;
}

/* Disable the outer expanding pulse ring completely for absolute clean aesthetic! */
.mm-pulse {
  display: none !important;
}

/* 2. High-Contrast Dark Luxury Outline (Pops off the Light Voyager Map!) */
.map-marker .mm-inner {
  border: 1.8px solid #0f0f1c !important; /* Dark luxury outline instead of white for 100% crisp legibility! */
  box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
}

/* 3. Luxury Category Gradients & Pulses */

/* Hotels -> Royal Gold */
.mm-hotels .mm-inner {
  background: linear-gradient(135deg, #d4af37, #996515) !important;
}
.mm-hotels .mm-pulse {
  background: #d4af37 !important;
}

/* Hotel Land -> Forest Green/Gold */
.mm-hotel-land .mm-inner {
  background: linear-gradient(135deg, #1b4d3e, #113027) !important;
}
.mm-hotel-land .mm-pulse {
  background: #1b4d3e !important;
}

/* Resorts -> Ocean Teal */
.mm-resorts .mm-inner {
  background: linear-gradient(135deg, #008080, #004d4d) !important;
}
.mm-resorts .mm-pulse {
  background: #008080 !important;
}

/* Agricultural -> Fertile Olive */
.mm-agricultural .mm-inner {
  background: linear-gradient(135deg, #556b2f, #3a4b20) !important;
}
.mm-agricultural .mm-pulse {
  background: #556b2f !important;
}

/* Solar Farms -> Solar Amber */
.mm-solar-farms .mm-inner {
  background: linear-gradient(135deg, #ff8c00, #b36200) !important;
}
.mm-solar-farms .mm-pulse {
  background: #ff8c00 !important;
}

/* Industrial -> Titanium Gray */
.mm-industrial .mm-inner {
  background: linear-gradient(135deg, #4f5d73, #2d3748) !important;
}
.mm-industrial .mm-pulse {
  background: #4f5d73 !important;
}


/* ─── FORCE FIXED HEADER ALWAYS ON TOP OF MAP CONTROLS ─── */
.header {
  z-index: 2000 !important; /* Forces the header logo and navigation bar to always render on top of zoom buttons! */
}


/* ─── DYNAMIC NEWS CAROUSEL OVERRIDES ─── */
.news-grid::-webkit-scrollbar {
  display: none !important; /* Hide scrollbar on Chrome/Safari */
}
.news-grid {
  scrollbar-width: none !important; /* Hide scrollbar on Firefox */
}
.news-grid .nc {
  flex-shrink: 0 !important;
  width: calc((100% - 48px) / 3) !important; /* Exactly 3 cards visible on desktop */
  scroll-snap-align: start !important;
  transition: all 0.3s ease !important;
}

@media (max-width: 1024px) {
  .news-grid .nc {
    width: calc((100% - 24px) / 2) !important; /* 2 cards visible on tablets */
  }
}

@media (max-width: 768px) {
  .news-grid .nc {
    width: 100% !important; /* 1 card visible on mobile */
  }
  .news-arrow {
    display: none !important; /* Hide navigation arrows on mobile touch screens for pure swipe! */
  }
}
