@charset "utf-8";

/* ================================================================
   KA-PLOW — Homepage  v4.1
   ================================================================ */

/* ── SHARED INNER / SECTION HEADER ──────────────────────────── */
.hmpg-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.hmpg-section-hd {
    text-align: center;
    margin-bottom: 2.5rem;
}
.hmpg-section-hd h2 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}
.hmpg-section-hd p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}
.hmpg-svc-sub {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #444 !important;
}
.hmpg-section-hd-dark h2 { color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.75), 0 0 8px rgba(0,0,0,0.5); }
.hmpg-section-hd-dark p  { color: #fff; font-size: 1.05rem; font-weight: 900; text-shadow: 0 1px 3px rgba(0,0,0,0.85), 1px 1px 2px rgba(0,0,0,0.7); }

/* ── HERO SLIDESHOW ──────────────────────────────────────────── */
#hmpg-hero {
    position: relative;
    height: 88vh;
    min-height: 520px;
    overflow: hidden;
}

/* Slides */
.hmpg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s ease, transform 7s ease;
    will-change: opacity, transform;
}
.hmpg-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Dark gradient overlay — heavier at bottom for text legibility */
#hmpg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.12) 0%,
        rgba(0,0,0,0.45) 55%,
        rgba(0,0,0,0.75) 100%
    );
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

/* Hero content */
#hmpg-hero-content {
    padding: 0 6% 5.5%;
    color: #fff;
    max-width: 820px;
}

.hmpg-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.1rem;
    /* Summer (default) — green */
    color: #7ddd8a;
    border: 1px solid rgba(46,158,80,0.55);
}
/* Winter — blue */
body.season-winter .hmpg-hero-tag {
    color: #7ec8f0;
    border-color: rgba(91,155,213,0.55);
}

#hmpg-hero-content h1 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    /* Summer (default) — green-tinted shadow */
    text-shadow: 2px 4px 6px rgba(0,0,0,0.8), 0 8px 28px rgba(14,80,20,0.6);
    margin-bottom: 1rem;
    max-width: 90vw;
}
/* Winter — blue-tinted shadow */
body.season-winter #hmpg-hero-content h1 {
    text-shadow: 2px 4px 6px rgba(0,0,0,0.8), 0 8px 28px rgba(20,60,120,0.65);
}

#hmpg-hero-content > p {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.93rem, 1.4vw, 1.1rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    margin-bottom: 1.85rem;
    max-width: 560px;
}

.hmpg-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hmpg-hero-btns .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* Prev / Next arrows */
.hmpg-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.32);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-size: 0.95rem;
}
.hmpg-slide-nav:hover {
    background: rgba(215,65,0,0.72);
    border-color: transparent;
}
#hmpg-prev { left: 1.25rem; }
#hmpg-next { right: 1.25rem; }

/* Dot indicators */
#hmpg-dots {
    position: absolute;
    bottom: 1.4rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}
.hmpg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    padding: 0;
}
.hmpg-dot.active {
    background: #D74100;
    transform: scale(1.35);
}
.hmpg-dot:hover { background: rgba(255,255,255,0.7); }

/* ── SERVICES OVERVIEW ───────────────────────────────────────── */
#hmpg-services {
    background: #f5f4f2;
    padding: 2.25rem 5% 3.15rem;
}

.hmpg-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hmpg-svc-card {
    background: #fff;
    border: 1px solid #e0ddd8;
    border-top: 4px solid var(--card-accent, #D74100);
    border-radius: 8px;
    padding: 2rem 1.6rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hmpg-svc-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.hmpg-svc-card.winter { --card-accent: #5b9bd5; }
.hmpg-svc-card.lawn   { --card-accent: #2e9e50; }
.hmpg-svc-card.maint  { --card-accent: #D74100; }

.hmpg-svc-card > i {
    font-size: 2rem;
    color: var(--card-accent, #D74100);
}
.hmpg-svc-card h3 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a;
}
.hmpg-svc-card ul {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.75;
    padding-left: 1.1em;
    flex: 1;
}
.hmpg-svc-btn {
    align-self: flex-start;
    margin-top: 0.25rem;
    font-size: 1.025rem !important;
    padding: 0.625em 1.375em !important;
}

/* Winter — blue */
.hmpg-svc-card.winter .hmpg-svc-btn {
    color: #5b9bd5;
    border-color: #5b9bd5;
}
.hmpg-svc-card.winter .hmpg-svc-btn:hover {
    background: #5b9bd5;
    color: #fff;
}

/* Lawn — green */
.hmpg-svc-card.lawn .hmpg-svc-btn {
    color: #2e9e50;
    border-color: #2e9e50;
}
.hmpg-svc-card.lawn .hmpg-svc-btn:hover {
    background: #2e9e50;
    color: #fff;
}

/* Maintenance — orange */
.hmpg-svc-card.maint .hmpg-svc-btn {
    color: #D74100;
    border-color: #D74100;
}
.hmpg-svc-card.maint .hmpg-svc-btn:hover {
    background: #D74100;
    color: #fff;
}

/* ── WHY KA-PLOW ─────────────────────────────────────────────── */
#hmpg-why {
    position: relative;
    background: #04080f;
    overflow: hidden;
    padding: 2.25rem 0 3.15rem;
    border-top: 3px solid #D74100;
}
/* Smoky blue-teal-green cloud layer — blurred radial gradients */
#hmpg-why::before {
    content: '';
    position: absolute;
    inset: -60px;
    background:
        radial-gradient(ellipse 55% 70% at 12% 25%, rgba(0,175,225,0.88) 0%, rgba(0,90,170,0.45) 45%, transparent 70%),
        radial-gradient(ellipse 38% 48% at 5% 72%, rgba(0,140,200,0.52) 0%, transparent 60%),
        radial-gradient(ellipse 58% 55% at 82% 83%, rgba(0,215,155,0.92) 0%, rgba(0,155,105,0.55) 38%, transparent 65%),
        radial-gradient(ellipse 34% 42% at 93% 52%, rgba(0,175,115,0.46) 0%, transparent 55%),
        radial-gradient(ellipse 44% 38% at 42% 18%, rgba(1,18,45,1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 44% at 58% 52%, rgba(1,12,35,0.93) 0%, transparent 55%),
        radial-gradient(ellipse 28% 34% at 30% 76%, rgba(1,20,55,0.82) 0%, transparent 50%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}
#hmpg-why .hmpg-inner { position: relative; z-index: 1; }

.hmpg-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.hmpg-why-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}
.hmpg-why-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,0.95) 0%, transparent 50%),
        radial-gradient(circle at 65% 72%, rgba(180,180,180,0.45) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, #f0eeec 0%, #c8c4be 100%);
    border: 1px solid rgba(200,196,190,0.7);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.55),
        0 2px 5px rgba(0,0,0,0.35),
        inset 0 3px 6px rgba(255,255,255,0.9),
        inset 0 -2px 5px rgba(0,0,0,0.18),
        0 0 22px rgba(215,65,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #D74100;
    flex-shrink: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hmpg-why-item:hover .hmpg-why-icon {
    box-shadow:
        0 8px 24px rgba(0,0,0,0.55),
        0 3px 7px rgba(0,0,0,0.35),
        inset 0 2px 5px rgba(255,255,255,0.32),
        inset 0 -2px 5px rgba(0,0,0,0.35),
        0 0 34px rgba(215,65,0,0.45);
    transform: translateY(-3px) scale(1.04);
}
.hmpg-why-item h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgb(255,140,60);
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-shadow: 1px 2px 4px rgba(215,65,0,0.75), 0 0 10px rgba(215,65,0,0.4);
}
.hmpg-why-item p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.94rem;
    font-weight: 400;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* ── SPLIT SECTIONS ──────────────────────────────────────────── */
.hmpg-split {
    display: grid;
    grid-template-columns: 2fr 3fr;
    min-height: 480px;
}

.hmpg-split-img {
    overflow: hidden;
    position: relative;
}
.hmpg-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.hmpg-split:hover .hmpg-split-img img { transform: scale(1.03); }

.hmpg-split-body {
    padding: 4rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
}

/* Summer split — flip columns so image stays 40% like winter */
#hmpg-summer-split { grid-template-columns: 3fr 2fr; }

/* Dark (winter) */
.hmpg-split-dark {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2.8rem;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(91,155,213,0.18) 0%, transparent 55%),
        linear-gradient(160deg, #0d1b3e 0%, #142850 100%);
    color: #fff;
}
/* Aqua crystal pattern overlay */
.hmpg-split-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg stroke='%2300e5ff' stroke-width='0.6' fill='none'%3E%3Cline x1='18' y1='3' x2='18' y2='33'/%3E%3Cline x1='3' y1='18' x2='33' y2='18'/%3E%3Cline x1='8' y1='8' x2='28' y2='28'/%3E%3Cline x1='28' y1='8' x2='8' y2='28'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 36px 36px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}
.hmpg-split-dark > * { position: relative; z-index: 1; }

.hmpg-split-dark h2 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.15;
}
.hmpg-split-dark p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
}
.hmpg-split-dark ul {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    padding-left: 1.1em;
}

/* Winter split button */
#hmpg-winter-split .btn {
    font-size: 1.05rem;
    padding-left: 2rem;
    padding-right: 2rem;
    white-space: nowrap;
    align-self: flex-start;
}

/* Summer split button */
#hmpg-summer-split .btn {
    font-size: 1.05rem;
    padding-left: 2rem;
    padding-right: 2rem;
    white-space: nowrap;
    align-self: flex-start;
}

/* Light (summer) */
.hmpg-split-light {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2.8rem;
    background: #fff;
    color: #1a1a1a;
}
/* Green pattern overlay */
.hmpg-split-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg stroke='%23007a2f' stroke-width='0.6' fill='none'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='50' cy='30' r='20'/%3E%3Ccircle cx='40' cy='12.68' r='20'/%3E%3Ccircle cx='20' cy='12.68' r='20'/%3E%3Ccircle cx='10' cy='30' r='20'/%3E%3Ccircle cx='20' cy='47.32' r='20'/%3E%3Ccircle cx='40' cy='47.32' r='20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}
.hmpg-split-light > * { position: relative; z-index: 1; }

.hmpg-split-light h2 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.15;
}
.hmpg-split-light p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    color: #555;
    line-height: 1.7;
}
.hmpg-split-light ul {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.8;
    padding-left: 1.1em;
}

/* Section tags */
.hmpg-split-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5b9bd5;
    margin-bottom: 0.25rem;
}
.hmpg-split-tag-green { color: #2e9e50; }

/* ── SOCIAL MEDIA ────────────────────────────────────────────── */
#hmpg-social {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(24,119,242,0.55) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(225,48,108,0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 30%, rgba(255,30,30,0.5) 0%, transparent 55%),
        linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 50%, #1a0a0a 100%);
    padding: 2.5rem 5%;
    border-top: none;
}
.hmpg-social-hd {
    text-align: center;
    margin-bottom: 2rem;
}
.hmpg-social-hd h2 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: clamp(1.5rem, 2vw, 1.7rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.35rem;
}
.hmpg-social-hd p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.72);
}
.hmpg-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-content: center;
}
.hmpg-social-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border: 1px solid #e0ddd8;
    border-top: 12px solid var(--social-accent, #999);
    background: #fff;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hmpg-social-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}
.hmpg-social-fb { --social-accent: #1877f2; }
.hmpg-social-ig { --social-accent: #e1306c; }
.hmpg-social-yt { --social-accent: #ff0000; }
.hmpg-social-icon {
    font-size: 1.7rem;
    color: var(--social-accent, #999);
    flex-shrink: 0;
}
.hmpg-social-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    border: 2px solid rgba(0,0,0,0.55);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    
}
.hmpg-social-platform {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a1a;
    white-space: nowrap;
}
.hmpg-social-handle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: #777;
    white-space: nowrap;
}
.hmpg-social-cta {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--social-accent, #999);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hmpg-why-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hmpg-why-item {
        flex: 0 0 calc((100% - 4rem) / 3);
    }
    .hmpg-why-item:last-child { grid-column: unset; justify-self: unset; width: auto; }
    .hmpg-social-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 860px) {
    .hmpg-svc-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .hmpg-split { grid-template-columns: 1fr; min-height: auto; }
    .hmpg-split-reverse { direction: ltr; }
    .hmpg-split-img { min-height: 0; height: 160px; max-height: 160px; }
    .hmpg-split-img img { object-position: center center; }
    .hmpg-split-body { padding: 2.5rem 6%; }
    .hmpg-why-grid { display: flex; flex-wrap: wrap; justify-content: center; }
    .hmpg-why-item { flex: 0 0 calc((100% - 2rem) / 2); }
    .hmpg-why-item:last-child { flex: 0 0 calc((100% - 2rem) / 2); }
    .hmpg-social-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    #hmpg-summer-split { grid-template-columns: 1fr; }
    #hmpg-winter-split .btn,
    #hmpg-summer-split .btn { width: auto; }
}

@media (max-width: 640px) {
    #hmpg-hero { height: 70vh; min-height: 400px; }
    #hmpg-hero-content { padding: 0 5% 14%; }
    #hmpg-hero-content h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
    .hmpg-slide-nav { width: 36px; height: 36px; font-size: 0.8rem; }
    #hmpg-prev { left: 0.6rem; }
    #hmpg-next { right: 0.6rem; }
    #hmpg-dots { bottom: 0.75rem; right: 1rem; }
    #hmpg-services { padding: 3rem 5%; }
    #hmpg-why { padding: 3rem 5%; }
    .hmpg-why-grid { display: flex; flex-wrap: wrap; justify-content: center; }
    .hmpg-why-item { flex: 0 0 calc((100% - 2rem) / 2); }
    .hmpg-hero-btns { flex-direction: column; gap: 0.75rem; }
    .hmpg-hero-btns .btn { width: fit-content; }
}
