/*
Theme Name: JBS Landscapes Theme
Theme URI: https://jbslandscapes.artsoft-it.com
Author: Artsoft IT
Description: Custom premium WordPress theme for JBS Landscapes featuring an elegant cream, gold, bronze, and charcoal palette, modern responsive layouts, and smooth animations.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: jbs-landscapes
*/

:root {
    --cream: #F9F6F0;
    --cream-dark: #EFE9DD;
    --gold: #C5A059;
    --gold-light: #D9B978;
    --bronze: #8C6239;
    --bronze-dark: #6E4B2A;
    --charcoal: #1E201E;
    --charcoal-soft: #2C2F2C;
    --muted: #6A6862;
    --white: #FFFFFF;
    --border: rgba(140, 98, 57, 0.18);
    --shadow-sm: 0 6px 20px rgba(30, 32, 30, 0.06);
    --shadow-md: 0 14px 36px rgba(30, 32, 30, 0.12);
    --shadow-lg: 0 24px 60px rgba(30, 32, 30, 0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bronze);
    margin-bottom: 14px;
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    color: var(--charcoal);
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 620px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: var(--white);
    box-shadow: 0 10px 25px rgba(140, 98, 57, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(140, 98, 57, 0.38);
    background: linear-gradient(135deg, var(--gold-light), var(--bronze-dark));
}

.btn-outline {
    background: transparent;
    border-color: var(--gold);
    color: var(--charcoal);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(249, 246, 240, 0.94);
    backdrop-filter: blur(14px);
    padding: 12px 0;
    box-shadow: 0 4px 24px rgba(30, 32, 30, 0.08);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: var(--white);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.site-header.scrolled .brand-name,
.site-header.solid .brand-name {
    color: var(--charcoal);
}

.brand-tagline {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-light);
}

.site-header.scrolled .brand-tagline,
.site-header.solid .brand-tagline {
    color: var(--bronze);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.site-header.scrolled .main-nav a,
.site-header.solid .main-nav a {
    color: var(--charcoal);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 10px 22px;
    font-size: 0.88rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
}

.site-header.scrolled .mobile-toggle,
.site-header.solid .mobile-toggle {
    color: var(--charcoal);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 96vh;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
    background-color: var(--charcoal);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
    transform: scale(1.03);
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.09); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(30, 32, 30, 0.9) 0%, rgba(30, 32, 30, 0.65) 55%, rgba(30, 32, 30, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 50px;
    background: rgba(197, 160, 89, 0.16);
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.7rem);
    line-height: 1.08;
    margin-bottom: 22px;
    color: var(--white);
}

.hero h1 span {
    color: var(--gold-light);
    font-style: italic;
}

.hero p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-cream-dark {
    background-color: var(--cream-dark);
}

.section-charcoal {
    background-color: var(--charcoal);
    color: var(--white);
}

.section-charcoal .section-title {
    color: var(--white);
}

.section-charcoal .section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 52px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.service-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.06);
}

.service-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-body h3 {
    font-size: 1.55rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.service-body p {
    font-size: 0.94rem;
    color: var(--muted);
    margin-bottom: 20px;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bronze);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-link:hover {
    color: var(--gold);
    gap: 12px;
}

/* About Split */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.about-badge-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--charcoal);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: var(--shadow-md);
    max-width: 240px;
}

.about-badge-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.3rem;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 30px 0 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 8px;
    flex-shrink: 0;
}

/* Portfolio / Gallery */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--charcoal);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--charcoal);
    color: var(--gold-light);
    border-color: var(--charcoal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 32, 30, 0.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-light);
}

.gallery-caption h4 {
    font-size: 1.25rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--charcoal-soft);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: var(--radius-md);
    padding: 32px;
}

.testimonial-stars {
    color: var(--gold-light);
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.96rem;
    margin-bottom: 22px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--white);
    font-size: 0.98rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--gold-light);
}

/* CTA / Quote Section */
.cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--charcoal);
    padding: 72px 56px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.24;
}

.cta-banner-content,
.quote-form-card {
    position: relative;
    z-index: 2;
}

.cta-banner-content {
    color: var(--white);
}

.cta-banner-content .section-title {
    color: var(--white);
}

.quote-form-card {
    background: var(--cream);
    padding: 34px;
    border-radius: var(--radius-md);
    color: var(--charcoal);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--charcoal);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(140, 98, 57, 0.25);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.94rem;
    color: var(--charcoal);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

/* Footer */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.78);
    padding: 72px 0 32px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.85rem;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(18, 20, 18, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-modal img {
    max-height: 86vh;
    max-width: 90vw;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.2rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .about-grid,
    .cta-banner {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-cta {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--cream);
        padding: 24px;
        gap: 18px;
        box-shadow: var(--shadow-md);
    }
    .main-nav.open a {
        color: var(--charcoal);
    }
    .services-grid,
    .testimonials-grid,
    .gallery-grid,
    .hero-stats,
    .about-features,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        padding: 40px 24px;
    }
    .about-badge-card {
        position: static;
        margin-top: 16px;
        max-width: 100%;
    }
}



/* === Modern Animated Centered-Card Banner === */
#jbs-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 15%;
    background: linear-gradient(90deg, var(--gold-light), var(--bronze));
    z-index: 9999;
    transition: width 0.35s ease, opacity 0.4s ease;
}
.hero-card-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 115px 20px 64px;
    background: #1a1c1a;
    overflow: hidden;
}
.hero-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    animation: jbsKenBurns 20s ease-in-out infinite alternate;
}
@keyframes jbsKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 22, 20, 0.55) 0%, rgba(20, 22, 20, 0.35) 100%);
}
.hero-center-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    background: rgba(251, 243, 232, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.45);
    border-radius: 16px;
    padding: 40px 44px 36px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    text-align: center;
    animation: jbsCardFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes jbsCardFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-center-card h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    color: #544639;
    margin-bottom: 4px;
}
.hero-center-subtitle {
    font-size: 1.05rem;
    color: #9e7b56;
    font-weight: 500;
    margin-bottom: 14px;
}
.hero-center-intro {
    font-size: 0.94rem;
    color: #4f4a43;
    max-width: 780px;
    margin: 0 auto 26px;
    line-height: 1.65;
}
.hero-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 28px;
}
.hero-dual-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
    border: 2px solid #e3d2bc;
    box-shadow: 0 10px 26px rgba(30, 32, 30, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-dual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(30, 32, 30, 0.22);
}
.hero-dual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.hero-dual-card:hover img {
    transform: scale(1.07);
}
.hero-dual-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: rgba(30, 32, 30, 0.62);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}
.hero-dual-btn {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, filter 0.25s ease;
}
.hero-dual-btn:hover {
    transform: translateX(-50%) scale(1.05);
    filter: brightness(1.08);
}
.hero-g-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3f3831;
    margin-bottom: 20px;
}
.hero-g-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.hero-g-item {
    transition: transform 0.3s ease;
}
.hero-g-item:hover {
    transform: translateY(-3px);
}
.hero-g-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    color: #a6825b;
}
.hero-g-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #9e7b56;
    margin-bottom: 6px;
}
.hero-g-text {
    font-size: 0.82rem;
    color: #5c574f;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .hero-center-card { padding: 28px 20px; }
    .hero-dual-grid, .hero-g-cols { grid-template-columns: 1fr; }
}


/* === Transparent Glass Header with Halka Border === */
.site-header {
    background: rgba(24, 26, 24, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.28);
}


/* === Crisp Contrast for Inner-Page & Scrolled Header === */
.site-header.solid,
.site-header.scrolled {
    background: rgba(24, 26, 24, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}
.site-header.solid .main-nav a,
.site-header.scrolled .main-nav a {
    color: rgba(255, 255, 255, 0.92);
}
.site-header.solid .mobile-toggle,
.site-header.scrolled .mobile-toggle {
    color: #fff;
}


/* === Inner Page Title & Full-Width Content === */
body.page article > h1.section-title {
    display: none;
}
.jbs-dw-wrap,
.jbs-pt-wrap {
    max-width: 100% !important;
}


/* === Modern Animated Footer === */
.jbs-footer-modern {
    position: relative;
    background: linear-gradient(180deg, #1b1d1b 0%, #121412 100%);
    overflow: hidden;
}
.jbs-footer-glow {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), var(--bronze), transparent);
    animation: jbsFooterShimmer 6s linear infinite;
}
@keyframes jbsFooterShimmer {
    0% { transform: translateX(-25%); }
    100% { transform: translateX(25%); }
}
.jbs-footer-modern .footer-links a {
    display: inline-block;
    transition: transform 0.25s ease, color 0.25s ease;
}
.jbs-footer-modern .footer-links a:hover {
    transform: translateX(5px);
    color: var(--gold-light);
}
.jbs-back-top {
    color: var(--gold-light);
    font-weight: 600;
    transition: transform 0.25s ease;
}
.jbs-back-top:hover {
    transform: translateY(-2px);
}


/* === Modern Full-Width Transparent Mobile Drawer === */
@media (max-width: 768px) {
    .main-nav {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(30, 32, 30, 0.84) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        padding: 28px 28px 36px !important;
        gap: 4px !important;
        box-shadow: none !important;
        transform: translateX(100%);
        transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
        z-index: 1999;
    }
    .main-nav::before {
        content: "JBS Landscapes";
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding-left: 118px;
        background: url("https://jbslandscapes.artsoft-it.com/wp-content/uploads/2026/11/logo-bottom.png") left center / auto 38px no-repeat;
        font-family: var(--font-display);
        font-size: 1.35rem;
        font-weight: 600;
        color: var(--gold-light);
        padding-bottom: 16px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(197, 160, 89, 0.35);
    }
    .main-nav.open {
        transform: translateX(0) !important;
    }
    .main-nav a {
        width: 100%;
        color: var(--cream) !important;
        font-size: 1.12rem !important;
        font-weight: 500;
        padding: 14px 6px;
        border-bottom: 1px solid rgba(197, 160, 89, 0.16);
        transition: color 0.25s ease, padding-left 0.25s ease;
    }
    .main-nav a:hover {
        color: var(--gold-light) !important;
        padding-left: 14px;
    }
    .mobile-toggle {
        position: relative;
        z-index: 2001;
        color: var(--gold-light) !important;
    }
}

/* === Mobile Toggle Button Border & Active State === */
@media (max-width: 768px) {
    .mobile-toggle {
        border: 1.5px solid var(--gold) !important;
        border-radius: 8px;
        padding: 4px 11px;
        line-height: 1.2;
        background: rgba(197, 160, 89, 0.12);
        transition: all 0.25s ease;
    }
    .mobile-toggle.active,
    .mobile-toggle:active {
        background: linear-gradient(135deg, var(--gold), var(--bronze));
        border-color: var(--gold-light) !important;
        color: #fff !important;
        box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.28);
    }
}


/* === Active Nav Link Border === */
.main-nav a.active-nav {
    border: 1.5px solid var(--gold);
    border-radius: 6px;
    padding: 6px 14px;
    color: var(--gold-light) !important;
    background: rgba(197, 160, 89, 0.14);
}
