/* Property Details Page Custom Styles */

/* Price Badge Styling */
.price-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.price-badge .price {
    font-size: 2rem;
    font-weight: bold;
    color: #1E9888;
}

.price-badge .negotiable {
    background: #1E9888;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Photo Gallery Overlay */
.overlay-more {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
}

/* Information Boxes */
.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #1E9888;
}

.info-box h5 {
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: #495057;
    min-width: 120px;
    display: inline-block;
}

/* Property Features Grid */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feature-badge {
    background: #e8f7f5;
    color: #1E9888;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feature-badge i {
    font-size: 0.8rem;
}

/* Amenities Styling */
.amenity-category {
    margin-bottom: 2rem;
}

.category-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-title i {
    color: #1E9888;
    margin-right: 8px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.amenity-item i {
    margin-right: 8px;
    font-size: 1.1rem;
    min-width: 20px;
}

.amenity-item span {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Seçili amenities - Site ana renginde */
.amenity-item.selected {
    background: #e8f7f5;
    border-color: #1E9888;
    color: #166b5c;
}

.amenity-item.selected i {
    color: #1E9888;
}

.amenity-check {
    color: #1E9888;
    font-size: 1rem;
    margin-left: 8px;
}

/* Seçili olmayan amenities - yüksek opacity */
.amenity-item.not-selected {
    opacity: 0.5;
    background: #f5f5f5;
    border-color: #ddd;
    color: #666;
}

.amenity-item.not-selected i {
    color: #999;
}

/* Sidebar Cards */
.property-sidebar .price-card,
.property-sidebar .contact-card,
.property-sidebar .stats-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.price-card .price-info h3 {
    color: #1E9888;
    margin-bottom: 10px;
    font-size: 2rem;
}

.price-card .price-info p {
    color: #6c757d;
    margin-bottom: 0;
}

.negotiable-badge {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 10px;
}

/* Contact Card */
.contact-card h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.agent-info h5 {
    color: #1E9888;
    margin-bottom: 10px;
}

.agent-info p {
    margin-bottom: 8px;
    color: #6c757d;
}

.agent-info i {
    width: 16px;
    margin-right: 8px;
}

.contact-buttons {
    margin-top: 20px;
}

.contact-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    font-weight: 500;
}

.contact-buttons .btn i {
    margin-right: 8px;
}

/* Stats Card */
.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.stats-list li:last-child {
    border-bottom: none;
}

.stats-list span:first-child {
    font-weight: 500;
    color: #495057;
}

/* Property Description */
.property-description {
    line-height: 1.8;
    color: #495057;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .price-badge {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-badge .price {
        font-size: 1.5rem;
    }

    .features-grid {
        flex-direction: column;
    }

    .feature-badge {
        justify-content: center;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .info-box {
        margin-bottom: 15px;
    }

    .contact-buttons .btn {
        font-size: 0.9rem;
        padding: 10px;
    }

    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }

    .amenity-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .category-title {
        font-size: 1rem;
    }
}

/* GLightbox Custom Styling */
.glightbox-clean .gslide-description {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
}

/* Hover effects */
.img1:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.feature-badge:hover {
    background: #1E9888;
    color: white;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 152, 136, 0.15);
}

.amenity-item.selected:hover {
    background: #d1f2ed;
    border-color: #166b5c;
}

.amenity-item.not-selected:hover {
    opacity: 0.7;
    background: #f0f0f0;
}
