/* 🏠 VISITOR PAGE ORIGINAL DESIGN */
/* di-real-estate.com sitesindeki orijinal tasarımla aynı */

/* 🎯 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;
}

/* 🏠 PROPERTY TYPE SELECTOR - COMPACT SQUARE CARDS */
.property-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 0 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.property-type-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #212529;
    border: 2px solid rgba(222, 226, 230, 0.8);
    border-radius: 12px;
    padding: 1rem 0.8rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    min-height: 70px;
    aspect-ratio: 1;
}

[data-theme="dark"] .property-type-btn {
    background: rgba(45, 45, 48, 0.95);
    border: 2px solid rgba(64, 64, 64, 0.8);
    color: #ffffff;
}

.property-type-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 51, 0.3), transparent);
    transition: left 0.8s ease;
}

.property-type-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #f93;
    color: #f93;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.3);
    text-decoration: none;
}

[data-theme="dark"] .property-type-btn:hover {
    background: rgba(45, 45, 48, 1);
    color: #f93;
}

.property-type-btn:hover::before {
    left: 100%;
}

.property-type-btn.active {
    background: linear-gradient(135deg, #f93, #ff8000);
    color: white;
    border-color: #f93;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 25px rgba(255, 153, 51, 0.4);
}

.property-type-icon {
    font-size: 1.5rem;
    transition: transform 0.4s ease;
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.property-type-btn:hover .property-type-icon {
    transform: scale(1.2) rotate(15deg);
}

.property-type-btn span:last-child {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

/* 🎨 Enhanced Visual Effects */
.property-type-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    
    transition: width 0.4s ease;
    border-radius: 1px;
}

.property-type-btn:hover::after {
    width: 80%;
}

/* 🌟 Compact Floating Animation */
@keyframes compactFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.01);
    }
}

.property-type-btn {
    animation: compactFloat 6s ease-in-out infinite;
}

.property-type-btn:nth-child(1) {
    animation-delay: 0s;
}

.property-type-btn:nth-child(2) {
    animation-delay: 1.5s;
}

.property-type-btn:nth-child(3) {
    animation-delay: 3s;
}

.property-type-btn:nth-child(4) {
    animation-delay: 4.5s;
}

/* 📸 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 */
.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;
}

/* 🏠 Property Cards Enhancement */
.box16 {
    background: var(--body-bg, #ffffff);
    border: 1px solid var(--body-border, #dee2e6);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .box16 {
    background: var(--body-bg-secondary, #2d2d30);
    border-color: var(--body-border, #404040);
}

.box16:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.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);
}

/* 📱 Compact Responsive Design */
@media (max-width: 1200px) {
    .property-type-selector {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        max-width: 550px;
    }

    .property-type-btn {
        min-height: 65px;
        padding: 0.9rem 0.7rem;
        font-size: 0.95rem;
    }

    .property-type-icon {
        font-size: 1.4rem;
    }

    .property-type-btn span:last-child {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .property-type-selector {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .property-type-btn {
        padding: 0.8rem 0.6rem;
        font-size: 0.9rem;
        min-height: 60px;
    }

    .property-type-icon {
        font-size: 1.3rem;
    }

    .property-type-btn span:last-child {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 768px) {
    .property-type-selector {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
        padding: 0 0.5rem;
        margin: 1.5rem 0;
    }

    .property-type-btn {
        padding: 0.7rem 0.4rem;
        font-size: 0.85rem;
        min-height: 55px;
    }

    .property-type-icon {
        font-size: 1.2rem;
    }

    .property-type-btn span:last-child {
        font-size: 0.75rem;
        letter-spacing: 0.6px;
    }

    .fixed-aspect-ratio {
        height: 200px;
    }

    .box16 .box-content {
        padding: 0.8rem;
    }
    
    .rentext-listing-category {
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .rentext-listing-category span {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .title-big {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .property-type-selector {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin: 1.5rem 0;
    }

    .property-type-btn {
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
        min-height: 50px;
        aspect-ratio: auto;
    }

    .property-type-icon {
        font-size: 1.1rem;
    }

    .property-type-btn span:last-child {
        font-size: 0.7rem;
        letter-spacing: 0.4px;
    }

    .fixed-aspect-ratio {
        height: 180px;
    }

    .title-big {
        font-size: 1.6rem;
    }
}

/* 🎯 Compact 3D Transform Effects */
.property-type-btn {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.property-type-btn:hover {
    transform: translateY(-4px) scale(1.05) rotateX(3deg) rotateY(2deg);
}

/* 🌈 Enhanced Color-coded Icons */
.property-type-btn[data-type="sale"] .property-type-icon {
    color: #e74c3c;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
}

.property-type-btn[data-type="rent"] .property-type-icon {
    color: #3498db;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.property-type-btn[data-type="land"] .property-type-icon {
    color: #27ae60;
    text-shadow: 0 2px 4px rgba(39, 174, 96, 0.2);
}

.property-type-btn[data-type="shortterm"] .property-type-icon {
    color: #f39c12;
    text-shadow: 0 2px 4px rgba(243, 156, 18, 0.2);
}

/* 🔥 Compact Pulse Effect */
@keyframes compactPulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 153, 51, 0.1);
    }
    50% {
        box-shadow: 0 8px 20px rgba(255, 153, 51, 0.3);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 153, 51, 0.1);
    }
}

.property-type-btn:hover {
    animation: compactPulse 2s infinite;
}

/* 💫 Compact Glow Effect */
.property-type-btn:hover {
    position: relative;
}

.property-type-btn:hover::before {
    left: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 51, 0.4), transparent);
}

/* 🌟 Compact Sparkle Animation on Hover */
@keyframes compactSparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(0.6) rotate(180deg); }
}

.property-type-btn:hover .property-type-icon::after {
    content: '✨';
    position: absolute;
    top: -3px;
    right: -3px;
    font-size: 0.6rem;
    animation: compactSparkle 1.2s infinite;
}

/* ⚡ Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .property-type-btn {
        animation: none !important;
    }
    
    .property-type-btn:hover {
        animation: none !important;
        transform: translateY(-2px) scale(1.02) !important;
    }
    
    .property-type-icon {
        transition: none !important;
    }
    
    .property-type-btn:hover .property-type-icon {
        transform: scale(1.1) !important;
    }
    
    .property-type-btn:hover .property-type-icon::after {
        animation: none !important;
    }
}
