/* ===============================
   HERO SLIDER – MOBİL FIX
=============================== */
@media (max-width: 768px){

  /* HERO ALANI TAM GENİŞLİK */
  .hero,
  .hero-video,
  .hero-slider,
  .hero-slide{
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* SLIDE YÜKSEKLİĞİ */
  .hero-slide{
    min-height: 85vh;
    background-position: center;
    background-size: cover;
  }

  /* OVERLAY */
  .hero-overlay,
  .hero-text{
    inset: 0;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* 👈 soldan hizalı */
    text-align: left;
  }

  /* BAŞLIK */
  .hero h1,
  .hero-title{
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 12px;
    max-width: 90%;
  }

  /* AÇIKLAMA */
  .hero p,
  .hero-text p{
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 90%;
    opacity: .95;
  }

  /* BUTON */
  .hero a,
  .hero-btn,
  .hero-cta{
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    align-self: flex-start; /* 👈 sola yaslı */
  }

  /* DOT / PAGINATION */
  .hero-dots,
  .swiper-pagination{
    bottom: 18px !important;
  }
}
/* ===============================
   HERO TEXT – MOBİLDE AŞAĞI AL
=============================== */
@media (max-width: 768px){

  /* HERO YAZI BLOĞU */
  .hero-overlay,
  .hero-text{
    justify-content: flex-end !important; /* 👈 alta yasla */
    padding-bottom: 90px !important;      /* 👈 ne kadar aşağıda duracağı */
  }

  /* BAŞLIK */
  .hero h1,
  .hero-title{
    margin-bottom: 10px;
  }

  /* AÇIKLAMA */
  .hero p{
    margin-bottom: 18px;
  }

}
/* ===============================
   ABOUT HERO – MOBİL FIX (GERÇEK YAPI)
=============================== */
@media (max-width: 768px){

  /* Grid’i tek kolona düşür */
  .about-hero-fixed .about-hero-inner{
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* Görsel alan */
  .about-hero-fixed .hero-visual{
    position: relative;
    order: -1; /* görsel üste gelsin */
  }

  /* KIRMIZI QUOTE KUTUSU */
  .about-hero-fixed .hero-quote{
    position: relative !important;   /* absolute’i iptal */
    right: auto !important;
    bottom: auto !important;

    margin: 24px auto 0;             /* ortaya al */
    max-width: 260px;
    width: 100%;

    padding: 16px 18px;
    text-align: center;

    font-size: 14px;
    line-height: 1.5;

    box-shadow: 0 12px 30px rgba(0,0,0,.25);
  }

  /* Metin alanı */
  .about-hero-fixed .hero-text{
    text-align: left;
    padding: 0 20px;
  }

  .about-hero-fixed .hero-text h1{
    font-size: 34px;
    line-height: 1.15;
  }

  .about-hero-fixed .hero-text p{
    font-size: 15px;
    line-height: 1.7;
  }

}
/* ===============================
   HAKKIMIZDA – MOBİL FIX
=============================== */
@media (max-width: 768px){

  /* Sayfa genel taşma engeli */
  html, body{
    overflow-x: hidden !important;
  }

  /* Ana container tam genişlik */
  .container,
  .container-fluid,
  .page,
  .main,
  .content{
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Hakkımızda başlık */
  h1, h2{
    font-size: 26px !important;
    line-height: 1.25;
    margin-bottom: 16px;
  }

  /* Metinler */
  p{
    font-size: 15px !important;
    line-height: 1.6;
    word-break: normal !important;
    white-space: normal !important;
  }

  /* Yan yana gelen alanları alt alta al */
  .row,
  .d-flex,
  .flex{
    flex-direction: column !important;
  }

  /* Görsel varsa */
  img{
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 16px auto;
  }

  /* Sayaç / istatistik kartları */
  .counter,
  .stat,
  .box,
  .card{
    width: 100% !important;
    margin-bottom: 16px;
  }

  /* ❌ DİKEY YAZIYI KESİNLİKLE KAPAT */
  *{
    writing-mode: horizontal-tb !important;
    transform: none !important;
  }

  /* Misyon – Vizyon kartları */
  .mission,
  .vision,
  .mission-card,
  .vision-card{
    width: 100% !important;
    margin-bottom: 20px;
  }

}
@media (max-width: 768px) {

  /* Sorunlu wrapper paddinglerini iptal et */
  .page,
  .main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
  }

  /* Hero dışındaki container'lar kalsın */
  .page > *:not(.hero) {
    padding-left: 16px;
    padding-right: 16px;
  }

}
/* ===============================
   MOBILE NAVBAR + HERO EDGE FIX
=============================== */
@media (max-width: 768px) {

  /* PAGE WRAPPER */
  .page {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
  }

  /* NAVBAR FULL WIDTH */
  .menubar {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    max-width: 100%;
  }

  /* HERO FULL EDGE */
  .hero,
  .hero-slide,
  .hero-overlay {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* DİĞER SECTION'LAR KORUNSUN */
  .page > *:not(.hero):not(.menubar) {
    padding-left: 16px;
    padding-right: 16px;
  }

}
/* ===============================
   HERO MOBILE HEIGHT ADJUST
=============================== */
@media (max-width: 768px) {

  .hero {
    height: 68vh;           /* 85vh yerine */
    min-height: 520px;      /* aşırı küçülmeyi engeller */
  }

  .hero-content {
    top: auto;
    bottom: 90px;           /* içeriği biraz yukarı al */
    transform: none;
  }

}
