:root {
    --navy: #0b1c33;
    --navy-light: #142c4d;
    --gold: #b59478;
    --gold-light: #e3c97a;
    --cream: #f7f4ec;
    --text-muted: #6b7280;
    --danger: #c0392b;
    --success: #1e8f5f;
}
/* ─── Base Reset ─── */
@font-face {
    font-family: "somar";
    src: url('../home/fonts/alfont_com_SomarGX.ttf') format('opentype');
}
    
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'somar', sans-serif;
    background: var(--cream);
    color: var(--navy);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Public site header */
.site-header { background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { color: var(--gold-light); font-size: 24px; font-weight: 700; text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--gold-light); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--navy) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
}

.site-footer { background: var(--navy); color: #cbd5e1; padding: 24px 0;  text-align: center; }

/* Cards / listings */
.section { padding: 48px 0; }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 28px; color: var(--navy); }
.status-tabs { display: flex; gap: 12px; margin-bottom: 28px; }
.status-tabs a {
    padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600;
    border: 1px solid var(--gold); color: var(--navy);
}
.status-tabs a.active { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.project-card {
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(11,28,51,.08);
    text-decoration: none; color: inherit; display: block; transition: transform .2s;
}
.project-card:hover { transform: translateY(-4px); }
.project-card img { width: 100%; height: 180px; object-fit: cover; }
.project-card .card-body { padding: 16px; }
.project-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.project-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.badge {
    display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-top: 10px;
}
.badge-vacant { background: #e6f6ee; color: var(--success); }
.badge-reserved { background: #fff4e0; color: #b8860b; }
.badge-sold { background: #fdecea; color: var(--danger); }

/* Project detail */
.hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 12px; }
.feature-list li { background: #fff; padding: 12px 16px; border-radius: 8px; border-inline-start: 3px solid var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 10px; }
.gallery img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
.units-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.units-table th, .units-table td { padding: 10px 14px; text-align: right; border-bottom: 1px solid #eee; }

/* Auth forms */
.auth-wrapper { max-width: 420px; background: #fff; padding: 36px; border-radius: 12px; box-shadow: 0 6px 24px rgba(11,28,51,.1); }
.auth-wrapper h1 { font-size: 22px; margin-bottom: 24px; color: var(--navy); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }

/* Global field styling — applies everywhere, not just inside .form-group, since many
   Admin forms place bare inputs/selects directly in flex rows without that wrapper. */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="date"], input[type="number"], input[type="url"], input[type="search"],
input:not([type]), select, textarea {
    width: 100%; padding: 11px 14px; border: 1px solid #d8dee6; border-radius: 8px;
    font-family: inherit; font-size: 15px; background: #fff; color: var(--navy);
    transition: border-color .15s, box-shadow .15s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="password"]:focus, input[type="date"]:focus, input[type="number"]:focus,
input[type="url"]:focus, input[type="search"]:focus, input:not([type]):focus,
select:focus, textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.15);
}
input:disabled, select:disabled, textarea:disabled { background: #f1f3f6; color: #8992a3; cursor: not-allowed; }
input[type="file"] {
    width: 100%; padding: 10px 12px; border: 1px dashed #c7cedb; border-radius: 8px;
    background: #fafbfc; font-size: 14px; cursor: pointer;
}
input[type="file"]:hover { border-color: var(--gold); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--gold); }
textarea { resize: vertical; min-height: 90px; }
select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1c33' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left 12px center; background-size: 16px;
    padding-inline-start: 36px;
}
.btn-primary {
    background: var(--navy); color: #fff; border: none; padding: 12px 22px; border-radius: 8px;
    font-weight: 700; cursor: pointer; width: 100%; font-size: 15px;
}
.btn-primary:hover { background: var(--navy-light); }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-danger { background: #fdecea; color: var(--danger); }
.alert-success { background: #e6f6ee; color: var(--success); }
.field-error { color: var(--danger); font-size: 13px; margin-top: 4px; }

/* Owners Club / Admin shell */
.club-shell { display: flex; min-height: 100vh; }
.club-sidebar { width: 240px; background: var(--navy); color: #fff; padding: 28px 20px; flex-shrink: 0; }
.club-brand { color: var(--gold-light); font-weight: 700; font-size: 20px; margin-bottom: 32px; }
.club-nav { display: flex; flex-direction: column; gap: 6px; }
.club-nav a { color: #cbd5e1; text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.club-nav a:hover { background: var(--navy-light); color: #fff; }
.club-logout { margin-top: 24px; color: var(--gold-light) !important; }
.club-content { flex: 1; padding: 36px 40px; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(11,28,51,.06); }
.data-table th, .data-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid #eee; font-size: 14px; }
.data-table th { background: var(--navy); color: #fff; font-weight: 600; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.btn-sm, .btn-edit, .btn-delete, .btn-add, .btn-gold, .btn-primary {
    font-family: inherit; border: none; cursor: pointer; display: inline-block;
    text-align: center; text-decoration: none;
}
.btn-sm { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background: #eef1f5; color: var(--navy); }
.btn-edit { background: #eef2ff; color: #4338ca; }
.btn-delete { background: #fdecea; color: var(--danger); }
.btn-add { background: var(--gold); color: var(--navy); padding: 10px 18px; border-radius: 8px; font-weight: 700; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 18px; margin-bottom: 32px; }
.stat-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px rgba(11,28,51,.06); border-inline-start: 4px solid var(--gold); }
.stat-card .value { font-size: 28px; font-weight: 700; color: var(--navy); }
.stat-card .label { color: var(--text-muted); font-size: 13px; }

/* --- Additional polish pass --- */

.link-btn {
    background: none; border: none; padding: 0; margin: 0; cursor: pointer;
    font-family: inherit; font-size: inherit; color: inherit; font-weight: inherit;
    text-decoration: none;
}
.main-nav .link-btn { color: #fff; }
.main-nav .link-btn:hover { color: var(--gold-light); }

.site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.main-nav { flex-wrap: wrap; }

/* Hero section on the homepage */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1c3a63 100%);
    color: #fff;
    padding: 90px 0 70px;
    text-align: center;
}
.hero h1 {
    font-size: 42px; font-weight: 700; margin: 0 0 16px;
    color: #fff;
}
.hero .gold-accent { color: var(--gold-light); }
.hero p { font-size: 17px; color: #d4dae5; max-width: 620px; margin: 0 auto 32px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-actions a {
    padding: 13px 28px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 15px;
}
.hero-actions .primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.hero-actions .secondary { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.hero-actions .secondary:hover { background: rgba(255,255,255,.08); }

.status-preview-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin-top: 40px;
}
.status-preview-card {
    background: #fff; border-radius: 14px; padding: 28px 22px; text-decoration: none; color: inherit;
    box-shadow: 0 4px 18px rgba(11,28,51,.08); text-align: center; transition: transform .2s, box-shadow .2s;
    border-top: 4px solid var(--gold);
}
.status-preview-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(11,28,51,.14); }
.status-preview-card .icon { font-size: 30px; margin-bottom: 10px; }
.status-preview-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.status-preview-card p { margin: 0; color: var(--text-muted); font-size: 13px; }

/* Empty-state text */
.empty-state {
    background: #fff; border: 1px dashed #d8dee6; border-radius: 12px; padding: 32px;
    text-align: center; color: var(--text-muted);
}

/* Admin quick links */
.quick-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; margin-bottom: 32px; }
.quick-link {
    background: #fff; border: 1px solid #e3e8ef; padding: 12px 18px; border-radius: 8px;
    text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px;
    box-shadow: 0 2px 8px rgba(11,28,51,.04); transition: border-color .2s;
}
.quick-link:hover { border-color: var(--gold); }

/* Sidebar polish */
.club-sidebar a, .club-sidebar .link-btn { display: block; }
.club-brand { text-decoration: none; display: block; }

@media (max-width: 860px) {
    .club-shell { flex-direction: column; }
    .club-sidebar { width: 100%; }
    .club-content { padding: 24px 20px; }
    .hero h1 { font-size: 30px; }
}

/* ============ Round 2: client-facing pages, documents, policy articles, tickets ============ */

.page-header { margin-bottom: 28px; }
.page-subtitle { color: var(--text-muted); margin-top: -12px; font-size: 15px; }

/* Project cards: location/footer/static variants */
.card-location { font-size: 13px; color: var(--text-muted); margin: 4px 0; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.units-count { font-size: 12px; background: #f1f5f9; color: var(--navy); padding: 4px 10px; border-radius: 999px; }
.view-more { font-size: 13px; font-weight: 700; color: var(--gold); }
.project-card-static { cursor: default; }
.project-card-static:hover { transform: none; }
.brochure-btn { display: inline-block; margin-top: 14px; text-decoration: none; padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; }

/* Documents */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; }
.doc-card {
    background: #fff; border-radius: 12px; padding: 18px; display: flex; align-items: center; gap: 14px;
    box-shadow: 0 2px 10px rgba(11,28,51,.06);
}
.doc-icon { font-size: 28px; }
.doc-info { flex: 1; }
.doc-info h3 { margin: 0 0 4px; font-size: 15px; }
.doc-date { font-size: 12px; color: var(--text-muted); }
.doc-download { text-decoration: none; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; }

/* Policy article / accordion */
.policy-article { background: #fff; border-radius: 14px; padding: 24px; margin-bottom: 8px; box-shadow: 0 2px 12px rgba(11,28,51,.06); }
.policy-toolbar { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.policy-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.policy-tab {
    background: var(--cream); border: 1px solid #e3e8ef; padding: 10px 16px; border-radius: 999px;
    cursor: pointer; font-weight: 600; font-size: 14px; color: var(--navy); font-family: inherit;
}
.policy-tab:hover { border-color: var(--gold); }
.policy-section { border-top: 1px solid #eee; padding-top: 16px; margin-top: 16px; animation: fadeIn .25s ease; }
.policy-section h3 { margin-top: 0; color: var(--navy); }
.policy-content { line-height: 1.9; color: #334155; white-space: pre-line; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; transform: translateY(0);} }

/* Admin paragraph management */
.paragraph-list { display: flex; flex-direction: column; gap: 14px; }
.paragraph-item { border: 1px solid #eee; border-radius: 10px; padding: 14px; }
.paragraph-item textarea { width: 100%; margin-top: 6px; }
.paragraph-actions { margin-top: 8px; }

/* Ticket form + list */
.ticket-form-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 2px 12px rgba(11,28,51,.06); margin-top: 20px; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 200px; }
.ticket-list { display: flex; flex-direction: column; gap: 16px; }
.ticket-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px rgba(11,28,51,.06); }
.ticket-card-header { display: flex; justify-content: space-between; align-items: center; }
.ticket-card-header h3 { margin: 0; font-size: 16px; }
.ticket-meta { font-size: 12px; color: var(--text-muted); margin: 6px 0; }
.rating-form { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; background: #f8fafc; padding: 10px; border-radius: 8px; }
.rating-form select, .rating-form input { padding: 8px; border-radius: 6px; border: 1px solid #d8dee6; }

/* Internal admin notes */
.internal-notes { display: flex; flex-direction: column; gap: 10px; }
.note-item { background: #fff; border-radius: 8px; padding: 12px; border-inline-start: 3px solid var(--gold); }

/* Tile navigation (Owners Club dashboard) */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; margin-top: 16px; }
.tile-card {
    background: #fff; border-radius: 14px; padding: 26px 20px; text-decoration: none; color: inherit; text-align: center;
    box-shadow: 0 2px 12px rgba(11,28,51,.06); transition: transform .2s, box-shadow .2s; border-bottom: 3px solid var(--gold);
}
.tile-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(11,28,51,.12); }
.tile-icon { font-size: 32px; margin-bottom: 10px; }
.tile-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 16px; }
.tile-card p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* Admin project form */
.project-form { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.form-card { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 2px 10px rgba(11,28,51,.05); }
.form-card h3 { margin-top: 0; color: var(--navy); }

.table-scroll { overflow-x: auto; }

/* ============ Round 3: Owners Club top-nav (no sidebar), profile dropdown, no emojis ============ */

.brand-sub { font-size: 13px; color: var(--gold-light); font-weight: 400; opacity: .85; }

.club-main { min-height: 70vh; padding: 40px 0; }

.profile-menu { position: relative; display: flex; align-items: center; }
.profile-icon-btn {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff;
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s;
}
.profile-icon-btn:hover { background: rgba(255,255,255,.18); }
.profile-dropdown {
    position: absolute; top: 48px; left: 0; background: #fff; border-radius: 10px; min-width: 200px;
    box-shadow: 0 10px 30px rgba(11,28,51,.18); padding: 8px; display: none; flex-direction: column; z-index: 100;
}
.profile-dropdown.open { display: flex; }
.profile-dropdown a, .profile-dropdown .dropdown-logout {
    padding: 10px 14px; border-radius: 6px; text-decoration: none; color: var(--navy); font-size: 14px;
    font-weight: 500; text-align: right; width: 100%; background: none; border: none; cursor: pointer; font-family: inherit;
}
.profile-dropdown a:hover, .profile-dropdown .dropdown-logout:hover { background: var(--cream); }
.dropdown-logout { color: var(--danger) !important; }

/* Document icon (SVG replaces emoji) */
.doc-icon { color: var(--gold); flex-shrink: 0; }
.doc-icon svg { display: block; }

/* ============ Round 4: professional project detail page, Swiper gallery + lightbox ============ */

.project-hero-gallery { background: var(--navy); }
.project-swiper { width: 100%; height: 480px; }
.project-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; background: #000; }
.project-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.project-swiper .swiper-button-next, .project-swiper .swiper-button-prev { color: #fff; }
.project-swiper .swiper-pagination-bullet { background: #fff; opacity: .6; }
.project-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--gold); }

.project-detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; margin-top: 32px; }
.project-main-col h2 { margin-top: 36px; color: var(--navy); }
.project-body-text { line-height: 1.9; color: #334155; font-size: 15px; }

.project-side-col { position: sticky; top: 96px; }
.project-facts-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 4px 18px rgba(11,28,51,.08); border-top: 4px solid var(--gold); }
.project-facts-card h3 { margin-top: 0; }
.facts-list { margin: 0; }
.facts-list > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.facts-list dt { color: var(--text-muted); font-weight: 500; }
.facts-list dd { margin: 0; font-weight: 700; color: var(--navy); }
.facts-brochure-btn { display: block; text-align: center; text-decoration: none; padding: 12px; border-radius: 8px; font-weight: 700; margin-top: 18px; }

/* Lightbox */
.lightbox-modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000;
    align-items: center; justify-content: center;
}
.lightbox-modal.open { display: flex; }
.lightbox-swiper { width: 90%; height: 85%; }
.lightbox-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; }
.lightbox-swiper .swiper-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-swiper .swiper-button-next, .lightbox-swiper .swiper-button-prev { color: #fff; }
.lightbox-close {
    position: absolute; top: 20px; left: 28px; background: none; border: none; color: #fff;
    font-size: 36px; cursor: pointer; z-index: 1001; line-height: 1;
}

@media (max-width: 900px) {
    .project-detail-layout { grid-template-columns: 1fr; }
    .project-side-col { position: static; }
    .project-swiper { height: 300px; }
}

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-current { color: var(--navy); font-weight: 600; }

/* ============ Round 5: page banners, sticky footer, button polish, dashboard refinement ============ */

/* Sticky footer: keeps the footer pinned to the bottom on short pages instead of floating mid-screen. */
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main, body > .club-shell { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* Page banner: every h1.section-title becomes a soft navy/gold banner automatically,
   so every page gets a consistent, decorative header without editing each view. */
.section-title {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 26px 30px;
    border-radius: 14px;
    font-size: 23px;
    margin: 0 0 24px;
    box-shadow: 0 6px 20px rgba(11,28,51,.15);
}

/* When the title sits inside a banner-ish wrapper (.page-header, .toolbar), let the
   wrapper itself be the single banner instead of nesting two backgrounds. */
.page-header, .toolbar {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 24px 30px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(11,28,51,.15);
    margin-bottom: 28px;
}
.toolbar { display: flex; justify-content: space-between; align-items: center; }
.page-header .section-title, .toolbar .section-title {
    background: none; box-shadow: none; padding: 0; margin: 0 0 6px; color: #fff;
}
.page-header .page-subtitle { color: #cbd5e1; margin: 0; font-size: 14px; }
.toolbar h1.section-title { margin-bottom: 0; }

/* Button polish */
.btn-primary, .btn-add, .btn-gold, .btn-sm {
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary:hover, .btn-add:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,28,51,.18); }
.btn-sm:hover { opacity: .85; }
.btn-sm { display: inline-block; }
.btn-delete:hover { background: #fbdad6; }
.btn-edit:hover { background: #e0e7ff; }

/* Admin dashboard polish */
.stat-card { transition: transform .2s, box-shadow .2s; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,28,51,.12); }
.quick-link { display: inline-flex; align-items: center; gap: 8px; }
.quick-link:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11,28,51,.1); }

/* Toolbar's add button needs to read well against the navy banner background */
.toolbar .btn-add { box-shadow: 0 4px 12px rgba(0,0,0,.2); }

/* ============ Round 6: refined project cards, feature chips, overview tag, responsive polish ============ */

.project-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(11,28,51,.07);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(11,28,51,.14); }
.project-card img { height: 200px; transition: transform .4s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card .card-body { padding: 18px 20px 20px; }
.project-card h3 { font-size: 17px; }

.card-status-badge {
    position: absolute; top: 14px; inset-inline-end: 14px; background: rgba(11,28,51,.85);
    color: #fff; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
    backdrop-filter: blur(4px);
}
.card-status-badge.marketing { background: rgba(30,143,95,.9); }
.card-status-badge.construction { background: rgba(184,134,11,.9); }
.card-status-badge.sold { background: rgba(11,28,51,.85); }

/* Feature chips with real amenity icons (replaces the checkmark placeholder) */
.feature-list { grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.feature-list li {
    display: flex; align-items: center; gap: 12px; border-inline-start: none;
    box-shadow: 0 2px 10px rgba(11,28,51,.06); transition: transform .2s, box-shadow .2s;
}
.feature-list li:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,28,51,.1); }
.feature-icon {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.feature-icon svg { width: 20px; height: 20px; }

/* Overview tag above the detail page title */
.overview-tag {
    display: inline-block; background: var(--cream); border: 1px solid var(--gold);
    color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}

/* Responsive refinements */
@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 10px; }
    .main-nav { gap: 14px; font-size: 14px; }
    .card-grid { grid-template-columns: 1fr; }
    .status-tabs { flex-wrap: wrap; }
    .hero h1 { font-size: 26px; }
    .form-row { flex-direction: column; }
    .form-row .form-group { min-width: 0; }
    .toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* The project detail page already has a full Swiper hero image as its visual banner,
   so the title underneath stays a plain heading instead of doubling up on navy banners. */
.project-detail-title {
    background: none; box-shadow: none; color: var(--navy); padding: 0; margin: 0 0 6px; font-size: 30px;
}

/* ============ Round 7: robust image gallery, video embed, map embed ============ */

.project-hero-gallery { background: var(--navy); padding: 24px 0; }
.gallery-container { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
    width: 100%; height: 460px; border-radius: 14px; overflow: hidden; background: #000;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb {
    width: 96px; height: 68px; object-fit: cover; border-radius: 8px; cursor: pointer;
    opacity: .55; transition: opacity .2s, box-shadow .2s; flex-shrink: 0; border: 2px solid transparent;
}
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb.active { opacity: 1; border-color: var(--gold); }

.video-embed-wrapper { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.video-embed-wrapper iframe, .video-embed-wrapper video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

.map-embed-wrapper { width: 100%; height: 380px; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.map-embed-wrapper iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 640px) {
    .gallery-main { height: 260px; }
}

/* ============ Round 8: full-width sectioned project detail page (magazine-style) ============ */

.hero-gallery-wrap { background: var(--navy); }
.hero-gallery-main { position: relative; width: 100%; height: 520px; overflow: hidden; cursor: zoom-in; }
.hero-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-gallery-overlay {
    position: absolute; inset: 0; display: flex; align-items: flex-end;
    background: linear-gradient(180deg, rgba(11,28,51,0) 40%, rgba(11,28,51,.85) 100%);
    padding-bottom: 36px;
}
.breadcrumb-on-hero { color: #e2e6ec; margin-bottom: 14px; }
.breadcrumb-on-hero a { color: #cbd5e1; }
.breadcrumb-on-hero a:hover { color: var(--gold-light); }
.breadcrumb-on-hero .breadcrumb-current { color: #fff; }
.hero-gallery-title { color: #fff; font-size: 38px; font-weight: 700; margin: 0 0 8px; }
.hero-gallery-location { color: #d4dae5; font-size: 15px; margin: 0; }

.hero-gallery-wrap .gallery-thumbs { padding: 16px 0; }
.hero-gallery-wrap .gallery-thumb { border-color: rgba(255,255,255,.15); }

/* Full-width alternating bands */
.band { padding: 64px 0; }
.band-white { background: #fff; }
.band-cream { background: var(--cream); }
.band-centered { text-align: center; max-width: 860px; margin: 0 auto; }
.band-title { font-size: 28px; color: var(--navy); margin: 0 0 8px; font-weight: 700; }
.band-subtitle { color: var(--text-muted); margin: 0 0 32px; font-size: 14px; }
.project-overview-text { font-size: 16px; line-height: 2; color: #334155; }

/* Amenities grid (full-width band version) */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 18px; text-align: center; }
.amenity-card {
    background: #fff; border-radius: 14px; padding: 28px 16px; box-shadow: 0 4px 16px rgba(11,28,51,.06);
    display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 600; color: var(--navy);
    transition: transform .2s, box-shadow .2s;
}
.amenity-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(11,28,51,.12); }
.amenity-icon {
    width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy);
}
.amenity-icon svg { width: 24px; height: 24px; }

/* Showcase gallery grid with zoom badge */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; text-align: initial; }
.showcase-item { position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; height: 200px; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.showcase-item:hover img { transform: scale(1.06); }
.showcase-zoom {
    position: absolute; bottom: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(11,28,51,.75); color: #fff; display: flex; align-items: center; justify-content: center;
}
.showcase-zoom svg { width: 16px; height: 16px; }

.units-table-wrap { text-align: initial; }
.units-table { margin: 0 auto; }

.detail-cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.detail-cta-row .facts-brochure-btn { display: inline-block; padding: 13px 28px; }

@media (max-width: 640px) {
    .hero-gallery-main { height: 320px; }
    .hero-gallery-title { font-size: 26px; }
    .band { padding: 40px 0; }
}

/* ============ Round 9: Swiper hero, wide container, bold headline, section separation ============ */

.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* Swiper hero replaces the plain main-image block */
.hero-swiper { width: 100%; height: 560px; position: relative; }
.hero-swiper .swiper-slide { position: relative; }
.hero-swiper .swiper-slide img { width: 100%; height: 560px; object-fit: cover; cursor: zoom-in; display: block; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev {
    color: #fff; background: rgba(11,28,51,.4); width: 46px; height: 46px; border-radius: 50%; backdrop-filter: blur(3px);
}
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after { font-size: 18px; }

.hero-gallery-overlay { pointer-events: none; z-index: 5; }
.hero-gallery-overlay .container-wide { pointer-events: auto; }

/* Bold, striking headline */
.hero-gallery-title {
    color: #fff; font-size: 52px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.5px;
    text-shadow: 0 4px 24px rgba(0,0,0,.45); line-height: 1.15;
}
.hero-gallery-location { color: #e4e8ee; font-size: 17px; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* Section kicker — small label above every band title for clear visual rhythm */
.section-kicker {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .5px;
    color: var(--gold); text-transform: uppercase; margin-bottom: 12px; position: relative; padding-bottom: 10px;
}
.section-kicker::after {
    content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 46px; height: 3px; background: var(--gold); border-radius: 2px;
}
.section-kicker-light { color: var(--gold-light); }
.section-kicker-light::after { background: var(--gold-light); }

/* Stronger section separation: more vertical breathing room + shadow dividers */
.band { padding: 88px 0; position: relative; }
.band + .band { box-shadow: inset 0 1px 0 rgba(11,28,51,.05); }
.band-navy { background: var(--navy); }
.band-title-light { color: #fff; }

.btn-outline-light {
    border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent;
    padding: 13px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block;
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); }

/* Typography scale bump for a more premium feel */
.project-overview-text { font-size: 17px; }
.band-title { font-size: 32px; }
body { font-size: 16px; }
.card-location, .doc-date, .ticket-meta { font-size: 14px; }

@media (max-width: 900px) {
    .container-wide { padding: 0 20px; }
}
@media (max-width: 640px) {
    .hero-swiper, .hero-swiper .swiper-slide img { height: 320px; }
    .hero-gallery-title { font-size: 30px; }
    .band { padding: 52px 0; }
}


/* ===== Owners Club Info Page ===== */
.oc-hero {
    position: relative;
    padding: 160px 0 110px;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    overflow: hidden;
    text-align: center;
}

    .oc-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(181,148,120,0.25) 1.5px, transparent 1.5px);
        background-size: 26px 26px;
        opacity: 0.35;
        pointer-events: none;
    }

    .oc-hero::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        background: radial-gradient(circle, rgba(181,148,120,0.35), transparent 70%);
        top: -180px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 50%;
        filter: blur(10px);
    }

.oc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.oc-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-light);
    background: rgba(181,148,120,0.12);
    border: 1px solid rgba(181,148,120,0.4);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.oc-hero h1 {
    font-size: clamp(26px, 5vw, 46px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.5;
}

    .oc-hero h1 span {
        color: var(--gold-light);
    }

.oc-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
    line-height: 1.9;
    max-width: 580px;
    margin: 0 auto 36px;
}

.oc-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-oc-primary, .btn-oc-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-oc-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}

    .btn-oc-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(181,148,120,0.45);
        color: var(--navy-dark);
    }

.btn-oc-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

    .btn-oc-secondary:hover {
        background: rgba(255,255,255,0.16);
        color: var(--white);
    }

/* Stats strip */
.oc-stats {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 26px 10px;
}

.oc-stat {
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.14);
}

    .oc-stat:last-child {
        border-left: none;
    }

    .oc-stat strong {
        display: block;
        font-size: 26px;
        color: var(--gold-light);
        font-weight: 800;
    }

    .oc-stat span {
        display: block;
        font-size: 12.5px;
        color: rgba(255,255,255,0.65);
        margin-top: 4px;
    }

/* Section shell */
.oc-section {
    padding: 90px 0;
}

    .oc-section.alt {
        background: var(--bg-dark);
    }

.oc-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 54px;
}

.oc-tag {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-dark);
    background: rgba(181,148,120,0.12);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.oc-section-head h2 {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.oc-section-head p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.9;
}

/* Services grid */
.oc-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.oc-service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(35,58,91,0.06);
    position: relative;
    overflow: hidden;
}

    .oc-service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
        border-color: rgba(181,148,120,0.35);
    }

.oc-service-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.oc-service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.oc-service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.85;
}

.oc-service-card .oc-num {
    position: absolute;
    top: 18px;
    left: 22px;
    font-size: 34px;
    font-weight: 800;
    color: rgba(35,58,91,0.06);
}

/* How it works timeline */
.oc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

    .oc-steps::before {
        content: "";
        position: absolute;
        top: 30px;
        right: 12%;
        left: 12%;
        height: 2px;
        background: repeating-linear-gradient(to left, var(--gold-light) 0 8px, transparent 8px 16px);
        z-index: 0;
    }

.oc-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.oc-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-sm);
}

.oc-step h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.oc-step p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 0 8px;
}

/* Showcase split */
.oc-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.oc-showcase-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .oc-showcase-media img {
        width: 100%;
        display: block;
    }

.oc-showcase-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(20,32,53,0.85);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
}

    .oc-showcase-badge i {
        color: var(--gold-light);
        font-size: 20px;
    }

.oc-showcase-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}

    .oc-showcase-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px dashed rgba(35,58,91,0.12);
    }

        .oc-showcase-list li:last-child {
            border-bottom: none;
        }

    .oc-showcase-list i {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        border-radius: 10px;
        background: rgba(181,148,120,0.14);
        color: var(--gold-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    .oc-showcase-list strong {
        display: block;
        color: var(--navy-dark);
        font-size: 15px;
        margin-bottom: 3px;
    }

    .oc-showcase-list span {
        color: var(--text-muted);
        font-size: 13.5px;
        line-height: 1.7;
    }

/* FAQ */
.oc-faq {
    max-width: 760px;
    margin: 0 auto;
}

.oc-faq-item {
    background: var(--white);
    border: 1px solid rgba(35,58,91,0.08);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
}

.oc-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy-dark);
    font-size: 15.5px;
}

    .oc-faq-q i {
        color: var(--gold);
        transition: transform 0.3s ease;
    }

.oc-faq-item.open .oc-faq-q i {
    transform: rotate(45deg);
}

.oc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.9;
}

.oc-faq-item.open .oc-faq-a {
    max-height: 240px;
    padding: 0 24px 20px;
}

/* Final CTA */
.oc-cta {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    

    .oc-cta h2 {
        position: relative;
        z-index: 1;
        color: var(--white);
        font-size: clamp(22px,3vw,30px);
        font-weight: 800;
        margin-bottom: 14px;
    }

    .oc-cta p {
        position: relative;
        z-index: 1;
        color: rgba(255,255,255,0.72);
        margin-bottom: 30px;
        font-size: 15px;
    }

@media (max-width: 991px) {
    .oc-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .oc-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

        .oc-steps::before {
            display: none;
        }

    .oc-showcase {
        grid-template-columns: 1fr;
    }

    .oc-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }

    .oc-stat {
        border-left: none !important;
    }
}

@media (max-width: 575px) {
    .oc-services-grid {
        grid-template-columns: 1fr;
    }

    .oc-steps {
        grid-template-columns: 1fr;
    }

    .oc-hero {
        padding: 140px 0 80px;
    }

        