/* ============================================================
   NOVA GAYRİMENKUL — responsive.css
   ============================================================ */

@media (max-width:1340px){
  .head__tel span{display:none}
}

@media (max-width:1180px){
  .nav{gap:22px}
  .layout{grid-template-columns:240px minmax(0,1fr);gap:32px}
  .plots,.results{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plots--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quotes,.posts,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feats{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  .detail{grid-template-columns:minmax(0,1fr);gap:36px}
  .dside{position:static}
  .foot__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}
  .foot__head{grid-template-columns:minmax(0,1fr);gap:28px}
  .project{grid-template-columns:1fr;gap:28px}
}

@media (max-width:1024px){
  /* Gezinme şeridi sığmıyor: menü hamburgere, çağrı mobil menüye taşınır */
  .head__bar{display:none}
  .head{top:0}
  .hero__copy{max-width:min(600px,72%)}
  .burger{display:grid}
  .head__hours{display:none}


}

@media (max-width:900px){
  :root{--pad:20px}
  .contact{grid-template-columns:minmax(0,1fr);gap:32px}

  .searchbar__tabs{justify-content:flex-start}
  .searchbar__form{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}
  .searchbar__f{border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
  .searchbar__f:nth-child(2),.searchbar__f:nth-child(4){border-right:0}
  .searchbar__f:nth-child(3),.searchbar__f:nth-child(4){border-bottom:0}
  .searchbar__form .btn{grid-column:1/3;margin:8px 0 0;width:100%}
  .trust{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trust div{padding:22px 18px 18px}
  .trust div:nth-child(2){border-right:0}
  .trust div:nth-child(3){padding-left:0;border-top:1px solid var(--line)}
  .trust div:nth-child(4){border-top:1px solid var(--line)}

  .region{aspect-ratio:4/3}
  .steps,.quotes,.posts{grid-template-columns:minmax(0,1fr);gap:24px}

  /* liste */
  .layout{grid-template-columns:minmax(0,1fr)}
  .layout > .filters{display:none}
  .mobfilter{display:inline-flex}
  .results.is-list .plot{flex-direction:column;gap:0}
  .results.is-list .plot__media{width:100%;aspect-ratio:4/3}
  .results.is-list .plot__body{padding-top:18px}

  /* detay */
  .gallery{grid-template-columns:minmax(0,1fr);gap:10px}
  .gallery__side{grid-template-rows:none;grid-template-columns:1fr 1fr}
  .gallery__side figure{aspect-ratio:4/3}
  .dquick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dquick div{padding:20px 16px 16px}
  .dquick div:nth-child(2){border-right:0}
  .dquick div:nth-child(3){padding-left:0;border-top:1px solid var(--line)}
  .dquick div:nth-child(4){border-top:1px solid var(--line)}
  .dtable,.dnear{grid-template-columns:minmax(0,1fr)}
  .dfeat{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobar{display:flex}
  body.has-mobar{padding-bottom:74px}
  /* bildirim, ilan detayındaki sabit alt barın üstünde kalsın */
  body.has-mobar .snack{bottom:88px}

  .ovl__box{margin-top:0;border-radius:0;max-width:none;height:100%}
  .ovl__res{max-height:calc(100% - 65px)}
}

@media (max-width:640px){
  :root{--pad:18px}
  /* Bu genişlikte marka + eylemler + hamburger sığmıyor; hamburger öncelikli.
     Telefon mobil menüde zaten var. */
  .head__tel{display:none}
  .head__util{gap:8px}
  .head__top-in{gap:12px}
  .hero__copy{max-width:100%}
  .chan{grid-template-columns:minmax(0,1fr);gap:18px}
  .trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
  .brand__sub{display:none}
  .plots,.results,.plots--4{grid-template-columns:minmax(0,1fr)}
  .feats{grid-template-columns:minmax(0,1fr);gap:24px}
  .searchbar__form{grid-template-columns:minmax(0,1fr)}
  .searchbar__f{border-right:0}
  .searchbar__f:nth-child(3){border-bottom:1px solid var(--line-soft)}
  .searchbar__form .btn{grid-column:1/2}
  .searchbar__tabs{gap:20px;overflow-x:auto}
  .dfeat{grid-template-columns:minmax(0,1fr)}
  .foot__grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .foot__bar{flex-direction:column;gap:12px}
  .toolbar__r{width:100%;justify-content:space-between}
  .pager{justify-content:center}
  .dtitle .ref{text-align:left}
}

/* ---------------------------------------------------------------
   Dokunmatik hedefler — mobilde en az 44×44 px, iOS'ta yakınlaştırma yok
   --------------------------------------------------------------- */
@media (max-width:900px){
  .iconbtn,.burger,.plot__tool{min-width:44px;min-height:44px}
  .head__tel{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .pager__pages a,.pager__pages span{min-width:44px;height:44px}
  .mnav__list a,.foot a,.shead__link{display:inline-block;padding-block:10px}
  .plot__fav{min-height:44px;padding-inline:12px}
  .viewtog button,.ovl__top button,.ovl__close{min-width:44px;min-height:44px}
  .foot a,.mnav__list a{min-height:44px;display:inline-flex;align-items:center}

  /* 16px altındaki alanlar iOS Safari'de sayfayı yakınlaştırır */
  input,select,textarea,.field input,.field select,.field textarea{
    font-size:16px;min-height:44px;
  }
  textarea{min-height:96px}
  .btn,.btn--sm,button[type="submit"]{min-height:44px}
  .searchbar__f input,.searchbar__f select{min-height:44px}

  /* Denetimde 44px altında kalan bağlantı ve düğmeler */
  .brand{min-height:44px}
  .searchbar__tabs button{min-height:44px;padding-block:11px 10px}
  .hero__more,.foot__legal a,.crumb a{
    display:inline-flex;align-items:center;min-height:44px;
  }
  .chan__item a,.chan__item .chan__tel{min-height:44px;display:inline-flex;align-items:center}
  .foot__contact a,.foot__col a{min-height:44px;display:inline-flex;align-items:center}
  .agent__b a{min-height:44px;display:inline-flex;align-items:center}
}

@media (max-width:460px){
  .brand__mark{font-size:19px}
  .head__util{gap:4px}
  .head__top-in{gap:10px;height:60px}
}
