/* 🏠 VISITOR PAGE ORIGINAL DESIGN */
/* di-real-estate.com sitesindeki orijinal tasarımla aynı */

/* 🌙 SİSTEM TEMA DESTEĞİ */
:root {
    /* 🌞 Light Theme Varsayılan Değerleri */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* 🌙 Dark Theme - Sistem Tercihi */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a1a;
        --bg-secondary: #2d2d30;
        --text-primary: #ffffff;
        --text-secondary: #b3b3b3;
        --border-color: #404040;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }
}

/* 🎨 Manuel Tema Seçimleri - Sistem tercihini geçersiz kılar */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d30;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* 🎯 P elementi düzeltmesi - SADECE visitor sayfası için */
.w3l-cover-3 .cover.visitor .middle-section p {
    color: #eee;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

/* 🎨 YENİ İLAN BADGE STİLİ */
.new-listing-badge {
    background: linear-gradient(45deg, #ff6b6b, #ff5722) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: bold !important;
    padding: 2px 6px !important;
    border-radius: 8px !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 🔥 SEQUENTİAL FADE ANİMASYON */
.sequential-fade {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.sequential-fade.visible {
    opacity: 1;
}

/* 🎯 VIEW ALL BUTTON STİLİ */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* 🔍 FIND BY ID SECTION STİLLERİ */
.find-by-id-section {
    margin-top: 40px;
    padding: 25px;
    background: transparent;
    border-radius: 15px;
    border: none;
}

.find-title {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.find-input-group {
    display: flex;
    max-width: 400px;
    margin: 0 auto 15px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.find-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
}

.find-input::placeholder {
    color: #7f8c8d;
}

.find-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.find-btn:hover {
    background: linear-gradient(45deg, #2980b9, #1f4e79);
    transform: translateX(-2px);
}

.find-btn:active {
    transform: scale(0.98);
}

.find-help-text {
    text-align: center;
    color: #ecf0f1;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 🔍 RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .find-by-id-section {
        margin-top: 30px;
        padding: 20px 15px;
    }

    .find-input-group {
        flex-direction: column;
        max-width: 100%;
    }

    .find-input {
        border-radius: 25px 25px 0 0;
        text-align: center;
    }

    .find-btn {
        border-radius: 0 0 25px 25px;
        justify-content: center;
    }
}

/* 🏠 PROPERTY TYPE SELECTOR - COMPACT SQUARE CARDS */
.property-type-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.property-type-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 120px;
    text-align: center;
    display: inline-block;
}

.property-type-btn:hover,
.property-type-btn.active {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    text-decoration: none;
}

/* 🎯 RESPONSIVE DESIGN FOR PROPERTY BUTTONS */
@media (max-width: 768px) {
    .property-type-btn {
        min-width: 100px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .property-type-btn {
        min-width: 80px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .property-type-selector {
        gap: 10px;
    }
}

/* 📸 Eksik image class'ları - visitor ve diğer sayfalarda kullanılan */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.fixed-aspect-ratio {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.center-image {
    display: block;
    margin: 0 auto;
}

/* 🎨 Enhanced Title Styling - Tema Uyumlu */
.title-big {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.title-big::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: var(--border-color);
}

/* 🏠 Property Cards Enhancement - Tema Uyumlu */
.box16 {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.box16:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.box16 .box-content .title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.box16 .box-content .post {
    font-size: 0.9rem;
}

.rentext-listing-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.rentext-listing-category span {
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 📱 No Properties Available Section - Tema Uyumlu */
.text-muted {
    color: var(--text-secondary) !important;
}
