/* ==============================================================
   MR TURF ARTIFICIAL GRASS & HOME IMPROVEMENTS
   Custom Website Styles
   ============================================================== */


/*--------------------------------------------------------------
# Shared Section Typography
--------------------------------------------------------------*/

.section-heading {
    margin: 0;
    color: var(--heading-color);
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.section-lead {
    margin-bottom: 18px;
    color: var(--heading-color);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background-color: var(--accent-color);
}

.section-header {
    margin-bottom: 42px;
}

.section-header-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.section-header-split > div:first-child {
    max-width: 780px;
}

.section-header p {
    margin: 10px 0 0;
    color: var(--default-color);
    font-size: 15px;
    line-height: 1.7;
}

.site-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.site-text-link:hover {
    gap: 11px;
    color: var(--accent-dark-color);
}


/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 78px 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 25, 18, 0.94) 0%,
            rgba(3, 25, 18, 0.84) 37%,
            rgba(3, 25, 18, 0.57) 67%,
            rgba(3, 25, 18, 0.32) 100%
        );
}

.hero-section .container {
    z-index: 2;
}

.hero-content {
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 620px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 64px;
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -2.3px;
}

.hero-content h1 span {
    display: block;
    color: var(--accent-color);
}

.hero-lead {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.91);
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-actions .site-btn {
    min-width: 155px;
}

.site-btn-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.84);
    color: #ffffff;
}

.site-btn-light:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--heading-color);
}


/*--------------------------------------------------------------
# Hero Quote Form
--------------------------------------------------------------*/

.quote-form-card {
    width: 100%;
    max-width: 405px;
    margin-left: auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.quote-form-heading {
    margin-bottom: 22px;
}

.form-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--accent-color);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.quote-form-heading h2 {
    margin: 0 0 8px;
    color: var(--heading-color);
    font-size: 27px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.quote-form-heading p {
    margin: 0;
    color: var(--default-color);
    font-size: 13px;
    line-height: 1.55;
}

.quote-form .form-label {
    margin-bottom: 6px;
    color: var(--heading-color);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.quote-form .form-control {
    min-height: 48px;
    padding: 10px 13px;
    color: var(--default-color);
    background-color: #ffffff;
    border: 1px solid #dde4df;
    border-radius: 5px;
    box-shadow: none;
    font-size: 13px;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.quote-form textarea.form-control {
    min-height: 108px;
    resize: vertical;
}

.quote-form .form-control::placeholder {
    color: #8a948f;
}

.quote-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(88, 184, 43, 0.12);
}

.form-character-count {
    margin-top: 4px;
    color: var(--muted-color);
    font-size: 10px;
    line-height: 1.2;
    text-align: right;
}

.quote-form .site-btn {
    min-height: 48px;
}


/*--------------------------------------------------------------
# Feature Strip
--------------------------------------------------------------*/

.feature-strip {
    padding: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.feature-strip-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 106px;
    padding: 20px;
}

.feature-strip-item::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 0;
    bottom: 25px;
    width: 1px;
    background-color: var(--border-color);
}

.feature-strip [class*="col-"]:last-child .feature-strip-item::after {
    display: none;
}

.feature-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    color: var(--accent-color);
    background-color: var(--turf-light-color);
    border-radius: 50%;
}

.feature-strip-icon i {
    font-size: 21px;
    line-height: 1;
}

.feature-strip-content strong {
    display: block;
    margin-bottom: 2px;
    color: var(--heading-color);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

.feature-strip-content span {
    display: block;
    color: var(--muted-color);
    font-size: 11px;
    line-height: 1.35;
}


/*--------------------------------------------------------------
# Generic Content Section
--------------------------------------------------------------*/

.content-section {
    background-color: #ffffff;
}


/*--------------------------------------------------------------
# Reusable Image Panel
--------------------------------------------------------------*/

.image-panel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(6, 39, 29, 0.09);
}

.image-panel img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    min-width: 155px;
    padding: 20px 22px;
    background-color: var(--dark-color);
    border-radius: 8px;
    color: #ffffff;
}

.image-badge strong {
    display: block;
    color: var(--accent-color);
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
}

.image-badge span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services-section {
    background-color: var(--light-background-color);
}


/*--------------------------------------------------------------
# Reusable Service Card
--------------------------------------------------------------*/

.service-card {
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 184, 43, 0.28);
    box-shadow: 0 18px 42px rgba(6, 39, 29, 0.09);
}


/*--------------------------------------------------------------
# Reusable Card Image
--------------------------------------------------------------*/

.card-image {
    display: block;
    height: 215px;
    overflow: hidden;
}

.card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.04);
}


/*--------------------------------------------------------------
# Reusable Card Content
--------------------------------------------------------------*/

.card-content {
    position: relative;
    padding: 26px 24px 24px;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-top: -50px;
    margin-bottom: 16px;
    color: #ffffff;
    background-color: var(--accent-color);
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(6, 39, 29, 0.12);
}

.card-icon i {
    font-size: 18px;
    line-height: 1;
}

.service-card h3 {
    margin: 0 0 9px;
    color: var(--heading-color);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

.service-card p {
    margin: 0;
    color: var(--default-color);
    font-size: 13px;
    line-height: 1.65;
}

.service-card .site-text-link {
    margin-top: 13px;
}


/*--------------------------------------------------------------
# Process Section
--------------------------------------------------------------*/

.process-section {
    background-color: #ffffff;
}


/*--------------------------------------------------------------
# Reusable Process Card
--------------------------------------------------------------*/

.process-card {
    position: relative;
    height: 100%;
    padding: 32px 28px;
    background-color: var(--light-background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(6, 39, 29, 0.07);
}

.process-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(88, 184, 43, 0.15);
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    color: var(--accent-color);
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(6, 39, 29, 0.05);
}

.process-icon i {
    font-size: 22px;
    line-height: 1;
}

.process-card h3 {
    margin: 0 0 10px;
    color: var(--heading-color);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.process-card p {
    margin: 0;
    color: var(--default-color);
    font-size: 14px;
    line-height: 1.65;
}


/*--------------------------------------------------------------
# Dark Feature Section
--------------------------------------------------------------*/

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

.dark-feature-section .section-eyebrow {
    color: var(--accent-color);
}

.dark-feature-section .section-eyebrow::before {
    background-color: var(--accent-color);
}

.dark-feature-section .section-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.dark-feature-section .section-header p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}


/*--------------------------------------------------------------
# Reusable Feature Card
--------------------------------------------------------------*/

.feature-card {
    height: 100%;
    padding: 32px 24px;
    text-align: center;
}

.feature-card-dark {
    min-height: 225px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.dark-feature-section .row.g-0 > [class*="col-"]:last-child .feature-card-dark {
    border-right: 0;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--accent-color);
    border: 1px solid rgba(88, 184, 43, 0.5);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 23px;
    line-height: 1;
}

.feature-card-dark h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
}

.feature-card-dark p {
    max-width: 215px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.67);
    font-size: 13px;
    line-height: 1.6;
}


/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/

.projects-section {
    background-color: #ffffff;
}


/*--------------------------------------------------------------
# Reusable Project Card
--------------------------------------------------------------*/

.project-card {
    position: relative;
    display: block;
    height: 280px;
    overflow: hidden;
    background-color: var(--dark-color);
    border-radius: 8px;
}

.project-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        opacity 0.3s ease;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(3, 25, 18, 0.02) 35%,
            rgba(3, 25, 18, 0.72) 100%
        );
    transition: background 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card:hover::after {
    background:
        linear-gradient(
            180deg,
            rgba(3, 25, 18, 0.08) 25%,
            rgba(3, 25, 18, 0.82) 100%
        );
}

.project-overlay {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 2;
}

.project-overlay span {
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}


/*--------------------------------------------------------------
# Final CTA
--------------------------------------------------------------*/

.cta-section {
    position: relative;
    padding: 68px 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 25, 18, 0.95) 0%,
            rgba(3, 25, 18, 0.88) 52%,
            rgba(3, 25, 18, 0.76) 100%
        );
}

.cta-section .container {
    z-index: 2;
}

.cta-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-section h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.cta-section p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.80);
    font-size: 15px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-actions .site-btn {
    min-width: 155px;
}


/*--------------------------------------------------------------
# Responsive - Large Tablet / Small Desktop
--------------------------------------------------------------*/

@media (max-width: 1199px) {

    .hero-section {
        min-height: 600px;
        padding: 65px 0;
    }

    .hero-content h1 {
        font-size: 54px;
    }

    .quote-form-card {
        max-width: 375px;
        padding: 27px;
    }

    .project-card {
        height: 245px;
    }
}


/*--------------------------------------------------------------
# Responsive - Tablet
--------------------------------------------------------------*/

@media (max-width: 991px) {

    .section-heading,
    .dark-feature-section .section-header h2,
    .cta-section h2 {
        font-size: 32px;
    }

    .section-header-split {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .hero-section {
        min-height: auto;
        padding: 70px 0;
        background-position: center center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 25, 18, 0.94) 0%,
                rgba(3, 25, 18, 0.85) 58%,
                rgba(3, 25, 18, 0.70) 100%
            );
    }

    .hero-content {
        max-width: 620px;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .quote-form-card {
        max-width: 520px;
        margin: 10px 0 0;
    }

    .feature-strip-item {
        justify-content: flex-start;
    }

    .feature-strip [class*="col-"]:nth-child(2) .feature-strip-item::after {
        display: none;
    }

    .feature-strip [class*="col-"]:nth-child(-n+2) .feature-strip-item {
        border-bottom: 1px solid var(--border-color);
    }

    .image-panel img {
        height: 430px;
    }

    .feature-card-dark {
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .dark-feature-section .row.g-0 > [class*="col-"]:nth-child(2) .feature-card-dark {
        border-right: 0;
    }

    .cta-actions {
        justify-content: flex-start;
        margin-top: 18px;
    }
}


/*--------------------------------------------------------------
# Responsive - Mobile
--------------------------------------------------------------*/

@media (max-width: 767px) {

    .section-heading,
    .dark-feature-section .section-header h2,
    .cta-section h2 {
        font-size: 28px;
    }

    .section-lead {
        font-size: 17px;
    }

    .hero-section {
        padding: 58px 0;
        background-position: 58% center;
    }

    .hero-overlay {
        background: rgba(3, 25, 18, 0.84);
    }

    .hero-eyebrow {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 1.02;
        letter-spacing: -1.4px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-actions {
        gap: 9px;
    }

    .hero-actions .site-btn {
        min-width: auto;
    }

    .quote-form-card {
        padding: 23px;
    }

    .quote-form-heading h2 {
        font-size: 24px;
    }

    .feature-strip-item {
        min-height: 95px;
        gap: 11px;
        padding: 16px 10px;
    }

    .feature-strip-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .feature-strip-icon i {
        font-size: 18px;
    }

    .feature-strip-content strong {
        font-size: 14px;
    }

    .feature-strip-content span {
        font-size: 10px;
    }

    .image-panel img {
        height: 340px;
    }

    .image-badge {
        right: 15px;
        bottom: 15px;
        min-width: 135px;
        padding: 16px 18px;
    }

    .image-badge strong {
        font-size: 27px;
    }

    .card-image {
        height: 220px;
    }

    .card-content {
        padding: 25px 22px 22px;
    }

    .process-card {
        padding: 28px 24px;
    }

    .feature-card-dark {
        min-height: auto;
        padding: 28px 18px;
        border-right: 0;
    }

    .project-card {
        height: 280px;
    }

    .cta-section {
        padding: 55px 0;
    }

    .cta-overlay {
        background: rgba(3, 25, 18, 0.89);
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .site-btn {
        width: 100%;
    }
}


/*--------------------------------------------------------------
# Responsive - Small Mobile
--------------------------------------------------------------*/

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 245px;
    }

    .hero-actions .site-btn {
        width: 100%;
    }

    .quote-form-card {
        padding: 20px;
    }

    .feature-strip-item {
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        text-align: center;
    }

    .feature-strip-item::after {
        display: none;
    }

    .feature-strip-content strong {
        font-size: 14px;
    }

    .image-panel img {
        height: 300px;
    }

    .project-card {
        height: 235px;
    }
}