/* ===================================
   PROPERTY DETAIL PAGE STYLES
   =================================== */

/* Breadcrumb Section */
.breadcrumb-section {
    padding-top: 100px;
    padding-bottom: 20px;
    background-color: var(--color-light-bg);
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(10, 26, 47, 0.7);
}

/* Property Header */
.property-header {
    padding: 2rem 0;
    background-color: var(--color-light-bg);
}

.property-detail-title {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.property-detail-location {
    color: rgba(10, 26, 47, 0.7);
    font-size: 1.125rem;
}

.price-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.price-label {
    color: rgba(10, 26, 47, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.price-amount {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.price-sublabel {
    color: rgba(10, 26, 47, 0.5);
    font-size: 0.8rem;
}

/* Gallery Section */
.gallery-section {
    padding: 2rem 0;
    background-color: var(--color-light-bg);
}

.gallery-section .carousel-item img {
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-section .carousel-caption {
    background-color: rgba(11, 61, 46, 0.8);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    right: auto;
    left: 2rem;
    bottom: 2rem;
}

.gallery-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.gallery-section .carousel-indicators button.active {
    background-color: var(--color-gold);
}

/* Detail Cards */
.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.detail-section-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.detail-subsection-title {
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Quick Facts */
.fact-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--color-light-bg);
    transition: all 0.3s ease;
}

.fact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fact-item i {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fact-label {
    color: rgba(10, 26, 47, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.fact-value {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Property Description */
.property-description {
    color: rgba(10, 26, 47, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(10, 26, 47, 0.8);
}

.feature-list i {
    color: #10b981;
    font-size: 1.125rem;
}

/* Specifications Table */
.spec-table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:nth-child(even) {
    background-color: #f9fafb;
}

.spec-label {
    color: rgba(10, 26, 47, 0.6);
    font-weight: 500;
}

.spec-value {
    color: var(--color-dark);
    font-weight: 600;
    text-align: right;
}

/* Verification Timeline */
.verification-timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 2.5rem;
    width: 2px;
    height: calc(100% - 2.5rem);
    background-color: #e5e7eb;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item.completed .timeline-marker {
    background-color: #10b981;
    color: white;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.timeline-content h4 {
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: rgba(10, 26, 47, 0.7);
    margin-bottom: 0.25rem;
}

/* Location Map */
.location-map {
    border-radius: 12px;
    overflow: hidden;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--color-light-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.amenity-item i {
    color: var(--color-primary);
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.amenity-item strong {
    color: var(--color-dark);
    display: block;
    margin-bottom: 0.25rem;
}

/* Investment Calculator */
.calculator-box {
    background-color: var(--color-light-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

.calculation-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
}

.calc-item {
    text-align: center;
    padding: 1rem;
}

.calc-label {
    color: rgba(10, 26, 47, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.calc-value {
    color: var(--color-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
}

.total-amount .amount {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* Book Visit Form */
.detail-card form .form-label {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.detail-card form .form-control,
.detail-card form .form-select {
    border: 1px solid #d1d5db;
    padding: 0.625rem 0.875rem;
}

.detail-card form .form-control:focus,
.detail-card form .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(11, 61, 46, 0.15);
}

/* Agent Info */
.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.agent-details h4 {
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.agent-details p {
    margin-bottom: 0;
}

/* Trust Points */
.trust-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--color-light-bg);
    border-radius: 8px;
}

.trust-point i {
    color: #10b981;
    font-size: 1.25rem;
}

.trust-point span {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.email {
    background-color: #ea4335;
}

/* Responsive */
@media (max-width: 991px) {
    .property-detail-title {
        font-size: 2rem;
    }
    
    .gallery-section .carousel-item img {
        height: 350px;
    }
    
    .sticky-sidebar {
        position: static;
    }
    
    .verification-timeline {
        padding-left: 1.5rem;
    }
}

@media (max-width: 767px) {
    .breadcrumb-section {
        padding-top: 80px;
    }
    
    .property-detail-title {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .gallery-section .carousel-item img {
        height: 250px;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    .spec-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .spec-value {
        text-align: left;
    }
    
    .total-amount {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}
