/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --cream: #F5F0E8;
    --warm-white: #FDFAF5;
    --charcoal: #2C2C2C;
    --dark: #1A1A18;
    --gold: #B8935A;
    --gold-light: #D4AC78;
    --muted: #7A7468;
    --border: #E2DAD0;
    --section-bg: #F0EBE3;
    --fluid-ease: cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm-white);
    color: var(--charcoal);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

#scroll-progress {
    position: fixed;
    top: 0; left: 0; height: 3px;
    background: var(--gold);
    z-index: 2000;
    width: 0%;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 5%;
    background: rgba(253, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--fluid-ease);
}

nav.scrolled { height: 70px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px; font-weight: 600;
    text-decoration: none; color: var(--dark);
}
.nav-logo span { color: var(--gold); font-weight: 300; }

.nav-links {
    display: flex; list-style: none; gap: 30px;
    justify-content: center;
}

.nav-links a {
    text-decoration: none; color: var(--muted);
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 1.5px; font-weight: 500;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-right { display: flex; justify-content: flex-end; }
.nav-cta {
    border: 1px solid var(--gold); color: var(--gold);
    padding: 10px 20px; text-decoration: none;
    text-transform: uppercase; font-weight: 600; font-size: 10px;
    transition: 0.3s;
}
.nav-cta:hover { background: var(--gold); color: white; }

/* --- HERO --- */
.hero { height: 100vh; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img {
    position: absolute; inset: 0;
    background: url('banner.jpeg') center/cover no-repeat;
    z-index: -2; filter: brightness(0.7);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20,18,14,0.8) 0%, transparent 60%);
    z-index: -1;
}
.hero-content { padding: 0 5% 80px; max-width: 900px; color: white; }
.hero-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; color: var(--gold-light); }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 8vw, 88px); line-height: 1.05; margin-bottom: 25px; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 16px; margin-bottom: 40px; opacity: 0.8; max-width: 500px; }
.btn-primary, .btn-ghost { display: inline-block; padding: 16px 35px; text-decoration: none; text-transform: uppercase; font-size: 11px; font-weight: 600; transition: 0.3s; }
.btn-primary { background: var(--gold); color: white; margin-right: 15px; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.5); color: white; }

/* --- STATS --- */
.stats-strip { background: var(--dark); display: grid; grid-template-columns: repeat(4, 1fr); padding: 60px 5%; color: white; text-align: center; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 45px; color: var(--gold-light); }
.stat-label { font-size: 11px; text-transform: uppercase; opacity: 0.4; }

/* --- SECTIONS --- */
section { padding: 120px 5%; }
.section-eyebrow { color: var(--gold); text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 45px; margin-bottom: 25px; line-height: 1.15; }
.section-body { color: var(--muted); max-width: 600px; margin-bottom: 40px; }

/* --- ABOUT --- */
#about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; height: 520px; object-fit: cover; }
.about-image-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: var(--gold);
    color: white;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(184, 147, 90, 0.3);
    z-index: 2;
    line-height: 1.2;
}
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.feature-item { display: flex; gap: 15px; padding: 20px; background: var(--section-bg); }
.feature-text strong { display: block; font-size: 13px; color: var(--dark); }

/* --- AMENITIES --- */
#facilities { background: var(--section-bg); }
.facilities-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 300px; }
.gallery-item { position: relative; overflow: hidden; background: #e8e0d4; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.gallery-label { position: absolute; bottom: 15px; left: 15px; background: rgba(0,0,0,0.6); color: white; padding: 5px 12px; font-size: 10px; text-transform: uppercase; }

/* --- NOTICES --- */
#notices { background: #fff; }
.notices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.notice-card { padding: 40px; border: 1px solid var(--border); transition: 0.4s var(--fluid-ease); }
.notice-card.highlight { background: var(--section-bg); border-color: var(--gold-light); }
.notice-card:hover { transform: translateY(-10px); border-color: var(--gold); }
.notice-date { font-size: 11px; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; margin-bottom: 15px; }
.notice-heading { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin-bottom: 15px; }
.notice-card p { font-size: 14px; color: var(--muted); }

/* --- TRUSTEES --- */
.trustees-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 60px; }
.trustee-card {
    flex: 0 1 280px; padding: 50px 30px; background: #fff; border: 1px solid var(--border);
    transition: 0.6s var(--fluid-ease); text-align: center;
}
.trustee-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-color: var(--gold); }
.trustee-avatar { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 25px; overflow: hidden; border: 1px solid var(--border); padding: 5px; }
.trustee-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(100%); transition: 0.6s; }
.trustee-card:hover img { filter: grayscale(0%); }
.trustee-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--dark); }
.trustee-role { font-size: 11px; text-transform: uppercase; color: var(--muted); }

.contact-banner { margin-top: 60px; background: var(--dark); padding: 40px; display: flex; justify-content: space-between; align-items: center; color: white; }
.btn-gold { background: var(--gold); color: white; padding: 12px 28px; text-decoration: none; text-transform: uppercase; font-size: 11px; font-weight: 600; }

/* --- DOCUMENTS --- */
#documents { background: var(--section-bg); }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doc-card { display: flex; align-items: center; gap: 20px; padding: 30px; background: white; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: 0.3s; }
.doc-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.doc-icon { font-size: 24px; background: var(--section-bg); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.doc-title { font-weight: 600; color: var(--dark); }
.doc-meta { font-size: 12px; color: var(--muted); }
.doc-download { margin-left: auto; color: var(--gold); font-size: 11px; font-weight: 600; }

/* --- CONTACT --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.contact-item-icon { color: var(--gold); font-size: 20px; background: var(--section-bg); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.contact-item-text strong { display: block; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.contact-item-text p, .contact-item-text a { font-size: 15px; color: var(--dark); text-decoration: none; }

.map-embed { width: 100%; height: 400px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* --- REFINED FOOTER --- */
footer { background: var(--dark); color: white; padding: 80px 5% 40px; font-size: 14px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: white; text-decoration: none; display: block; margin-bottom: 15px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { color: rgba(255,255,255,0.5); max-width: 250px; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; color: var(--gold-light); letter-spacing: 2px; margin-bottom: 25px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: white; padding-left: 5px; }
.mgmt-name { font-weight: 600; color: white; margin-bottom: 5px; }
.footer-email { color: var(--gold-light); text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.3); font-size: 12px; }
.footer-legal a { color: rgba(255,255,255,0.3); text-decoration: none; }

/* --- REVEAL --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s var(--fluid-ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- MOBILE --- */
@media (max-width: 992px) {
    nav { grid-template-columns: 1fr 1fr; }
    .nav-links, .nav-right { display: none; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    #about, .contact-grid, .docs-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
}