/* Mobil Görünümde Yazıların Sağdaki Pagination Sayılarıyla Hizalanması */

/* Pagination görünürlüğünü ve konumunu iyileştir - TÜM CİHAZLAR */
@media screen and (max-width: 1024px) {
    /* Pagination container - Çizgi ve numara için geniş */
    .hlaf-slider-pag {
        right: 5px !important;
        z-index: 100 !important;
        width: 50px !important;
        padding-right: 5px !important;
    }
    
    /* Pagination bullets - Geniş container için ayarla */
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 45px !important;
        height: 18px !important;
        margin-bottom: 20px !important;
    }
    
    /* Çizgi (line) - Başlangıçta görünmez, hover/active'de solda belirir */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        background: #fff !important;
        z-index: 1 !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
        width: 20px !important;
        background: #f26522 !important;
    }
    
    /* Pagination numbers - Numarayı sağa kaydır, çizgi için yer aç */
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 20px !important;
        opacity: 1 !important;
        left: 25px !important;
        line-height: 18px !important;
    }
    
    /* Active pagination - Vurguyu artır */
    .swiper-pagination-bullet-active:after {
        color: #f26522 !important;
        font-weight: 700 !important;
        font-size: 22px !important;
    }
    
    /* Sol taraftaki içerik - Pagination için daha fazla yer aç */
    .half-hero-wrap {
        left: 2% !important;
        right: 60px !important;
        width: auto !important;
        max-width: calc(100% - 65px) !important;
        padding-right: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
        -moz-transform: translateY(-50%) !important;
        -ms-transform: translateY(-50%) !important;
    }
    
    /* Tüm başlıklar ve metinler - Pagination'a göre hizala */
    .half-hero-wrap h1,
    .half-hero-wrap h2,
    .half-hero-wrap h3,
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 55px !important;
        text-align: left !important;
        padding-right: 5px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* Tablet Portrait 901px-1024px */
@media screen and (min-width: 901px) and (max-width: 1024px) and (orientation: portrait) {
    .hlaf-slider-pag {
        right: 8px !important;
        width: 52px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 47px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 62px !important;
        max-width: calc(100% - 67px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 57px !important;
        font-size: 36px !important;
        line-height: 42px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 57px !important;
        font-size: 24px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 57px !important;
        font-size: 22px !important;
    }
}

/* Tablet Portrait 801px-900px */
@media screen and (min-width: 801px) and (max-width: 900px) and (orientation: portrait) {
    .hlaf-slider-pag {
        right: 8px !important;
        width: 52px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 47px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 62px !important;
        max-width: calc(100% - 67px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 57px !important;
        font-size: 34px !important;
        line-height: 40px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 57px !important;
        font-size: 22px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 57px !important;
        font-size: 20px !important;
    }
}

/* Tablet Portrait 769px-800px */
@media screen and (min-width: 769px) and (max-width: 800px) and (orientation: portrait) {
    .hlaf-slider-pag {
        right: 5px !important;
        width: 48px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 43px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 55px !important;
        max-width: calc(100% - 60px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 50px !important;
        font-size: 32px !important;
        line-height: 38px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 50px !important;
        font-size: 20px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 50px !important;
        font-size: 18px !important;
    }
}

/* Mobil Landscape 668px-768px */
@media screen and (min-width: 668px) and (max-width: 768px) and (orientation: landscape) {
    .hlaf-slider-pag {
        right: 5px !important;
        width: 46px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 41px !important;
        margin-bottom: 15px !important;
    }
    
    /* Çizgi - Numaranın solunda, sadece hover/active'de görünür */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
    .hero-slider-wrap_pagination .swiper-pagination-bullet:hover::before {
        width: 18px !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 18px !important;
        left: 22px !important;
        line-height: 16px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 52px !important;
        max-width: calc(100% - 57px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 47px !important;
        font-size: 28px !important;
        line-height: 34px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 47px !important;
        font-size: 18px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 47px !important;
        font-size: 16px !important;
        line-height: 20px !important;
    }
}

/* Mobil Portrait 568px-667px */
@media screen and (min-width: 568px) and (max-width: 667px) {
    .hlaf-slider-pag {
        right: 5px !important;
        width: 46px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 41px !important;
        height: 16px !important;
        margin-bottom: 18px !important;
    }
    
    /* Çizgi - Numaranın solunda, sadece hover/active'de görünür */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
    .hero-slider-wrap_pagination .swiper-pagination-bullet:hover::before {
        width: 18px !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 18px !important;
        left: 22px !important;
        line-height: 16px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 52px !important;
        max-width: calc(100% - 57px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 47px !important;
        font-size: 26px !important;
        line-height: 32px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 47px !important;
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 47px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }
    
    .half-hero-wrap_link {
        font-size: 16px !important;
        margin-right: 47px !important;
    }
}

/* Mobil 481px-567px */
@media screen and (min-width: 481px) and (max-width: 567px) {
    .hlaf-slider-pag {
        right: 5px !important;
        width: 44px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 39px !important;
        height: 16px !important;
        margin-bottom: 16px !important;
    }
    
    /* Çizgi - Numaranın solunda, sadece hover/active'de görünür */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
    .hero-slider-wrap_pagination .swiper-pagination-bullet:hover::before {
        width: 17px !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 17px !important;
        left: 21px !important;
        line-height: 16px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 49px !important;
        max-width: calc(100% - 54px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 45px !important;
        font-size: 24px !important;
        line-height: 30px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 45px !important;
        font-size: 17px !important;
        line-height: 23px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 45px !important;
        font-size: 15px !important;
        line-height: 21px !important;
    }
    
    .half-hero-wrap_link {
        font-size: 15px !important;
        margin-right: 45px !important;
    }
}

/* Küçük Mobil 414px-480px */
@media screen and (min-width: 414px) and (max-width: 480px) {
    .hlaf-slider-pag {
        right: 3px !important;
        width: 42px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 37px !important;
        height: 15px !important;
        margin-bottom: 15px !important;
    }
    
    /* Çizgi - Numaranın solunda, sadece hover/active'de görünür */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
    .hero-slider-wrap_pagination .swiper-pagination-bullet:hover::before {
        width: 16px !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 16px !important;
        left: 20px !important;
        line-height: 15px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 47px !important;
        max-width: calc(100% - 52px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 43px !important;
        font-size: 22px !important;
        line-height: 28px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 43px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 43px !important;
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    .half-hero-wrap_link {
        font-size: 14px !important;
        margin-right: 43px !important;
    }
}

/* Küçük Mobil 375px-413px */
@media screen and (min-width: 375px) and (max-width: 413px) {
    .hlaf-slider-pag {
        right: 3px !important;
        width: 40px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 35px !important;
        height: 14px !important;
        margin-bottom: 14px !important;
    }
    
    /* Çizgi - Numaranın solunda, sadece hover/active'de görünür */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
    .hero-slider-wrap_pagination .swiper-pagination-bullet:hover::before {
        width: 15px !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 15px !important;
        left: 19px !important;
        line-height: 14px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 45px !important;
        max-width: calc(100% - 50px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 41px !important;
        font-size: 20px !important;
        line-height: 26px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 41px !important;
        font-size: 15px !important;
        line-height: 21px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 41px !important;
        font-size: 13px !important;
        line-height: 19px !important;
    }
    
    .half-hero-wrap_link {
        font-size: 13px !important;
        margin-right: 41px !important;
    }
}

/* Çok Küçük Mobil 320px-374px */
@media screen and (min-width: 320px) and (max-width: 374px) {
    .hlaf-slider-pag {
        right: 2px !important;
        width: 38px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 33px !important;
        height: 13px !important;
        margin-bottom: 12px !important;
    }
    
    /* Çizgi - Numaranın solunda, sadece hover/active'de görünür */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
    .hero-slider-wrap_pagination .swiper-pagination-bullet:hover::before {
        width: 14px !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 14px !important;
        left: 18px !important;
        line-height: 13px !important;
    }
    
    .swiper-pagination-bullet-active:after {
        font-size: 15px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 42px !important;
        max-width: calc(100% - 47px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 39px !important;
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 39px !important;
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 39px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }
    
    .half-hero-wrap_link {
        font-size: 12px !important;
        margin-right: 39px !important;
        padding: 8px 15px !important;
    }
}

/* Çok Dar Ekranlar 280px-319px */
@media screen and (max-width: 319px) {
    .hlaf-slider-pag {
        right: 2px !important;
        width: 36px !important;
    }
    
    .hlaf-slider-pag .swiper-pagination-bullet {
        width: 31px !important;
        height: 12px !important;
        margin-bottom: 10px !important;
    }
    
    /* Çizgi - Numaranın solunda, sadece hover/active'de görünür */
    .hero-slider-wrap_pagination .swiper-pagination-bullet::before {
        left: 0 !important;
        width: 0 !important;
        top: 50% !important;
        height: 1px !important;
        transition: all 0.2s linear !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
    .hero-slider-wrap_pagination .swiper-pagination-bullet:hover::before {
        width: 13px !important;
    }
    
    .hero-slider-wrap_pagination .swiper-pagination-bullet:after {
        font-size: 13px !important;
        left: 17px !important;
    }
    
    .half-hero-wrap {
        left: 2% !important;
        right: 39px !important;
        max-width: calc(100% - 44px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        -webkit-transform: translateY(-50%) !important;
    }
    
    .half-hero-wrap h1,
    .half-hero-wrap h2 {
        margin-right: 37px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }
    
    .half-hero-wrap h3 {
        margin-right: 37px !important;
        font-size: 13px !important;
        line-height: 19px !important;
    }
    
    .half-hero-wrap h4,
    .half-hero-wrap h4.slogan {
        margin-right: 37px !important;
        font-size: 11px !important;
        line-height: 17px !important;
    }
    
    .half-hero-wrap_link {
        font-size: 11px !important;
        margin-right: 37px !important;
        padding: 6px 12px !important;
    }
}

