/* General Body and Font Styles */
body {
    font-family: 'Noto Sans HK', 'Noto Sans SC', sans-serif;
    margin: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .left-icon, .header .right-icons {
    display: flex;
    align-items: center;
}

.header .left-icon img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.header .title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.header .icon {
    width: 24px;
    height: 24px;
    margin-left: 15px;
    cursor: pointer;
}

/* Estate Hero Section */
.estate-hero {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #0B1F3A 0%, #203251 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: -40px;
    position: relative;
    overflow: hidden;
}

.estate-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

/* Section Titles */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

/* Overall Rating Section */
.overall-rating {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    background: #fff7ed;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #ffedd5;
}

.overall-rating .stars {
    color: #C25200;
    font-size: 20px;
    margin-right: 12px;
}

.overall-rating span:nth-child(2) {
    font-size: 24px;
    font-weight: 700;
    color: #C25200;
    margin-right: auto;
}

.discount-info {
    color: #C25200;
    font-weight: 600;
    font-size: 14px;
    background: #ffedd5;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Filters Section */
.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.filter-btn:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.filter-btn.active {
    background-color: #fff7ed;
    color: #C25200;
    border: 1px solid #fed7aa;
    box-shadow: none;
}

/* Review Card Styles */
.review-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A24A, #F28C28);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

.review-meta {
    flex-grow: 1;
}

.review-meta .user-name {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
    margin-bottom: 2px;
}

.review-meta .post-date {
    font-size: 13px;
    color: #9ca3af;
}

.review-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.review-ratings span {
    font-size: 13px;
    color: #4b5563;
    background: #f9fafb;
    padding: 4px 10px;
    border-radius: 6px;
}

.review-ratings .stars {
    color: #C25200;
    margin-left: 4px;
}

.review-tags {
    margin-top: 8px;
    margin-bottom: 12px;
}

.review-tag {
    display: inline-block;
    background-color: #fff7ed;
    color: #C25200;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #ffedd5;
}

.review-content {
    line-height: 1.6;
    margin-bottom: 16px;
    color: #374151;
    font-size: 15px;
}

.review-images {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.review-image {
    width: 80px;
    height: 80px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 5px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Review Replies Section */
.review-replies {
    margin-top: 16px;
    background-color: #f9fafb;
    padding: 12px 16px;
    border-radius: 12px;
    border-left: 4px solid #fed7aa;
}

.reply-item {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.reply-item .replier {
    font-weight: 600;
    color: #111827;
}

.view-more-replies {
    color: #C25200;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    display: inline-block;
    text-decoration: none;
}
.view-more-replies:hover {
    text-decoration: underline;
}

/* Floating Action Button */
.floating-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F28C28, #F28C28);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(217, 126, 36, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-button:hover {
    transform: translate(-50%, -2px);
    box-shadow: 0 10px 25px rgba(217, 126, 36, 0.4);
}
