/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #1a3a5c; }
a:hover { color: #0e2438; }

h1, h2, h3 { line-height: 1.25; margin-top: 0; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

p { margin-top: 0; }
ul, ol { padding-left: 1.5rem; }

/* ── Utilities ───────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 0; }
.section--alt { background: #f7f5f2; }
.muted { color: #666; }
.lead { font-size: 1.125rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: #1a3a5c;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid #1a3a5c;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.btn:hover { background: #0e2438; border-color: #0e2438; color: #fff; }
.btn--hero { font-size: 1.1rem; padding: 0.85rem 2rem; }
.btn--card { margin-top: auto; }
.btn--enquire { background: #b05e3a; border-color: #b05e3a; }
.btn--enquire:hover { background: #8f4a2c; border-color: #8f4a2c; }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ── Header / Nav ────────────────────────────────────────────────── */
.site-header {
    background: #1a3a5c;
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}
.main-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #fff; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 640px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1a3a5c;
        padding: 1rem 1.25rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    .main-nav.nav--open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0.75rem; }
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}
.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 1rem;
}
.hero__sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ── Trust Strip ─────────────────────────────────────────────────── */
.trust-strip { background: #f7f5f2; padding: 3rem 0; }
.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.trust-card { text-align: center; }
.trust-card__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.trust-card h3 { margin-bottom: 0.5rem; }
.trust-card p { color: #555; font-size: 0.95rem; }

@media (max-width: 640px) {
    .trust-strip__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Room Cards ──────────────────────────────────────────────────── */
.room-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 900px) { .room-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .room-cards { grid-template-columns: 1fr; } }

.room-card {
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s;
}
.room-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.room-card--reserved { opacity: 0.8; }

.room-card__photo-link { display: block; }
.room-card__photo {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.room-card__photo--placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #d0d8e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.875rem;
    font-weight: 500;
}
.room-card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.room-card__property { color: #666; font-size: 0.85rem; margin-bottom: 0.25rem; }
.room-card__ref { font-size: 1.125rem; margin-bottom: 0.5rem; }
.room-card__rent { font-size: 1.25rem; font-weight: 700; color: #1a3a5c; }
.room-card__rent span { font-size: 0.875rem; font-weight: 400; color: #555; }
.room-card__detail { font-size: 0.875rem; color: #4a7c4e; font-weight: 600; }
.room-card__avail { font-size: 0.875rem; color: #555; }
.see-all { text-align: center; font-size: 1rem; }

/* ── Status Badge ────────────────────────────────────────────────── */
.status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
}
.status-badge--reserved { background: #f3e8d0; color: #8a5a00; }

/* ── Portfolio Grid ──────────────────────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.portfolio-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 1.25rem;
}
.portfolio-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.portfolio-card p { color: #555; font-size: 0.9rem; margin: 0; }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ── About Snippet ───────────────────────────────────────────────── */
.about-snippet__inner { max-width: 680px; }

/* ── Page Banner ─────────────────────────────────────────────────── */
.page-banner {
    background: #1a3a5c;
    color: #fff;
    padding: 2.5rem 0;
}
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; }
.page-banner p { color: rgba(255,255,255,0.8); margin: 0; }

/* ── Filter Form ─────────────────────────────────────────────────── */
.filter-form {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.filter-form select, .filter-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    background: #fff;
}

/* ── Empty Panel ─────────────────────────────────────────────────── */
.empty-panel {
    padding: 2rem;
    background: #f7f5f2;
    border: 1px solid #e0e0e0;
    text-align: center;
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.breadcrumb {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: #1a3a5c; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Photo Gallery ───────────────────────────────────────────────── */
.gallery { margin-bottom: 2rem; }
.gallery__main img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}
.gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.gallery__thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: opacity 0.15s, border-color 0.15s;
}
.gallery__thumb:hover,
.gallery__thumb--active { opacity: 1; border-color: #1a3a5c; }
.gallery__placeholder {
    width: 100%;
    height: 300px;
    background: #d0d8e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ── Room Detail ─────────────────────────────────────────────────── */
.room-detail__header { margin-bottom: 1.5rem; }
.room-detail__header h1 { margin-bottom: 0.5rem; }
.room-detail__rent { font-size: 1.5rem; font-weight: 700; color: #1a3a5c; margin: 0.5rem 0; }
.room-detail__avail { color: #555; }
.room-detail__table { border-collapse: collapse; margin-bottom: 1.5rem; width: 100%; max-width: 500px; }
.room-detail__table th,
.room-detail__table td { padding: 0.5rem 0.75rem; border: 1px solid #e0e0e0; text-align: left; }
.room-detail__table th { background: #f7f5f2; font-weight: 600; white-space: nowrap; }
.room-detail__section { margin-bottom: 1.5rem; }
.room-detail__section h2 { font-size: 1.125rem; border-bottom: 1px solid #e0e0e0; padding-bottom: 0.25rem; margin-bottom: 0.75rem; }

.amenities-list { columns: 2; gap: 1rem; }
@media (max-width: 500px) { .amenities-list { columns: 1; } }

/* ── Enquiry Form ────────────────────────────────────────────────── */
.enquiry-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #e0e0e0; }
.enquiry-section h2 { margin-bottom: 1.25rem; }
.enquiry-form .field { margin-bottom: 1.25rem; }
.enquiry-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}
.field-optional { font-weight: 400; color: #666; }
.enquiry-form input[type=text],
.enquiry-form input[type=email],
.enquiry-form input[type=tel],
.enquiry-form input[type=date],
.enquiry-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 0 2px rgba(26,58,92,0.15);
}
.field--error input,
.field--error textarea { border-color: #c00; }
.field-error { color: #c00; font-size: 0.875rem; display: block; margin-top: 0.25rem; }
.form-error-banner {
    background: #fff0f0;
    border: 1px solid #c00;
    color: #c00;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.form-error-banner p, .form-error-banner ul { margin: 0; }
.form-error-banner ul { padding-left: 1.25rem; }

.reserved-notice {
    background: #f3e8d0;
    border: 1px solid #c9a84c;
    padding: 1.5rem;
}
.reserved-notice h2 { font-size: 1.125rem; margin-bottom: 0.5rem; }

.back-link { margin-top: 2rem; }

/* ── Mobile sticky enquire CTA ───────────────────────────────────── */
.mobile-enquire-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 0.75rem 1.25rem;
    z-index: 50;
    text-align: center;
}
.mobile-enquire-sticky .btn { width: 100%; display: block; }
@media (max-width: 640px) { .mobile-enquire-sticky { display: block; } }

/* ── Thank You ───────────────────────────────────────────────────── */
.thankyou {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
}
.thankyou__icon { font-size: 3rem; margin-bottom: 1rem; }
.thankyou h1 { margin-bottom: 1rem; }

/* ── About Page ──────────────────────────────────────────────────── */
.about-sections { max-width: 800px; }
.about-block { margin-bottom: 2.5rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 0.35rem 0 0.35rem 1.75rem; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: #4a7c4e; font-weight: 700; }
.steps-list li { padding: 0.35rem 0; }
.steps-list li::marker { color: #1a3a5c; font-weight: 700; }

/* ── Contact Page ────────────────────────────────────────────────── */
.contact-layout { max-width: 640px; }
.contact-info { margin-top: 2rem; }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    margin-top: 4rem;
}
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin: 0; }
.site-footer__links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__copy { font-size: 0.8rem; margin: 0; }

/* ── Homige Premium Visual Pass 01 ──────────────────────────────── */

:root {
    --homige-navy: #102a43;
    --homige-blue: #1f4f78;
    --homige-gold: #c89b5b;
    --homige-cream: #f7f4ef;
    --homige-ink: #17212b;
    --homige-muted: #68727d;
    --homige-border: #e5e1da;
    --homige-shadow: 0 18px 45px rgba(16, 42, 67, 0.12);
}

body {
    color: var(--homige-ink);
    background: #fcfbf9;
}

.container {
    max-width: 1220px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0;
}

h1, h2, h3 {
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.site-header {
    background: rgba(16, 42, 67, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.site-header__inner {
    height: 76px;
}

.site-logo {
    font-size: 1.75rem;
    letter-spacing: -0.04em;
}

.main-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 7rem 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(200, 155, 91, 0.22), transparent 34%),
        linear-gradient(135deg, #102a43 0%, #1f4f78 58%, #2f6c97 100%);
}

.hero h1 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

.hero__sub {
    max-width: 720px;
    font-size: 1.25rem;
    line-height: 1.75;
    margin-bottom: 2.25rem;
}

.btn {
    border-radius: 999px;
    padding: 0.8rem 1.6rem;
    background: var(--homige-navy);
    border-color: var(--homige-navy);
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--homige-blue);
    border-color: var(--homige-blue);
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.24);
}

.btn--hero {
    background: var(--homige-gold);
    border-color: var(--homige-gold);
    color: #17212b;
    font-size: 1rem;
    padding: 1rem 2rem;
}

.btn--hero:hover {
    background: #d8ad72;
    border-color: #d8ad72;
    color: #17212b;
}

.section--alt,
.trust-strip {
    background: var(--homige-cream);
}

.trust-strip {
    padding: 4rem 0;
}

.trust-card {
    padding: 1.5rem;
}

.trust-card__icon {
    font-size: 2.4rem;
}

.room-cards {
    gap: 2rem;
    margin-top: 2rem;
}

.room-card {
    overflow: hidden;
    border: 1px solid var(--homige-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 42, 67, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--homige-shadow);
}

.room-card__photo {
    aspect-ratio: 4 / 3;
}

.room-card__body {
    padding: 1.5rem;
}

.room-card__property {
    color: var(--homige-blue);
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.room-card__ref {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.room-card__rent {
    font-size: 1.6rem;
    color: var(--homige-navy);
    margin-bottom: 0.75rem;
}

.room-card__detail,
.room-card__avail {
    margin-bottom: 0.55rem;
}

.portfolio-grid {
    gap: 2rem;
}

.portfolio-card {
    border: 1px solid var(--homige-border);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 28px rgba(16, 42, 67, 0.06);
}

.page-banner {
    padding: 4rem 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(200, 155, 91, 0.2), transparent 30%),
        linear-gradient(135deg, var(--homige-navy), var(--homige-blue));
}

@media (max-width: 640px) {
    .site-header__inner {
        height: 66px;
    }

    .hero {
        min-height: 430px;
        padding: 5rem 0;
    }

    .section {
        padding: 3.5rem 0;
    }

    .room-card {
        border-radius: 14px;
    }
}

