/* ============================================
   ABOUT PROPERTY MODAL STYLES
   ============================================ */

.about-property-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.about-property-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.about-property-modal-content {
    background: #f5f5f5;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.about-property-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    font-size: 24px;
    color: #666;
    padding: 5px 10px;
}

.about-property-modal-close:hover {
    color: #333;
}

.about-property-tabs {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    justify-content: space-around;
    margin: 0;
    background: #fff;
    padding-top: 20px;
    padding-left: 40px;
    padding-bottom: 0;
    gap: 40px;
    position: relative;
}

.about-property-tab {
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: -1px;
    outline: none;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
}

.about-property-tab:hover {
    color: #333;
}

.about-property-tab.active {
    color: #4285F4;
    font-weight: 600;
}

.about-property-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: #4285F4;
    border-radius: 2px 2px 0 0;
}

.about-property-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    line-height: 1.6;
}

.about-property-tab-content {
    display: none;
}

.about-property-tab-content.active {
    display: block;
}

.about-property-modal-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0px;
    margin-top: 0;
    line-height: 1.3;
}

/* Amenity Categories */
.amenity-category {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.amenity-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.amenity-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.amenity-category-header i {
    font-size: 22px;
    color: #333;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
}

.amenity-category-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: -0.3px;
}

.amenity-category-details {
    margin-left: 43px;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}

.amenity-category-details p {
    margin: 0 0 8px 0;
}

.amenity-category-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-category-details ul li {
    padding: 6px 0;
    position: relative;
    padding-left: 22px;
    line-height: 1.6;
}

.amenity-category-details ul li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

/* About Tab Content */
.property-about-content {
    color: #333;
    line-height: 1.8;
}

.property-about-content p {
    margin-bottom: 25px;
    font-size: 15px;
    color: #555;
}

.property-about-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 40px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.property-about-content h3:first-of-type {
    margin-top: 0;
}

.property-about-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.property-about-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.property-about-content ul li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

/* Custom Scrollbar */
.about-property-modal-body::-webkit-scrollbar {
    width: 8px;
}

.about-property-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.about-property-modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.about-property-modal-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Responsive */
@media (max-width: 992px) {
    .about-property-modal.active {
        padding: 0;
        align-items: center;
    }
    
    .about-property-modal-content {
        width: 90%;
        max-width: 90%;
        max-height: 90vh;
        border-radius: 10px;
        margin-top: 0;
    }
    
    .about-property-modal-close {
        top: 10px;
        left: 10px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .about-property-tabs {
        padding-top: 20px;
        padding-left: 20px;
        gap: 30px;
    }
    
    .about-property-modal-close {
        top: 15px;
        right: 15px;
        font-size: 20px;
    }
    
    .about-property-tab {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .about-property-modal-body {
        padding: 20px;
    }
    
    .about-property-modal-body h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .amenity-category {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .amenity-category-header {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .amenity-category-header i {
        font-size: 18px;
        width: 22px;
    }
    
    .amenity-category-header h3 {
        font-size: 15px;
    }
    
    .amenity-category-details {
        margin-left: 34px;
        font-size: 13px;
    }
    
    .property-about-content p,
    .property-about-content ul li {
        font-size: 13px;
    }
    
    .property-about-content h3 {
        font-size: 17px;
        margin-top: 25px;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .about-property-modal.active {
        padding: 0;
        align-items: center;
    }
    
    .about-property-modal-content {
        width: 90%;
        max-width: 90%;
        max-height: 90vh;
        border-radius: 10px;
        margin-top: 0;
    }
    
    .about-property-modal-close {
        top: 10px;
        left: 10px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .about-property-tabs {
        padding-top: 15px;
        padding-left: 15px;
        gap: 20px;
        padding-bottom: 0;
    }
    
    .about-property-tab {
        padding: 12px 0;
        font-size: 13px;
    }
    
    .about-property-modal-close {
        top: 10px;
        right: 10px;
        font-size: 18px;
    }
    
    .about-property-modal-body {
        padding: 5px 7px;
    }
    
    .about-property-modal-body h2 {
        font-size: 20px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .amenity-category {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .amenity-category-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .amenity-category-header i {
        font-size: 16px;
        width: 20px;
    }
    
    .amenity-category-header h3 {
        font-size: 14px;
    }
    
    .amenity-category-details {
        margin-left: 30px;
        font-size: 12px;
    }
    
    .amenity-category-details p {
        margin-bottom: 6px;
    }
    
    .amenity-category-details ul li {
        padding: 4px 0;
        padding-left: 18px;
        font-size: 12px;
    }
    
    .property-about-content {
        padding: 0 10px;
    }
    
    .property-about-content p {
        font-size: 12px;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .property-about-content ul li {
        font-size: 12px;
        padding: 6px 0;
        padding-left: 20px;
        line-height: 1.6;
    }
    
    .property-about-content h3 {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
}
