/* ===== Alper Grup Peyzaj - tema üstü düzeltmeler ===== */

/* Logo boyutları (yatay logo) - %20 büyütüldü */
.logo img { height: 70px; width: auto; }
.footer-area .logo img { height: 74px; width: auto; margin-bottom: 22px; }
.search-inner .logo img { height: 65px; width: auto; }
@media (max-width: 767px){ .logo img { height: 58px; } }

/* --- Hero (giriş slider) fazla parlak: yazı okunsun diye koyu overlay --- */
.hero-area-banner::after {
    background: linear-gradient(90deg, rgba(9,20,14,.78) 0%, rgba(9,20,14,.45) 55%, rgba(9,20,14,.12) 100%) !important;
    opacity: 1 !important;
}
@media (max-width: 767px){
    .hero-area-banner::after {
        background: linear-gradient(180deg, rgba(9,20,14,.35) 0%, rgba(9,20,14,.75) 100%) !important;
    }
}

/* --- Alt başlık (breadcrumb) görselleri fazla parlak: koyu overlay --- */
/* Tüm breadcrumb görselleri yatay (1600x900) ve ortadan hizalı görünsün */
.breadcrumb-area {
    background-position: center center !important;
    background-size: cover !important;
}
.breadcrumb-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9,20,14,.45) 0%, rgba(9,20,14,.72) 100%);
    z-index: 0;
}
.breadcrumb-area .breadcrumb-title,
.breadcrumb-area .breadcrumb-icon { position: relative; z-index: 2; }

/* --- Görsel taşmalarını engelle: her kutuya sabit oran --- */

/* Ana sayfa & Hizmetler: hizmet kartı görselleri */
.service-img img,
#service-1 .service-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Kartların eşit yükseklikte hizalanması + satırlar arası boşluk */
.single-service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
/* Hizmet kartı sütunları arası dikey boşluk (3'lü satırlar) */
.service-section .row > [class*="col-"] {
    margin-bottom: 30px;
}
/* Hizmetler bölümü alt boşluğu (tema aslında daha ferahtı) */
#service-1.service-section { padding-bottom: 130px; }

/* --- Ana sayfa 4 özellik kutusu: eşit yükseklik --- */
.feature-area .row > [class*="col-"] { display: flex; }
.feature-area .single-feature-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hakkımızda: tema simetrisi - image-one DİK (1200x1650), image-two KARE (1200x1200) */
.image-one img {
    width: 100%;
    aspect-ratio: 1200 / 1650;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}
.image-two { width: 55%; }
.image-two img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}
@media (max-width: 767px){
    .image-two { width: 50%; }
}

/* Hakkımızda #service-2: tüm satırlarda tutarlı üst boşluk (tema sadece 2.yi biçimlendirmiş) */
#service-2 .service-content-inner:not(:first-child) { padding-top: 20px; }

/* Hakkımızda sayfası: büyük hizmet görselleri (#service-2) */
#service-2 .service-img-wrap img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}
@media (max-width: 767px){
    #service-2 .service-img-wrap img { height: 260px; }
}

/* Hakkımızda: testimonial büyük görsel */
#testimonial-2 .testimonials-img-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Referans yazar avatarları */
.testimonial-author img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

/* Blog/haber görselleri kalırsa */
.blog-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* Ekip görselleri kalırsa */
.team-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

/* --- Kalite sayfası "Temel İlkelerimiz" 4 kutu: eşit yükseklik --- */
.choose-us-section .row.mt-30 > [class*="col-"] { display: flex; }
.choose-us-section .row.mt-30 .single-choose-item {
    width: 100%;
    height: 100%;
    margin-bottom: 0 !important;
    align-items: flex-start;
}
.choose-us-section .row.mt-30 > [class*="col-"] { margin-bottom: 24px; }

/* --- "Neden Biz" bandı: sabit yükseklik + negatif margin nedeniyle sol görsel
   alttaki bölüme taşıyordu (eski video bölümünün üstüne binmesi için tasarlanmıştı).
   Video kaldırıldığı için taşmayı kaldırıyoruz. --- */
.choose-us-section { height: auto !important; }
.choose-us-bg-wrap { margin-bottom: 0 !important; }

/* --- WhatsApp yüzen buton (mobil dahil her sayfada) --- */
.wa-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: wa-pulse 2.4s infinite;
}
.wa-float:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 211, 102, .6);
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 767px){
    .wa-float { width: 52px; height: 52px; font-size: 27px; left: 16px; bottom: 74px; }
}

/* --- Mobil alt sabit aksiyon çubuğu (Hemen Ara / WhatsApp / Online Katalog) --- */
.mobile-action-bar { display: none; }
@media (max-width: 767px){
    .mobile-action-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
    }
    .mab-item {
        min-width: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 9px 4px;
        font-size: 11.5px;
        font-weight: 600;
        color: #fff;
        text-align: center;
        line-height: 1.15;
    }
    .mab-item:hover,
    .mab-item:focus { color: #fff; }
    .mab-item i { font-size: 19px; }
    .mab-item span { display: block; width: 100%; }
    .mab-call { background: #0b332a; }
    .mab-wa { background: #25D366; }
    .mab-katalog { background: #58B41E; }
    /* mobilde yüzen whatsapp'ı gizle — çubukta zaten var */
    .wa-float { display: none !important; }
    /* içerik alt çubuğun altında gizlenmesin */
    body { padding-bottom: 62px; }
}

/* Genel galeri ızgarası (Projeler sayfası ek görseller için) */
.alper-gallery-item {
    display: block;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}
.alper-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.alper-gallery-item:hover img { transform: scale(1.06); }
a.alper-gallery-item { cursor: zoom-in; }
/* Tıklayınca büyüt ipucu: hover'da hafif koyu örtü + büyüteç */
a.alper-lightbox::after {
    content: "\f00e";
    font-family: "Line Awesome Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.6);
    color: #fff;
    font-size: 34px;
    opacity: 0;
    z-index: 2;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
a.alper-lightbox::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9, 20, 14, .35);
    opacity: 0;
    z-index: 1;
    transition: opacity .3s ease;
}
a.alper-lightbox:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
a.alper-lightbox:hover::before { opacity: 1; }
