/* 全域重設 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #111111;
}

/* 導覽列 (跟隨範本：大留白、乾淨) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    background-color: #ffffff;
}

header .logo {
    font-size: 24px;
    font-weight: 800;
    color: #00ba63; /* 品牌清新綠 */
    letter-spacing: -0.5px;
}

header nav a.btn-submit {
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

header nav a.btn-submit:hover {
    background-color: #333333;
}

/* Hero Section (大幅優化：套用清新綠色漸層底，不依賴圖片也能看) */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    /* 模仿範本的清新綠色漸層背景 */
    background: radial-gradient(circle at 80% 20%, #e3f9ed 0%, #ffffff 60%);
    display: flex;
    align-items: center;
    padding: 0 5%;
}

/* 假如上傳了實景辦公室圖，會疊加在漸層之上，並帶有優雅的淡出效果 */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* 輕微顯現辦公室實景，不干擾文字 */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #111111;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

/* 最新樓盤區塊 */
.latest-properties {
    padding: 80px 5%;
}

.latest-properties h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* 樓盤網格網格排版 */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* 樓盤卡片 (跟隨範本：圓角、極簡陰影) */
.property-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
    transform: translateY(-4px);
}

.property-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f7f7f7;
    position: relative;
}

.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info {
    padding: 20px 10px;
}

.property-info .tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f0fdf4;
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 10px;
}

.property-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.property-info h3 a {
    color: #111111;
    text-decoration: none;
}

.property-info .meta {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
}

.property-info .price {
    font-size: 20px;
    font-weight: 800;
    color: #00ba63;
}

/* 狀態提示：空資料庫時顯示 */
.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #999999;
    font-size: 16px;
    border: 2px dashed #eeeeee;
    border-radius: 12px;
}