/* ===================================================
   Munsell's Landscaping – John Deere Theme
   Colors matched to the logo's dark forest green + gold
   =================================================== */

html, body {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
}

:root {
    --jd-green: #2d5a27;
    --jd-green-dark: #1e3d1a;
    --jd-green-light: #3d7a34;
    --jd-yellow: #D4A017;
    --jd-yellow-light: #FFDE00;
    --jd-yellow-dark: #b8860b;
    --jd-dark: #1a2e16;
    --jd-cream: #f9f7f0;
}

/* ── Utility Classes ─────────────────────────────── */
.bg-jd-green  { background-color: var(--jd-green) !important; }
.bg-jd-yellow { background-color: var(--jd-yellow) !important; }
.bg-jd-dark   { background-color: var(--jd-dark) !important; }
.text-jd-green  { color: var(--jd-green) !important; }
.text-jd-yellow { color: var(--jd-yellow) !important; }
.text-jd-dark   { color: var(--jd-dark) !important; }

/* ── Buttons ─────────────────────────────────────── */
.btn-jd-green {
    background-color: var(--jd-green);
    border-color: var(--jd-green);
    color: #fff;
}
.btn-jd-green:hover {
    background-color: var(--jd-green-dark);
    border-color: var(--jd-green-dark);
    color: #fff;
}
.btn-jd-yellow {
    background-color: var(--jd-yellow);
    border-color: var(--jd-yellow);
    color: var(--jd-dark);
    font-weight: 600;
}
.btn-jd-yellow:hover {
    background-color: var(--jd-yellow-dark);
    border-color: var(--jd-yellow-dark);
    color: var(--jd-dark);
}

/* ── Navbar ──────────────────────────────────────── */
.navbar-dark .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    transition: color 0.2s;
}
.navbar-dark .nav-link:hover {
    color: var(--jd-yellow) !important;
}

/* ── Hero Section ────────────────────────────────── */
.hero-section {
    background: #ffffff;
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45,90,39,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,160,23,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-overlay {
    width: 100%;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* ── Page Header ─────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c) !important;
}

/* ── Cards ───────────────────────────────────────── */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(54, 124, 43, 0.15) !important;
}
.service-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(54, 124, 43, 0.1);
    border-radius: 50%;
}

/* ── Gallery ─────────────────────────────────────── */
.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.gallery-card:hover {
    transform: translateY(-3px);
}
.gallery-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

/* ── Form Focus ──────────────────────────────────── */
.form-control:focus,
.form-select:focus {
    border-color: var(--jd-green);
    box-shadow: 0 0 0 0.2rem rgba(54, 124, 43, 0.25);
}

/* ── Badge ───────────────────────────────────────── */
.badge.bg-jd-green {
    background-color: var(--jd-green) !important;
}

/* ── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--jd-green); border-radius: 4px; }

/* ── Footer ──────────────────────────────────────── */
footer a:hover {
    color: var(--jd-yellow) !important;
    opacity: 1 !important;
}

/* ── Logo Styles ─────────────────────────────────── */.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.brand-main {
    font-family: 'Oswald', 'Arial Black', 'Impact', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-shadow:
        2px 2px 0 var(--jd-green),
        -1px -1px 0 var(--jd-green),
        1px -1px 0 var(--jd-green),
        -1px 1px 0 var(--jd-green),
        0 3px 0 var(--jd-green-dark);
}
.brand-sub {
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--jd-yellow);
    text-transform: uppercase;
    margin-top: 2px;
    border-top: 1px solid var(--jd-green-light);
    padding-top: 2px;
}.navbar-logo {
    height: 50px;
    width: auto;
}
.hero-logo {
    max-height: 300px;
    width: auto;
    max-width: 80%;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.1));
    animation: fadeInUp 0.8s ease-out;
}
.hero-headline {
    font-size: 2.5rem;
}
.hero-tagline {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.about-logo-box {
    background: var(--jd-cream);
    border: 3px solid var(--jd-green);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { min-height: auto; }
    .hero-section::before { width: 320px; height: 320px; right: -30%; }
    .hero-section::after { width: 280px; height: 280px; left: -20%; }
    .hero-overlay { padding: 40px 0; }
    .hero-logo { max-height: 200px; }
    .hero-headline { font-size: 1.75rem; }
    .hero-tagline { font-size: 1rem; }
    .navbar-logo { height: 40px; }
    .brand-main { font-size: 1.3rem; letter-spacing: 2px; }
    .brand-sub { font-size: 0.55rem; letter-spacing: 4px; }
    .service-card { margin-bottom: 0; }
    .gallery-img { height: 200px; }
    footer .row > div { text-align: center; }
    footer .footer-logo { margin: 0 auto; display: block; }
    .page-header { padding: 2rem 0 !important; }
    .page-header h1 { font-size: 1.75rem; }
    .page-header .lead { font-size: 1rem; }
}
@media (max-width: 576px) {
    .hero-logo { max-height: 160px; }
    .hero-headline { font-size: 1.5rem; }
    .brand-main { font-size: 1.1rem; letter-spacing: 1px; }
    .brand-sub { font-size: 0.5rem; letter-spacing: 3px; }
    .btn-lg { font-size: 0.95rem; padding: 0.6rem 1.2rem; }
    .display-3 { font-size: 1.75rem; }
    .gallery-img { height: 180px; }
    .about-logo-box { padding: 2rem !important; }
    .about-logo-box img { max-height: 250px !important; }
}
