/* =====================================================================
   AYDIN BB — Anasayfa MOBİL düzeni (PDF referansına birebir)
   Sadece ekran <=768px'de görünür; bu genişlikte masaüstü (#sayfa) gizlenir.
   Görseller: assets/m/  (PDF'ten çıkarıldı)
   ===================================================================== */
.m-home{display:none}

@media (max-width:768px){
  body > *:not(.m-home){display:none !important}
  .m-home{display:block}
}

.m-home{
  font-family:'Roboto','Helvetica Neue',Arial,sans-serif;
  background:#fff;color:#333;line-height:1.4;
  -webkit-font-smoothing:antialiased;
}
.m-home img{max-width:100%;display:block}
.m-home a{text-decoration:none;color:inherit}

/* ---------- HEADER ---------- */
.m-head{
  background:#005dac;display:flex;align-items:center;justify-content:space-between;
  padding:7px 14px;min-height:62px;
}
.m-head__logo img{height:48px;width:auto}
.m-head__right{display:flex;align-items:center;gap:11px}
.m-head__menu{color:#fff;font-size:17px;font-weight:500;letter-spacing:.5px}
.m-burger{
  width:48px;height:44px;background:#fff;border:0;border-radius:4px;
  display:grid;place-items:center;cursor:pointer;
}
.m-burger i{position:relative;display:block;width:26px;height:3px;background:#005dac;border-radius:2px}
.m-burger i::before,.m-burger i::after{content:"";position:absolute;left:0;width:26px;height:3px;background:#005dac;border-radius:2px}
.m-burger i::before{top:-8px}
.m-burger i::after{top:8px}

/* ---------- SUB BAR (telefon · sosyal · arama) ---------- */
.m-subbar{
  background:#ededed;display:flex;align-items:center;justify-content:space-between;
  padding:9px 14px;border-bottom:1px solid #dcdcdc;gap:10px;
}
.m-phone{display:flex;align-items:center;gap:8px;color:#337ab7;font-size:21px;font-weight:700}
.m-phone svg{width:18px;height:18px;stroke:#444;fill:none}
.m-subbar__right{display:flex;align-items:center;gap:9px}
.m-social{display:flex;gap:8px}
.m-social img{width:30px;height:30px;border-radius:50%}
.m-search{
  width:34px;height:34px;display:grid;place-items:center;color:#444;background:transparent;border:0;cursor:pointer;
}
.m-search svg{width:20px;height:20px;stroke:#444;fill:none}

/* ---------- HERO ---------- */
.m-hero{
  position:relative;min-height:340px;display:flex;flex-direction:column;justify-content:space-between;
  padding:46px 22px 0;color:#fff;
  background:#0c1f33 url('m/hero-night.png') center/cover no-repeat;
}
.m-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,22,40,.30),rgba(8,22,40,.62));z-index:0}
.m-hero__title{position:relative;z-index:1;font-size:30px;font-weight:400;line-height:1.25;max-width:78%}
.m-hero__links{
  position:relative;z-index:1;display:flex;gap:22px;align-items:center;
  padding:14px 0 16px;font-size:13.5px;
}
.m-hero__links a{display:flex;align-items:center;gap:7px;color:#fff}
.m-hero__links svg{width:16px;height:16px;stroke:#fff;fill:none}

/* ---------- ÖNE ÇIKAN (başkan slider) ---------- */
.m-feat{position:relative}
.m-feat>img{width:100%}
.m-feat__cap{
  position:absolute;left:0;right:0;bottom:0;z-index:1;
  padding:30px 16px 30px;color:#fff;font-size:15px;font-weight:700;line-height:1.32;
  background:linear-gradient(transparent,rgba(0,0,0,.78));
}
.m-bars{position:absolute;left:0;right:0;bottom:10px;z-index:2;display:flex;gap:5px;justify-content:center}
.m-bars i{width:5px;height:13px;border-radius:2px;background:rgba(255,255,255,.45)}
.m-bars i.on{background:#fff}

/* ---------- HIZLI ERİŞİM ---------- */
.m-quick{padding:28px 14px 12px;text-align:center;background:#fff}
.m-quick__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.m-quick__item{display:flex;flex-direction:column;align-items:center;gap:9px}
.m-quick__item img{width:100%;max-width:78px;border-radius:7px}
.m-quick__item span{font-size:13px;color:#444;line-height:1.25}
.m-dots{display:flex;justify-content:center;gap:9px;padding:20px 0 6px}
.m-dots i{width:11px;height:11px;border-radius:50%;background:#cfcfcf}
.m-dots i.on{background:#8a8a8a}

/* ---------- HABERLER ---------- */
.m-news{background:#dd6969;padding-bottom:26px}
.m-news__head{display:flex;align-items:center;justify-content:space-between;padding:18px 16px 14px}
.m-news__head h2{color:#fff;font-size:23px;font-weight:700;letter-spacing:1px;margin:0}
.m-news__all{background:#fff;color:#d9534f;font-size:12px;font-weight:700;padding:8px 13px;border-radius:3px}
.m-news__card{background:#fff;margin:0 16px;border-radius:4px;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.16)}
.m-news__card>img{width:100%}
.m-news__body{padding:14px 15px 18px}
.m-news__title{font-size:15px;font-weight:700;color:#2d2d2d;line-height:1.32}
.m-news__excerpt{margin-top:9px;font-size:13px;color:#888;line-height:1.55}
.m-news .m-dots{padding-top:20px}
.m-news .m-dots i{background:rgba(255,255,255,.5)}
.m-news .m-dots i.on{background:#fff}

/* ---------- SERVİS KARTLARI (2x3) ---------- */
.m-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:24px 16px;background:#fff}
.m-cards a{
  display:block;border:1px solid #ececec;border-radius:7px;overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.07);transition:transform .15s,box-shadow .15s;
}
.m-cards a:active{transform:scale(.98)}
.m-cards img{width:100%}

/* ---------- DUYURULAR ---------- */
.m-duyuru{background:#edf3e4;padding:24px 16px 34px}
.m-duyuru__head{display:flex;align-items:center;justify-content:space-between}
.m-duyuru__head h2{color:#808080;font-size:27px;font-weight:400;letter-spacing:1px;margin:0}
.m-duyuru__nav{display:flex;gap:16px}
.m-duyuru__nav button{background:transparent;border:0;color:#9a9a9a;cursor:pointer;padding:4px}
.m-duyuru__nav svg{width:26px;height:18px;stroke:#9a9a9a;fill:none;stroke-width:3}
.m-box{
  margin-top:18px;background:#ffcc00;border-radius:4px;padding:24px 20px;
  display:flex;gap:16px;align-items:flex-start;
}
.m-box svg{width:34px;height:34px;flex:none;fill:#3a3a3a;margin-top:2px}
.m-box p{margin:0;font-size:17px;color:#333;line-height:1.45}

/* ---------- BAŞKANLA KONUŞ (sabit buton) ---------- */
.m-chatfab{
  position:fixed;right:14px;bottom:16px;z-index:9999;
  display:inline-flex;align-items:center;gap:9px;
  padding:14px 20px;border-radius:999px;
  background:#ee7d10;color:#fff;font-weight:700;font-size:15px;letter-spacing:.2px;
  box-shadow:0 10px 26px rgba(0,0,0,.30);
  font-family:'Roboto','Helvetica Neue',Arial,sans-serif;
  animation:m-fab-in .4s ease both;
}
.m-chatfab:active{transform:scale(.96)}
.m-chatfab svg{width:21px;height:21px;stroke:#fff;fill:none;stroke-width:2}
@keyframes m-fab-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ---------- ALT (footer) ---------- */
.m-foot{background:#005dac;color:#fff;text-align:center;padding:20px 16px;font-size:12.5px;line-height:1.6}
.m-foot a{color:#ffd9a8;font-weight:600}
