﻿
/* Modalı karartma tabakasının (backdrop) üzerine zorla çıkarır */
.modal {
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.5); /* Sayfayı hafif karartmak için */
}

/* Otomatik oluşan siyah perdeyi etkisiz hale getiriyoruz çünkü modalın kendisine verdik */
.modal-backdrop {
    display: none !important;
}

/* Modalı dikey ve yatayda tam ortalar */
.modal-dialog {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - 1rem) !important;
    margin: auto !important;
}

/* Modal kartının tıklanabilir olduğunu hissettirir */
.modal-content {
    cursor: pointer;
    pointer-events: auto !important;
}


.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-soft-primary {
    background-color: rgba(13, 110, 253, 0.1);
}


.news-card {
    cursor: pointer;
    transition: transform 0.25s ease;
}

    .news-card:hover {
        transform: translateY(-4px);
    }



:root {
    --primary-blue: #0d6efd;
    --luxury-black: #1a1a1a;
}

/* Galeri Küçültme ve Netlik Ayarları */
.gallery-img-compact {
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    object-position: center;
}


.control-circle-small {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

/* Genel Font ve Stil */
.fw-black {
    font-weight: 900;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-lg-soft {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Hero Section */
.search-hero {
    min-height: auto !important; /* Yüksekliği içeriğe göre ayarlar */
    padding-top: 10px; /* Üstten boşluk */
    padding-bottom: 10px; /* Alttan boşluk (Bunu küçültürseniz resim daralır) */
    background-color: var(--luxury-black);
}

.search-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transform: scale(1.01);
}

.search-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, #0d6efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-cta-button {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .glass-cta-button:hover {
        background: #fff;
        color: var(--luxury-black);
        transform: translateY(-5px);
    }

/* Slider Özelleştirme */
.carousel-overlay-v2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.glass-tag-v2 {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-left: 3px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-control-next:hover .control-circle-small, .carousel-control-prev:hover .control-circle-small {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.custom-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    border: none !important;
    opacity: 0.5;
}

.custom-indicators .active {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--primary-blue) !important;
}

/* Hakkında ve Duyuru */
.divider-center {
    width: 50px;
    height: 3px;
    background: var(--primary-blue);
    margin: 0 auto;
    border-radius: 2px;
}

.title-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: inline-block;
}

.news-card {
    transition: 0.4s ease;
    border: 1px solid #eee !important;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
        border-color: var(--primary-blue) !important;
    }

.blink-dot {
    width: 10px;
    height: 10px;
    background: #dc3545;
    border-radius: 50%;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
/*adadadasdasd*/
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1040;
}

    .lightbox-overlay.active {
        display: flex;
    }

.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}


.lightbox-content {
    text-align: center;
    animation: zoomIn 0.3s ease;
}

    .lightbox-content img {
        max-width: 90vw;
        max-height: 85vh;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }

    .lightbox-content p {
        color: #fff;
        font-size: 0.9rem;
    }

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/*başlık duyuru*/
/* Yanıp Sönen Nokta */
.blink-dot {
    width: 10px;
    height: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Aşağı Yukarı Sallanan Ok */
/* Link tasarımı */
/* Ana Kapsayıcı */
.ai-button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

    .ai-button-container:hover {
       
        border-radius: 60px;
        backdrop-filter: blur(15px); /* Arkayı bulanıklaştırma (Cam efekti) */
        transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

/* Şeffaf AI Kart Tasarımı */
.glass-ai-card {
    background: rgba(255, 255, 255, 0.1); /* Şeffaf arka plan */
    backdrop-filter: blur(15px); /* Arkayı bulanıklaştırma (Cam efekti) */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px 35px;
    min-width: 300px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

    .glass-ai-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

/* Kart İçeriği */
.card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.btn-text {
    color: #444;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Animasyonlu Noktalar */
.blink-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}


.red-dot {
    background-color: #ff4757;
    box-shadow: 0 0 15px #ff4757;
    animation: ai-pulse-red 2s infinite;
}

.blue-dot {
    background-color: #2e86de;
    box-shadow: 0 0 15px #2e86de;
    animation: ai-pulse-blue 2s infinite;
}

.yellow-dot {
    background-color: #d4eb0a;
    box-shadow: 0 0 15px #2e86de;
    animation: ai-pulse-blue 2s infinite;
}

@keyframes ai-pulse-red {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

@keyframes ai-pulse-blue {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

/* Bounce Icon */
.bounce-icon i {
    font-size: 1.2rem;
    color: #555;
    animation: ai-bounce 2s infinite;
}

@keyframes ai-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}
/* Mobil cihazlar için özel ayar */
@media (max-width: 576px) {
    .ai-responsive-badge {
        font-size: 0.65rem !important; /* Yazıyı biraz küçültür */
        letter-spacing: 1px !important; /* Harf arasını daraltır */
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        line-height: 1.4; /* Eğer yazı iki satıra düşerse çirkin durmaz */
    }
}

/*ilan arama sayfası stilleri*/
/*@* --- TASARIM STİLLERİ --- *@*/ 
.search-panel {
    background: #fff;
    border: 1px solid #f0f0f0 !important;
}

.pro-card {
    transition: all 0.3s ease;
    border-radius: 20px;
}

    .pro-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

.img-container {
    height: 220px;
    overflow: hidden;
}

.pro-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pro-card:hover .pro-img {
    transform: scale(1.1);
}

.rounded-4 {
    border-radius: 1rem !important;
}

.rounded-5 {
    border-radius: 2rem !important;
}

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
}

.animate-pulse {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/*ilan arama sayfası stilleri*/
/*hakkımızda yazı iki yana yasla*/
.text-justify {
    text-align: justify;
    text-align-last: left; /* son satır garip durmasın diye */
}

/*hakkımızda yazı iki yana yasla*/

/*İlan arama filtre grubu*/


:root {
    --ai-glow: #6366f1;
    --ai-dark: #1e293b;
    --ai-light-bg: #ffffff;
}

.ai-search-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* Ana Arama Çubuğu */
.ai-main-bar {
    background: var(--ai-light-bg);
    border-radius: 50px; /* Tam yuvarlak modern bar */
    border: 2px solid rgba(99, 102, 241, 0.1);
    padding: 8px 7px;
    transition: all 0.3s ease;
}

    .ai-main-bar:focus-within {
        border-color: var(--ai-glow);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.2) !important;
    }

/* Input Alanı */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.ai-magic-icon {
    position: absolute;
    left: 15px;
    color: var(--ai-glow);
    font-size: 1.2rem;
}

.main-search-input {
    width: 100%;
    border: none;
    padding: 12px 12px 12px 45px;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

/* AI Analiz Butonu (Net ve Görünür) */
.btn-ai-search {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s;
}

    .btn-ai-search:hover {
        transform: scale(1.05);
        color: white;
    }

/* Filtre Açma Butonu */
.btn-toggle-filters {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--ai-dark);
    font-weight: 600;
    transition: all 0.2s;
}

    .btn-toggle-filters:hover {
        background: #e2e8f0;
    }

/* Açılır Gelişmiş Panel */
.ai-advanced-card {
    background: white;
    border-radius: 20px;
    border-top: 4px solid var(--ai-glow);
}

.ai-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.ai-select-custom, .ai-input-custom {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
}

/* Reset (Sıfırla) Butonu Stili */
.btn-reset-filters {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-reset-filters:hover {
    background: #fee2e2; /* Çok hafif kırmızı */
    color: #ef4444; /* Belirgin kırmızı */
    border-color: #fecaca;
    transform: rotate(-180deg); /* Havalı bir dönüş animasyonu */
}

/* Panel İçindeki Geniş Temizle Butonu */
.btn-clear-text {
    background: transparent;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

    .btn-clear-text:hover {
        background: #f1f5f9;
        color: #334155;
        border-style: solid;
    }

/* Ana Buton Parlaması */

/* Standart Analiz Butonu (Mavi/Mor AI Teması) */
.btn-ai-search {
    background: linear-gradient(135deg, #6366f1, #a855f7); /* Mavi/Mor */
    color: white;
    border-radius: 30px;
}

    .btn-ai-search.btn-mode-reset {
        background: linear-gradient(135deg, #f43f5e, #fb7185) !important; /* Kırmızı/Pembe tonları */
    }



/*İlan arama filtre grubu*/
/*İlan arama GİRİŞ SAYFASI RESİMLİ KARŞILAMA*/
#ilanara_baslik.hero-box {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

#ilanara_baslik .hero-bg {
    position: absolute;
    inset: 0;
    background: url('/Content/img/galeri/kapak.jpg') center / cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

#ilanara_baslik .hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 50% 50%, rgba(13, 110, 253, 0.1) 0%, transparent 80% );
    z-index: 2;
}

#ilanara_baslik .hero-content {
    position: relative;
    z-index: 3;
}

#ilanara_baslik .hero-title {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #212529, #0d6efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#ilanara_baslik .hero-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
}

#ilanara_baslik .hero-line {
    width: 50px;
    height: 3px;
    margin: 1.5rem auto 0;
    background: #0d6efd;
    border-radius: 2px;
}

/*İlan arama GİRİŞ SAYFASI RESİMLİ KARŞILAMA*/
/* filte grubu sabitleme ekran kayınca yukarıda kalır*/
.sticky-box {
    position: sticky;
    top: 80px;
    z-index: 10;
    opacity: 0.9;
}

/* filte grubu sabitleme ekran kayınca yukarıda kalır*/

/*duyuru bandı yeni haber uygulamsı sağ üst köşe*/
/* Yeni Duyuru Etiketi */
.badge-new-flash {
    background-color: #28a745; /* Yeşil */
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Kartın konumlandırmasını desteklemek için */
.news-card {
    position: relative;
}

.new-badge-pos {
    position: absolute;
    top: 50px;
    right: 15px;
    z-index: 5;
}
/*duyuru bandı yeni haber uygulamsı sağ üst köşe*/