﻿/* Mobil Liste Tasarımı */
.mobile-listing-card {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 8px;
    text-decoration: none !important;
    color: inherit;
    gap: 12px;
}

    .mobile-listing-card:active {
        background-color: #f9f9f9;
    }

.mobile-card-img {
    width: 110px;
    height: 85px;
    flex-shrink: 0;
}

    .mobile-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

.mobile-card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-location {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 0;
}

.mobile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1c599b;
}

.mobile-category {
    font-size: 0.65rem;
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    color: #999;
}

/*filtre grubu*/
/* Arama Paneli Layout */
.search-grid {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input-area {
    flex-grow: 1;
}

.search-actions-area {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Buton Tasarımları */
.btn-search-action {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .btn-search-action:active {
        background: #f0f0f0;
        transform: scale(0.95);
    }

.btn-main-submit {
    height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    border: none;
    background: #007bff;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobil Özel Ayarlar */
@media (max-width: 767px) {
    .btn-main-submit {
        width: 42px; /* Mobilde sadece ikon olması için kare yapıyoruz */
        padding: 0;
    }

    .mobile-scroll-gap {
        overflow-x: auto; /* Şehir/ilçe mobilde sığmazsa kaydırılabilir */
        padding-bottom: 5px;
    }

    .ai-select-custom, .ai-input-custom {
        min-width: 120px; /* Mobilde seçim kutuları çok küçülmesin */
    }

    .ai-main-bar {
        border-radius: 15px !important;
        margin: 0 5px;
    }
}

/* Input Stil Tamamlaması */
.main-search-input {
    width: 100%;
    border: 1px solid #eee;
    padding: 10px 15px 10px 4px;
    border-radius: 12px;
    outline: none;
    background: #ffffff0a;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
}

.ai-magic-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
}

@media (max-width: 767px) {
    /* Konum kutularını alt alta diz */
    .mobile-location-group {
        flex-direction: column !important; /* Yan yanadan alt altaya geç */
        gap: 10px !important; /* Aralarına boşluk ver */
    }

    /* Select kutularının mobilde tam genişlikte ve daha kolay tıklanır olması için */
    .ai-select-custom,
    .ai-input-custom {
        width: 100% !important; /* Mobilde her biri tam satır kaplasın */
        height: 45px; /* Parmakla dokunmak için yüksekliği artır */
        font-size: 14px;
    }

    /* Fiyat aralığını (Min-Max) da mobilde alt alta istersen burayı kullanabilirsin */
    .price-range-group {
        flex-direction: column !important;
    }
    /*üsy başlık*/
    /* Mobil için Kompakt Üst Başlık Ayarları */
    @media (max-width: 767px) {
        .mobile-hero {
            padding: 30px 15px !important; /* Yükseklik ve yan boşlukları azalttık */
            margin-bottom: 15px !important;
        }

        .hero-title {
            font-size: 1.4rem !important; /* Başlık fontunu küçülttük */
            line-height: 1.2;
            margin-bottom: 10px;
        }

        .hero-desc {
            font-size: 0.9rem !important; /* Açıklama metnini küçülttük */
            opacity: 0.9;
            line-height: 1.4;
            margin-bottom: 15px;
        }

        /* Arka plan görselinin veya efektlerin mobilde daha hafif durması için */
        .hero-bg {
            opacity: 0.6;
        }

        .hero-line {
            width: 40px !important; /* Dekoratif çizgiyi mobilde kısalttık */
            margin: 0 auto;
        }
    }

    /* Desktop için standart (mevcut) ayarlarınız korunur */
    @media (min-width: 768px) {
        .hero-box {
            padding: 60px 40px;
        }

        .hero-title {
            font-size: 2.5rem;
        }
    }
    /*para kutuları ondalıklı ayırma*/
    .price-info-text {
        display: block;
        font-size: 0.78rem;
        margin-top: 4px;
        height: 20px; /* Yazı yokken kayma yapmaması için sabit yükseklik */
        color: #007bff;
        padding-left: 2px;
    }

    @media (max-width: 767px) {
        .price-info-text {
            margin-bottom: 8px; /* Mobilde alt alta binerken nefes aldırır */
        }
    }
    /* Daha Belirgin Mobil Yanıp Sönme (Glow) Efekti */
    @media (max-width: 767px) {
        .mobile-pulse-bg {
            animation: pulse-glow-strong 2.5s infinite ease-in-out;
            border: 2px solid rgba(0, 123, 255, 0.3) !important; /* Çerçeve biraz daha kalın */
        }
    }

    @keyframes pulse-glow-strong {
        0% {
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 0px rgba(0, 123, 255, 0.4);
        }

        50% {
            /* Parlama daha yoğun: Mavi renk %60 opaklıkta ve 20px yayılımda */
            box-shadow: 0 10px 35px -5px rgba(0, 123, 255, 0.5), 0 0 0 15px rgba(0, 123, 255, 0);
            border-color: rgba(0, 123, 255, 0.8) !important;
            transform: scale(1.01); /* Çok hafif büyüme efekti ile daha canlı durur */
        }

        100% {
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 0px rgba(0, 123, 255, 0);
            transform: scale(1);
        }
    }

}
