/* Global Reset and Typography */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@300;400;500;700&family=Noto+Serif+HK:wght@300;400;500;700&display=swap');

:root {
    --color-earth-1: #5b675f;
    --color-earth-2: #ac9670;
    --color-earth-3: #d6af8a;
    --color-earth-4: #b17e6a;
    --color-earth-5: #614634;
    --font-base: 'Noto Sans HK', sans-serif;
    --font-heading: 'Noto Serif HK', serif;
}

body {
    font-family: var(--font-base);
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    background-color: #fcfcfc; /* Soft white background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300; /* Light */
    color: var(--color-earth-5);
    margin-bottom: 20px;
}

h1 { font-size: 60px; }
h2 { font-size: 48px; }
h3 { font-size: 36px; }
h4 { font-size: 28px; }
h5 { font-size: 24px; }
h6 { font-size: 22px; }

/* Navigation */
.navbar-default {
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-earth-1) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav > li > a {
    font-family: var(--font-base);
    font-size: 16px;
    color: var(--color-earth-5) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > .active > a {
    color: var(--color-earth-2) !important;
    background-color: transparent !important;
}

/* Donate Button Hover */
.navbar-nav > li > a.btn-primary:hover {
    background-color: var(--color-earth-5) !important;
    color: #fff !important;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-bg-light {
    background-color: #f9f9f9;
}

.section-bg-color {
    background-color: rgba(91, 103, 95, 0.05); /* Light tint of earth-1 */
}

/* Buttons */
.btn-primary {
    background-color: var(--color-earth-2);
    border-color: var(--color-earth-2);
    font-family: var(--font-base);
    font-weight: 500;
    border-radius: 25px; /* Rounded for soft feel */
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-earth-4);
    border-color: var(--color-earth-4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: var(--color-earth-1);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: var(--color-earth-3);
}

/* Specific Content Styles */
#about p {
    font-size: 20px;
    margin-bottom: 20px;
}

#about .row:nth-child(2) {
    display: flex;
    align-items: center;
}

.hero-section {
    background: url('../images/home_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    text-align: center;
}

@media (min-width: 1200px) {
    .hero-section {
        height: 650px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px; /* Soft corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Soft shadow */
    margin-bottom: 30px;
    border-top: 5px solid var(--color-earth-3);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.img-responsive {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Donation Form */
.donation-form label {
    font-weight: 500;
    color: var(--color-earth-5);
}

.donation-form .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    height: 45px; /* Taller inputs */
}

.donation-form .checkbox label {
    font-weight: 400;
}

/* Milestones Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}
/* Basic timeline styling if image is not enough */
.timeline-item {
    padding: 20px;
    border-left: 2px solid var(--color-earth-2);
    margin-left: 20px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: var(--color-earth-4);
    border-radius: 50%;
}

/* Utility Colors */
.text-earth-1 { color: var(--color-earth-1); }
.text-earth-2 { color: var(--color-earth-2); }
.text-earth-3 { color: var(--color-earth-3); }
.text-earth-4 { color: var(--color-earth-4); }
.text-earth-5 { color: var(--color-earth-5); }

/* News Page Header Card */
.news-intro-card {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    margin: 0 100px;
}

.news-intro-card h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.news-intro-card p {
    font-size: 14px;
}

@media (min-width: 992px) {
    .news-intro-card {
        margin: 0 300px;
    }
    .news-intro-card h1 {
        font-size: 60px;
        margin-bottom: 20px;
    }
    .news-intro-card p {
        font-size: 21px; /* Default lead size is typically larger on desktop */
    }
}

/* Intro page info cards */
.info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}
.info-card {
    flex: 1 1 100%;
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-earth-5);
    background: transparent;
    border: none;
    border-right: 8px solid var(--color-earth-3);
    padding: 30px;
    border-radius: 20px;
    box-shadow: none;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-ideograph;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: #fff; /* Optional: adding white background makes it pop more against grey section */
}
.info-card .xl {
    font-size: 32px;
    font-weight: 500;
    color: var(--color-earth-5);
    display: inline-block;
    border-radius: 20px;
}
.flex-break {
    flex-basis: 100%;
    height: 0;
}
@media (min-width: 992px) {
    .info-card.w1 { flex: 0 0 36%; }
    .info-card.w2 { flex: 0 0 24%; }
    .info-card.w3 { flex: 0 0 30%; }
    .flex-break { display: block; }
    .info-card.w4 { flex: 0 0 calc(44% - 80px); margin-left: auto; }
    .info-card.w5 { flex: 0 0 calc(44% - 100px); margin-right: auto; }
    .floor-col-spacing { padding-left: 40px; }
}

/* Floor Info Section */
.floor-info-container {
    margin-top: 60px;
    text-align: left;
    max-width: 100%;
}

.floor-heading-main {
    text-align: center;
    border-bottom: 2px solid var(--color-earth-3);
    padding-bottom: 20px;
    margin-bottom: 40px;
    color: var(--color-earth-5);
    font-size: 24px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .floor-heading-main {
        font-size: 28px;
    }
}

.floor-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 15px;
    border: 2px solid;
    font-weight: 500;
    margin-right: 15px;
    margin-bottom: 15px;
    min-width: 80px;
    text-align: center;
    background-color: transparent;
    font-size: 16px;
}

.badge-bf {
    border-color: #94472D;
    color: #94472D;
    background-color: rgba(148, 71, 45, 0.15);
}

.badge-gf {
    border-color: #BA7B66;
    color: #BA7B66;
    background-color: rgba(186, 123, 102, 0.15);
}

.badge-1f {
    border-color: #eebb88; /* More Orange/Gold */
    color: #eebb88;
    background-color: rgba(238, 187, 136, 0.1);
}

.badge-7f {
    border-color: #5b675f; /* Earth 1ish */
    color: #5b675f;
    background-color: rgba(91, 103, 95, 0.1);
}

.arrow-icon {
    font-size: 20px;
    color: #999;
    margin-right: 15px;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 15px;
}

.floor-col-title {
    color: #b17e6a; /* Earth 4ish - Matches image brownish title */
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 500;
    margin-top: 10px;
}

.floor-col-desc {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
}

.floor-rooms-title {
    color: #d6af8a; /* Earth 3ish */
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 500;
    margin-top: 40px;
}

.floor-rooms-desc {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

.text-highlight-green {
    color: #5b675f; /* Earth 1ish */
    font-weight: 600;
    font-size: 24px;
}
