/* Property Gallery Styles - Modern Design */
.property-gallery .main-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    height: 450px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-gallery .main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-gallery .main-image:hover::before {
    opacity: 1;
}

.property-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-gallery .main-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.property-gallery .main-image:hover img {
    transform: scale(1.05);
}

.property-gallery-thumbs .gallery-thumb {
    cursor: pointer;
    height: 90px;
    object-fit: cover;
    border: 3px solid transparent;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.property-gallery-thumbs .gallery-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.property-gallery-thumbs .gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.property-gallery-thumbs .gallery-thumb:hover::before {
    opacity: 1;
}

.property-gallery-thumbs .gallery-thumb.active {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.property-gallery-thumbs .gallery-thumb.active::before {
    opacity: 0;
}

/* Lightbox Overlay - Enhanced */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 28px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Property Sidebar Sticky */
.property-sidebar-sticky {
    position: sticky;
    top: 80px; /* navbar yüksekliği + biraz boşluk */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Property Detail Cards */
.detail-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.price-card {
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card {
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.amenity-card {
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: white !important;
}

.other-amenities {
    border: 1px solid rgba(226, 232, 240, 0.5);
}

/* Property Detail Responsive */
@media (max-width: 768px) {
    .property-gallery .main-image {
        height: 300px;
    }
    
    .property-gallery-thumbs .gallery-thumb {
        height: 70px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-counter {
        bottom: -35px;
        font-size: 14px;
    }
}
