/* ==========================================================================
   Anji Homes — Redesign Stylesheet
   Loaded after the original theme CSS so it can safely override colors,
   typography and layout without touching the vendor files underneath.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@300;400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------
   0. Hero slider — kill the loading spinner and paint the first slide's
   photo as a plain CSS background immediately, so visitors see the hero
   image on first paint instead of a blank dark-gray block while the
   heavy revolution-slider JS bundle is still loading and initializing.
   Once the JS takes over, it renders the same image on top — no jump.
   -------------------------------------------------------------------- */
.tp-loader {
    display: none !important;
}

#gym-and-fitness-slider_wrapper.fullscreen-container {
    min-height: 100vh;
    background-image: url('../images/hero-1.jpg');
    background-size: cover;
    background-position: center center;
}

/* --------------------------------------------------------------------
   1. Palette + type — overriding the theme's CSS custom properties
   -------------------------------------------------------------------- */
:root {
    /* new accent: warm clay/terracotta instead of the old lime green */
    --base-color: #c07c3e;
    --base-color-rgb: 192, 124, 62;

    /* new "dark" tone: deep evergreen-teal instead of near-black */
    --dark-gray: #1f3d38;

    --light-medium-gray: #d8cfc2;

    /* supporting tones used only inside this file */
    --anji-homes-cream: #f6f1e6;
    --anji-homes-cream-deep: #efe6d3;
    --anji-homes-ink: #16302c;
    --anji-homes-clay: #c07c3e;
    --anji-homes-clay-deep: #a1642e;
    --anji-homes-taupe: #6f6459;

    --alt-font: 'Fraunces', 'Georgia', serif;
    --primary-font: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

body {
    letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6, .alt-font {
    letter-spacing: -0.5px;
}

/* soften the theme's very tight negative tracking on big serif headings */
.ls-minus-1px {
    letter-spacing: -0.5px !important;
}

/* --------------------------------------------------------------------
   2. Background / surface color overrides
   -------------------------------------------------------------------- */
.bg-cultured {
    background-color: var(--anji-homes-cream) !important;
}

.bg-nero-grey {
    background-color: var(--anji-homes-ink) !important;
}

.bg-very-light-gray {
    background-color: var(--anji-homes-cream) !important;
}

.bg-base-color-transparent {
    background-color: rgba(var(--base-color-rgb), 0.95) !important;
}

.bg-base-color-transparent-light {
    background-color: rgba(var(--base-color-rgb), 0.55) !important;
}

.border-color-base-color-transparent {
    border-color: rgba(var(--base-color-rgb), 0.35) !important;
}

/* --------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------- */
header .navbar {
    background-color: rgba(246, 241, 230, 0.92) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 61, 56, 0.08) !important;
}

header .navbar .container-fluid {
    padding-top: 6px;
    padding-bottom: 6px;
}

header .header-button .btn {
    background-color: var(--anji-homes-clay);
    border-color: var(--anji-homes-clay);
    color: #fff !important;
    letter-spacing: 1px;
    box-shadow: 0 10px 24px -10px rgba(192, 124, 62, 0.65);
}

header .header-button .btn:hover {
    background-color: var(--anji-homes-clay-deep);
    border-color: var(--anji-homes-clay-deep);
}

.push-button span {
    border-radius: 2px;
}

.push-menu.bg-dark-gray {
    background-color: var(--anji-homes-ink) !important;
}

/* --------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------- */
.btn {
    letter-spacing: 0.6px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background-color 0.3s ease;
}

.btn.btn-round-edge {
    border-radius: 8px;
}

.btn.btn-dark-gray:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(22, 48, 44, 0.55);
}

.btn.btn-base-color {
    color: #fff !important;
}

.btn.btn-base-color:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(192, 124, 62, 0.6);
}

/* --------------------------------------------------------------------
   5. Section rhythm / eyebrow labels
   -------------------------------------------------------------------- */
.anji-homes-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--anji-homes-clay-deep);
    margin-bottom: 18px;
}

.anji-homes-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--anji-homes-clay);
}

/* --------------------------------------------------------------------
   6. Feature grid (new section)
   -------------------------------------------------------------------- */
.anji-homes-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 992px) {
    .anji-homes-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .anji-homes-feature-grid {
        grid-template-columns: 1fr;
    }
}

.anji-homes-feature-card {
    background: #fff;
    border: 1px solid rgba(31, 61, 56, 0.08);
    border-radius: 18px;
    padding: 34px 30px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.anji-homes-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -30px rgba(22, 48, 44, 0.35);
    border-color: transparent;
}

.anji-homes-feature-card .anji-homes-feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--anji-homes-cream);
    color: var(--anji-homes-clay-deep);
    font-size: 24px;
    margin-bottom: 20px;
}

.anji-homes-feature-card h5 {
    font-family: var(--alt-font);
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.anji-homes-feature-card p {
    margin-bottom: 0;
    color: var(--anji-homes-taupe);
    font-size: 15px;
    line-height: 26px;
}

/* --------------------------------------------------------------------
   7. CTA banner (new section)
   -------------------------------------------------------------------- */
.anji-homes-cta-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.anji-homes-cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(22, 48, 44, 0.92) 0%, rgba(22, 48, 44, 0.75) 45%, rgba(192, 124, 62, 0.55) 100%);
    z-index: 0;
}

.anji-homes-cta-banner > .container {
    position: relative;
    z-index: 1;
}

.anji-homes-cta-banner h2 {
    color: #fff;
}

.anji-homes-cta-banner p {
    color: rgba(255, 255, 255, 0.85);
}

.anji-homes-cta-banner .btn-outline-cta {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
    border-radius: 8px;
    padding: 14px 30px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.6px;
    transition: all 0.3s ease;
}

.anji-homes-cta-banner .btn-outline-cta:hover {
    background: #fff;
    color: var(--anji-homes-ink);
    border-color: #fff;
}

/* --------------------------------------------------------------------
   8. Testimonials + accordion + cards — softened, warmer surfaces
   -------------------------------------------------------------------- */
.testimonial-style-02 {
    background: var(--anji-homes-cream) !important;
    border: 1px solid rgba(31, 61, 56, 0.06);
}

.testimonial-style-02 p {
    color: var(--anji-homes-ink);
    font-family: var(--alt-font);
    font-size: 19px;
    line-height: 30px;
    font-style: italic;
}

.accordion-style-06 .accordion-item.active-accordion {
    background-image: linear-gradient(to bottom, #fbf8f2, #ffffff);
    border-radius: 14px;
}

.accordion-style-06 .accordion-item {
    border-bottom: 1px solid rgba(31, 61, 56, 0.1);
}

/* review stars now match the clay accent instead of lime */
.review-star-icon i {
    color: var(--anji-homes-clay) !important;
}

/* --------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------- */
footer.bg-nero-grey a:hover {
    color: var(--anji-homes-clay) !important;
}

footer .footer-bottom {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* --------------------------------------------------------------------
   10. Page-title banner strip (about / contact / services / sign-up / legal)
   -------------------------------------------------------------------- */
.page-title-big-typography {
    background-color: var(--anji-homes-cream) !important;
}

.page-title-extra-small h1 {
    color: var(--anji-homes-clay-deep) !important;
    border-color: var(--anji-homes-clay) !important;
}

/* --------------------------------------------------------------------
   11. Numbered step list (new section)
   -------------------------------------------------------------------- */
.anji-homes-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

@media (max-width: 767px) {
    .anji-homes-step-grid {
        grid-template-columns: 1fr;
    }
}

.anji-homes-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--anji-homes-clay);
    color: #fff;
    font-family: var(--alt-font);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 18px;
}

.anji-homes-step h5 {
    font-family: var(--alt-font);
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.anji-homes-step p {
    margin-bottom: 0;
    color: var(--anji-homes-taupe);
    font-size: 15px;
    line-height: 26px;
}

/* --------------------------------------------------------------------
   12. Three-column audience grid (new section)
   -------------------------------------------------------------------- */
.anji-homes-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .anji-homes-audience-grid {
        grid-template-columns: 1fr;
    }
}
