/* CSS Document */

/* ---SMERC  Header & Property Info --- */
.header-container {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.property-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #333333;
    margin-bottom: 0.25rem;
}

.property-type {
    color: #5a8262;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.property-details {
    color: #717171;
    font-size: 0.9rem;
    margin: 0;
}

.price-section {
    font-size: 1.1rem;
    color: #333;
}

.price-range {
    font-weight: 700;
}

.price-unit {
    color: #717171;
    font-weight: 400;
}

.button-reserve {
    /* 
	Default bootsrap styling
	
	background-color: #5a8262;
    color: white;
    border: none;
    padding: 10px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
	transition: background-color 0.2s; */
	
	
	background-color: var(--e-global-color-f8d197c);
    fill: #FFFFFF;
    color: #FFFFFF;
    border-style: solid;
}

.btn-reserve:hover {
    background-color: #4a6b51;
    color: white;
}

.dot-separator::after {
    content: " • ";
    margin: 0 4px;
}

/* --- Image Gallery & Lightbox --- */
.img-container { position: relative; width: 100%; overflow: hidden; border-radius: 10px; cursor: pointer; transition: transform 0.2s ease; }
.img-container:hover { transform: scale(1.02); z-index: 2; }
.large-img-container { height: 100%; min-height: 620px; }
.small-img-container { height: 200px; }
.img-container img { width: 100%; height: 100%; object-fit: cover; display: block; }
.overlay-text { position: absolute; bottom: 10px; left: 10px; background-color: rgba(0, 0, 0, 0.7); color: white; padding: 5px 10px; border-radius: 5px; font-size: 14px; }
.more-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; color: white; font-size: 20px; font-weight: bold; }
.modal-img { width: 100%; height: 250px; object-fit: cover; border-radius: 5px; cursor: pointer; transition: opacity 0.2s; }
.modal-img:hover { opacity: 0.8; }
.lightbox { position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); display: none; justify-content: center; align-items: center; flex-direction: column; }
.lightbox.active { display: flex; }
.lightbox-content { position: relative; max-width: 90%; max-height: 85%; margin: auto; }
.lightbox-img { max-width: 100%; max-height: 85vh; border-radius: 5px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.close-lightbox { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 2001; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 50px; cursor: pointer; padding: 10px; z-index: 2001; background-color: rgba(0,0,0,0.1); border-radius: 5px; }
.nav-btn:hover { background-color: rgba(255,255,255,0.2); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- Property Navbar --- */
.property-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
}

.property-nav-list {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.property-nav .nav-link {
    color: #757575;
    font-weight: 400;
    font-size: 1rem;
    padding: 1rem 0.5rem;
    margin: 0 0.5rem;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}

.property-nav .nav-link:hover,
.property-nav .nav-link.active {
    color: #000000 !important;
    border-bottom: 2px solid #000000;
}

/* --- Reviews --- */
.review-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
    transition: transform 0.2s ease;
}

.review-sidebar {
    background-color: #fafbfc;
    border-right: 1px solid #edf2f7;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: black;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.review-content {
    padding: 40px;
}

.rating-badge {
    background: #fff9eb;
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ffeeba;
}

.review-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 15px 0 10px;
    color: var(--primary-dark);
}

.review-text {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

.owner-reply {
    margin-top: 25px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 12px;
    position: relative;
}

.owner-reply::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f8fafc;
}

.owner-tag {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.date-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- Responsive Helpers --- */
@media (max-width: 992px) {
    .property-nav-list {
        overflow-x: auto;
        justify-content: flex-start !important;
        white-space: nowrap;
        padding-left: 15px;
    }
    .property-nav-list::-webkit-scrollbar { display: none; }
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .right-section {
        width: 100%;
        justify-content: space-between !important;
    }
    .review-sidebar {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 20px;
        gap: 15px;
    }
    .avatar-circle { margin-bottom: 0; }
}