/* ============================================================
   Community Club — heritage-luxury design system
   (charcoal + gold + cream; serif elegance)
   ============================================================ */
:root {
    --cc-primary: #201f1b;        /* charcoal */
    --cc-primary-dark: #141310;   /* deep charcoal (footer/topbar) */
    --cc-primary-2: #2c2a24;
    --cc-primary-soft: rgba(184, 150, 62, .12); /* gold tint */
    --cc-accent: #b8963e;         /* heritage gold */
    --cc-accent-2: #d6b45c;       /* light gold */
    --cc-ink: #23211c;
    --cc-body: #5c574c;
    --cc-sand: #f6f1e8;           /* cream section bg */
    --cc-cream: #fbf8f2;
    --cc-line: #e7dfd1;
    --cc-radius: 16px;
    --cc-radius-sm: 10px;
    --cc-shadow-sm: 0 2px 12px rgba(30, 24, 12, .06);
    --cc-shadow: 0 14px 34px rgba(30, 24, 12, .10);
    --cc-shadow-lg: 0 26px 60px rgba(30, 24, 12, .16);
    --cc-font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --cc-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--cc-font); color: var(--cc-body); background: #fff; }
h1, h2, h3, h4, h5, h6 { color: var(--cc-ink); }
a { text-decoration: none; }
.font-serif { font-family: var(--cc-serif); }
.bg-sand { background: var(--cc-sand); }
.text-cc { color: var(--cc-accent) !important; }
.text-gold { color: var(--cc-accent) !important; }

/* ---------- Buttons (uppercase, letter-spaced — heritage feel) ---------- */
.btn-cc, .btn-outline-cc, .btn-gold { text-transform: uppercase; letter-spacing: .07em; font-size: .82rem; font-weight: 600; border-radius: 2px; }
.btn-cc { background: var(--cc-primary); border: 1px solid var(--cc-primary); color: #fff; padding: .62rem 1.5rem; transition: all .2s ease; }
.btn-cc:hover { background: var(--cc-accent); border-color: var(--cc-accent); color: #201f1b; transform: translateY(-2px); box-shadow: var(--cc-shadow); }
.btn-outline-cc { border: 1px solid var(--cc-primary); color: var(--cc-primary); background: transparent; padding: .58rem 1.35rem; transition: all .2s ease; }
.btn-outline-cc:hover { background: var(--cc-primary); color: #fff; }
.btn-gold { background: var(--cc-accent); border: 1px solid var(--cc-accent); color: #201f1b; padding: .66rem 1.7rem; transition: all .2s ease; }
.btn-gold:hover { background: var(--cc-accent-2); border-color: var(--cc-accent-2); color: #201f1b; transform: translateY(-2px); box-shadow: var(--cc-shadow); }

/* ---------- Top contact bar ---------- */
.cc-topbar { background: var(--cc-primary-dark); color: rgba(255, 255, 255, .68); font-size: .82rem; padding: .45rem 0; }
.cc-topbar a { color: rgba(255, 255, 255, .68); transition: color .2s; }
.cc-topbar a:hover { color: var(--cc-accent-2); }
.cc-topbar .tb-social a { display: inline-block; }

/* ---------- Navbar ---------- */
.cc-navbar { background: var(--cc-primary); box-shadow: var(--cc-shadow-sm); }
.cc-navbar-front { position: sticky; top: 0; z-index: 1030; }
.cc-navbar .navbar-brand { font-family: var(--cc-serif); font-weight: 700; letter-spacing: .5px; color: #fff !important; font-size: 1.4rem; }
.cc-navbar .navbar-brand .brand-accent { color: var(--cc-accent-2); }
.cc-navbar .nav-link { color: rgba(255, 255, 255, .85) !important; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.cc-navbar .nav-link:hover { color: var(--cc-accent-2) !important; }
.cc-navbar .btn-link { text-decoration: none; }

/* ---------- Section framing ---------- */
.section { padding: 5rem 0; }
.section-eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: .76rem; font-weight: 700; color: var(--cc-accent); margin-bottom: .5rem; }
.section-title { font-family: var(--cc-serif); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--cc-ink); letter-spacing: .005em; }
.section-sub { color: var(--cc-body); max-width: 620px; }
.rule-gold { display: inline-block; width: 90px; height: 2px; background: var(--cc-accent); }

/* ---------- Hero ---------- */
.cc-hero { position: relative; min-height: 86vh; display: flex; align-items: center; color: #fff; background-size: cover; background-position: center; }
.cc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 13, 9, .5), rgba(15, 13, 9, .8)); }
.cc-hero > .container { position: relative; z-index: 2; }
.hero-eyebrow { letter-spacing: .34em; text-transform: uppercase; font-size: .82rem; font-weight: 600; color: var(--cc-accent-2); }
.hero-title { font-family: var(--cc-serif); font-weight: 800; color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.03; text-shadow: 0 3px 40px rgba(0, 0, 0, .55); }
.hero-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 640px; }
.hero-stars { color: var(--cc-accent-2); }
.hero-rating { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; }

/* ---------- Search card ---------- */
.cc-search-card { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm); box-shadow: var(--cc-shadow-lg); padding: 1.6rem; margin-top: -3.75rem; position: relative; z-index: 5; border-top: 3px solid var(--cc-accent); }
.cc-search-card .form-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--cc-body); }
.cc-search-card .form-control, .cc-search-card .form-select { border-radius: 6px; border-color: var(--cc-line); padding: .6rem .85rem; }
.cc-search-card .form-control:focus, .cc-search-card .form-select:focus { border-color: var(--cc-accent); box-shadow: 0 0 0 .2rem rgba(184, 150, 62, .15); }

/* ---------- Highlights ---------- */
.highlight { padding: 1rem; }
.hl-icon { width: 70px; height: 70px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--cc-primary-soft); color: var(--cc-accent); font-size: 1.5rem; margin-bottom: .9rem; transition: all .2s ease; }
.highlight:hover .hl-icon { background: var(--cc-accent); color: #fff; transform: translateY(-3px); }
.highlight h3 { font-family: var(--cc-serif); font-size: 1.1rem; font-weight: 700; }

/* ---------- Facilities / amenities ---------- */
.facility-tile { background: var(--cc-cream); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm); padding: 1.2rem .75rem; text-align: center; height: 100%; transition: all .2s ease; }
.facility-tile:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow); border-color: var(--cc-accent); }
.facility-tile i { font-size: 1.6rem; color: var(--cc-accent); }
.facility-tile .ft-name { font-size: .86rem; font-weight: 600; color: var(--cc-ink); margin-top: .55rem; }
.amenity-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--cc-primary-soft); color: #8a6d1f; border-radius: 999px; padding: .32rem .8rem; font-size: .82rem; margin: .18rem; font-weight: 600; }

/* ---------- Cards / rooms ---------- */
.room-card, .hotel-card { border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm); overflow: hidden; background: #fff; box-shadow: var(--cc-shadow-sm); transition: all .25s ease; height: 100%; }
.room-card:hover, .hotel-card:hover { transform: translateY(-6px); box-shadow: var(--cc-shadow-lg); }
.room-media { position: relative; overflow: hidden; height: 230px; background: #e9ecef; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.room-card:hover .room-media img, .hotel-card:hover .room-media img { transform: scale(1.08); }
.room-price-badge { position: absolute; left: 0; bottom: .9rem; background: var(--cc-accent); color: #201f1b; font-weight: 700; padding: .35rem .9rem; box-shadow: var(--cc-shadow-sm); }
.room-price-badge small { color: #4a3c12; font-weight: 500; }
.room-card .card-title, .hotel-card .card-title { font-family: var(--cc-serif); }
.price-tag { font-size: 1.3rem; font-weight: 700; color: var(--cc-accent); }
.stars { color: var(--cc-accent); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: .75rem; }
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: var(--cc-radius-sm); }
.gallery-grid .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-grid .g-item:hover img { transform: scale(1.08); }
@media (max-width: 767.98px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .gallery-grid .g-item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Special offer band ---------- */
.cc-offer { position: relative; background: linear-gradient(135deg, #2a2822, #141310); color: #fff; overflow: hidden; }
.cc-offer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 30%, rgba(214, 180, 92, .18), transparent 45%); }
.cc-offer > .container { position: relative; z-index: 2; }
.cc-offer .offer-num { font-family: var(--cc-serif); font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; color: var(--cc-accent-2); line-height: 1; }

/* ---------- Testimonials (single sliding carousel) ---------- */
.testimonial { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 1.6rem; height: 100%; box-shadow: var(--cc-shadow-sm); }
.testi-underline { display: inline-block; width: 110px; height: 2px; background: var(--cc-accent); margin-top: .85rem; }
.testi-single { position: relative; padding: 1rem 3.5rem; }
.testi-single-inner { position: relative; min-height: 240px; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; }
.testi-quote-mark { position: absolute; left: 0; top: -.5rem; font-family: var(--cc-serif); font-size: 8rem; line-height: .7; color: var(--cc-line); z-index: 0; }
.testi-content { position: relative; z-index: 1; max-width: 820px; }
.testi-text { font-family: var(--cc-serif); font-style: italic; font-size: 1.4rem; line-height: 1.8; color: var(--cc-ink); }
.testi-author { margin-top: 1rem; font-weight: 700; color: var(--cc-ink); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.testi-single .carousel-control-prev, .testi-single .carousel-control-next { width: 52px; opacity: 1; }
.testi-arrow { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--cc-line); color: var(--cc-accent); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--cc-shadow-sm); transition: all .2s ease; }
.testi-single .carousel-control-prev:hover .testi-arrow, .testi-single .carousel-control-next:hover .testi-arrow { background: var(--cc-accent); color: #fff; }
@media (max-width: 575.98px) { .testi-quote-mark { font-size: 5rem; } .testi-text { font-size: 1.12rem; } .testi-single { padding: 1rem 2.75rem; } }

/* ---------- CTA ---------- */
.cc-cta { position: relative; background: linear-gradient(135deg, var(--cc-primary-2), var(--cc-primary-dark)); color: #fff; overflow: hidden; }
.cc-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 20%, rgba(214, 180, 92, .20), transparent 45%); }
.cc-cta > .container { position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.cc-footer { background: var(--cc-primary-dark); color: rgba(255, 255, 255, .68); }
.cc-footer h5 { color: var(--cc-accent-2); font-family: var(--cc-serif); }
.cc-footer a { color: rgba(255, 255, 255, .68); }
.cc-footer a:hover { color: var(--cc-accent-2); }
.cc-footer .footer-brand { font-family: var(--cc-serif); color: #fff; font-size: 1.4rem; }

/* ============================================================
   UI FX — scroll reveal, button shine, spotlight, count-up, back-to-top
   (vanilla reimplementations of modern component effects)
   ============================================================ */
.fx-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.fx-ready .reveal.in { opacity: 1; transform: none; }
.reveal.dly-1 { transition-delay: .08s; }
.reveal.dly-2 { transition-delay: .18s; }
.reveal.dly-3 { transition-delay: .28s; }
.reveal.dly-4 { transition-delay: .38s; }

/* Count-up stats */
.stat-count { font-family: var(--cc-serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; }
.stat-cap { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: var(--cc-body); margin-top: .35rem; }

/* Back-to-top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--cc-primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--cc-shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease; z-index: 1050; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cc-accent); color: #201f1b; }

/* Gallery lightbox */
.gallery-grid img { cursor: zoom-in; }
.cc-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(10, 8, 4, .93); padding: 2rem; }
.cc-lightbox.open { display: flex; }
.cc-lightbox .lb-figure { margin: 0; max-width: 92%; text-align: center; }
.cc-lightbox .lb-img { max-width: 100%; max-height: 82vh; border-radius: 6px; box-shadow: 0 12px 50px rgba(0, 0, 0, .6); }
.cc-lightbox .lb-cap { color: #e9e2d2; margin-top: .8rem; letter-spacing: .06em; font-size: .9rem; text-transform: uppercase; }
.cc-lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.15rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s ease; }
.cc-lightbox button:hover { background: var(--cc-accent); color: #201f1b; border-color: var(--cc-accent); }
.cc-lightbox .lb-close { top: 22px; right: 22px; }
.cc-lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.cc-lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* Feature split (alternating image + text) */
.feature-split { display: flex; align-items: stretch; min-height: 280px; height: 100%; overflow: hidden; border-radius: 8px; box-shadow: var(--cc-shadow-sm); background: #fff; }
.feature-split .fs-img { flex: 1 1 50%; background-size: cover; background-position: center; min-height: 240px; }
.feature-split .fs-text { flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1.75rem; }
.feature-split .fs-text h3 { font-family: var(--cc-serif); font-size: 1.35rem; margin-bottom: .6rem; color: var(--cc-ink); }
.feature-split .fs-text p { color: var(--cc-body); font-size: .93rem; margin-bottom: .9rem; }
.feature-split .fs-rule { display: inline-block; width: 60px; height: 2px; background: var(--cc-accent); }
@media (max-width: 575.98px) { .feature-split { flex-direction: column; } .feature-split .fs-img { min-height: 200px; } }

@media (prefers-reduced-motion: reduce) {
    .fx-ready .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Admin (kept consistent with the new palette)
   ============================================================ */
.admin-wrap { display: flex; min-height: calc(100vh - 56px); }
.admin-sidebar { width: 240px; background: var(--cc-primary-dark); color: #d8cdb6; flex-shrink: 0; }
.admin-sidebar a { color: #d8cdb6; text-decoration: none; display: block; padding: .7rem 1.25rem; border-left: 3px solid transparent; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255, 255, 255, .06); color: #fff; border-left-color: var(--cc-accent); }
.admin-content { flex-grow: 1; padding: 1.5rem 2rem; background: var(--cc-sand); }
.stat-card { border-radius: var(--cc-radius-sm); border: 1px solid var(--cc-line); box-shadow: var(--cc-shadow-sm); }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--cc-ink); }
.stat-card .stat-icon { font-size: 1.6rem; opacity: .35; color: var(--cc-accent); }
.status-badge { font-size: .8rem; }
.summary-panel { position: sticky; top: 1rem; }
