/* Modern Property Detail Page - Professional & Minimal Design */

/* Main Content Background */
.property-detail-content {
    background: #ffffff;
    min-height: 100vh;
}

/* Page Header - Clean & Modern */
.property-detail-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 2rem 0;
    position: relative;
}

.property-detail-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.property-detail-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.property-detail-header .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.property-detail-header .breadcrumb-item a:hover {
    color: #059669;
    text-decoration: underline;
}

.property-detail-header .breadcrumb-item.active {
    color: #059669;
    font-weight: 600;
}

.property-detail-header .breadcrumb-item + .breadcrumb-item::before {
    color: #94a3b8;
    content: "›";
    font-weight: 600;
}

/* Image Gallery - Minimal & Clean */
.property-image-gallery {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.main-image-swiper {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.main-image-swiper .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-image-swiper .swiper-button-next,
.main-image-swiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-image-swiper .swiper-button-next:hover,
.main-image-swiper .swiper-button-prev:hover {
    background: #ffffff;
    color: #0f172a;
    transform: scale(1.05);
}

.main-image-swiper .swiper-pagination {
    bottom: 20px;
}

.main-image-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8);
    width: 8px;
    height: 8px;
    opacity: 1;
    transition: all 0.2s ease;
}

.main-image-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.25);
}

/* Thumbnail Gallery - Minimal */
.thumbnail-swiper {
    margin-top: 16px;
    padding: 8px 0;
}

.thumbnail-slide {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail-slide.swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.02);
}

.thumbnail-slide:hover {
    opacity: 1;
}

.thumbnail-slide img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* Property Summary Card - Clean Design */
.property-summary-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.property-summary-card .card-header {
    background: #f8fafc;
    border: none;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.property-summary-card .card-header h5 {
    color: #0f172a;
    font-weight: 600;
    margin: 0;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
}

.property-summary-card .card-header h5::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #059669;
    border-radius: 2px;
    margin-right: 0.75rem;
}

.property-summary-card .card-body {
    padding: 1.5rem;
}

.property-summary-card .property-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.property-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: none;
}

.property-info-item:hover {
    background: transparent;
    transform: none;
}

.property-info-item i {
    color: #64748b;
    font-size: 1rem;
    width: 20px;
    margin-right: 0.75rem;
    margin-top: 2px;
}

.property-info-item strong {
    color: #374151;
    margin-right: 0.5rem;
    font-weight: 500;
}

.property-info-item div {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.property-price {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.5rem 0;
    text-align: left;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.property-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.property-actions .btn {
    padding: 0.875rem 1.25rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.property-actions .btn::before {
    display: none;
}

.property-actions .btn-success {
    background: #059669;
    border: 1px solid #059669;
    color: white;
}

.property-actions .btn-success:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.property-actions .btn-outline-primary {
    border: 1px solid #e2e8f0;
    color: #374151;
    background: transparent;
}

.property-actions .btn-outline-primary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Property Detail Cards - Minimal Design */
.property-detail-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
}

.property-detail-card::before {
    display: none;
}

.property-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.property-detail-card .card-header {
    background: #f8fafc;
    border: none;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.property-detail-card .card-header h5 {
    color: #0f172a;
    font-weight: 600;
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.property-detail-card .card-header h5::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #059669;
    border-radius: 2px;
    margin-right: 0.75rem;
}

.property-detail-card .card-body {
    padding: 1.5rem;
}

/* Overview Content - Clean Typography */
.TxtEditorContent {
    line-height: 1.7;
    font-size: 1rem;
    color: #374151;
}

.TxtEditorContent h1,
.TxtEditorContent h2,
.TxtEditorContent h3,
.TxtEditorContent h4,
.TxtEditorContent h5,
.TxtEditorContent h6 {
    color: #0f172a;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.TxtEditorContent p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Highlights and Amenities - Compact List */
.highlight-item,
.amenity-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
    background: transparent;
    border-radius: 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.highlight-item:last-child,
.amenity-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.highlight-item:hover,
.amenity-item:hover {
    background: #f8fafc;
    transform: none;
    border-radius: 6px;
    padding: 0.5rem 0.5rem;
    margin: 0.25rem 0;
}

.highlight-item i,
.amenity-item i {
    color: #059669;
    font-size: 0.875rem;
    margin-right: 0.75rem;
    width: 16px;
    flex-shrink: 0;
}

.highlight-item span,
.amenity-item span {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Tables - Clean Design */
.pricing-table,
.distance-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.pricing-table .table,
.distance-table .table {
    margin: 0;
    font-size: 0.9rem;
}

.pricing-table thead th {
    background: #f1f5f9;
    color: #374151;
    font-weight: 600;
    border: none;
    padding: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.distance-table thead th {
    background: #f1f5f9;
    color: #374151;
    font-weight: 600;
    border: none;
    padding: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.pricing-table tbody tr,
.distance-table tbody tr {
    transition: all 0.2s ease;
}

.pricing-table tbody tr:hover,
.distance-table tbody tr:hover {
    background: #f8fafc;
    transform: none;
}

.pricing-table tbody td,
.distance-table tbody td {
    padding: 0.875rem 1rem;
    border-color: #f1f5f9;
    font-weight: 400;
    color: #374151;
}

/* Map Container - Clean */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    height: 280px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Final CTA Section - Minimal */
.property-cta-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #f1f5f9;
}

.property-cta-section::before {
    display: none;
}

.property-cta-section .container {
    position: relative;
    z-index: 2;
}

.property-cta-section h3 {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.property-cta-section p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.property-cta-section .btn {
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.property-cta-section .btn::before {
    display: none;
}

.property-cta-section .btn-success {
    background: #059669;
    border: 1px solid #059669;
    color: white;
}

.property-cta-section .btn-success:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.property-cta-section .btn-outline-primary {
    border: 1px solid #cbd5e1;
    color: #374151;
    background: white;
}

.property-cta-section .btn-outline-primary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Status Badges - Minimal */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-detail-header h1 {
        font-size: 1.875rem;
    }
    
    .property-detail-header {
        padding: 1.5rem 0;
    }
    
    .main-image-swiper .swiper-slide img {
        height: 300px;
    }
    
    .property-summary-card {
        position: static;
        margin-bottom: 2rem;
    }
    
    .property-summary-card .card-body {
        padding: 1.25rem;
    }
    
    .property-price {
        font-size: 1.5rem;
    }
    
    .property-cta-section h3 {
        font-size: 1.5rem;
    }
    
    .property-cta-section .btn {
        margin-bottom: 0.75rem;
        width: 100%;
    }
    
    .thumbnail-swiper {
        margin-top: 12px;
    }
    
    .thumbnail-slide img {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .property-detail-card .card-body {
        padding: 0 1.25rem 1.25rem;
    }
    
    .property-detail-card .card-header {
        padding: 1.25rem 1.25rem 0;
    }
    
    .property-info-item {
        font-size: 0.875rem;
    }
    
    .TxtEditorContent {
        font-size: 0.9rem;
    }
    
    .pricing-table thead th,
    .pricing-table tbody td,
    .distance-table thead th,
    .distance-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Loading States - Minimal */
.property-image-loading {
    background: #f1f5f9;
    height: 500px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accessibility Improvements */
.property-detail-card:focus-within {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.property-actions .btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .property-actions,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
    
    .property-detail-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .property-cta-section {
        background: white !important;
        color: #0f172a !important;
    }
}