﻿/* =========================================================
   Shredman Website Styles
   File: Content/shredman.css
   ========================================================= */

/* ---------- Root Variables ---------- */

:root {
    --green: #3f7a35;
    --green-dark: #2f5f28;
    --green-soft: #edf5eb;
    --black: #111111;
    --charcoal: #252525;
    --grey: #666666;
    --light-grey: #f6f6f4;
    --border: #e3e3dd;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.07);
    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;
    --container: 1180px;
}


/* ---------- Global Reset ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.site-main {
    min-height: 60vh;
}


/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    line-height: 1.15;
    color: var(--black);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    letter-spacing: -0.04em;
}

h3 {
    font-size: 1.25rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--green);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

    .section-label::before {
        content: "";
        width: 28px;
        height: 2px;
        background: var(--green);
        display: inline-block;
    }

.section-intro {
    max-width: 720px;
    color: var(--grey);
    font-size: 1.05rem;
}

.text-muted {
    color: var(--grey);
}


/* ---------- Buttons ---------- */

.btn,
.header-cta,
.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary,
.header-cta {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(63, 122, 53, 0.22);
}

    .btn-primary:hover,
    .header-cta:hover {
        background: var(--green-dark);
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(63, 122, 53, 0.28);
    }

.btn-secondary {
    background: var(--white);
    color: var(--green-dark);
    border: 1px solid var(--border);
}

    .btn-secondary:hover {
        border-color: var(--green);
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 1px solid rgba(63, 122, 53, 0.35);
}

    .btn-outline:hover {
        background: var(--green-soft);
        border-color: var(--green);
    }


/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.top-strip {
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.85rem;
}

.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 36px;
}

.top-strip a {
    font-weight: 700;
}

    .top-strip a:hover {
        text-decoration: underline;
    }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 88px;
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

    .brand img {
        width: 220px;
        max-height: 64px;
        object-fit: contain;
    }

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
}

    .main-nav a {
        position: relative;
        padding: 10px 13px;
        color: var(--charcoal);
        font-weight: 700;
        font-size: 0.95rem;
        border-radius: 999px;
        transition: background 0.2s ease, color 0.2s ease;
    }

        .main-nav a:hover,
        .main-nav a.active {
            background: var(--green-soft);
            color: var(--green-dark);
        }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 999px;
    cursor: pointer;
    padding: 10px;
}

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--black);
        margin: 5px 0;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


/* ---------- Hero Sections ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbf7 0%, #ffffff 45%, #edf5eb 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 54px;
    align-items: center;
    padding: 82px 0;
}

.hero-content {
    max-width: 680px;
}

    .hero-content p {
        max-width: 620px;
        color: var(--grey);
        font-size: 1.12rem;
    }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 420px;
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: min(86%, 360px);
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

    .hero-badge strong {
        display: block;
        color: var(--green-dark);
        margin-bottom: 4px;
    }

    .hero-badge p {
        margin: 0;
        font-size: 0.92rem;
        color: var(--grey);
    }

.page-hero {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
    padding: 78px 0;
}

    .page-hero h1,
    .page-hero p {
        color: var(--white);
    }

    .page-hero p {
        max-width: 720px;
        font-size: 1.08rem;
        opacity: 0.92;
    }


/* ---------- Sections ---------- */

.section {
    padding: 86px 0;
}

.section-light {
    background: var(--light-grey);
}

.section-green-soft {
    background: var(--green-soft);
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 38px;
}

.section-header-text {
    max-width: 780px;
}


/* ---------- Cards and Grids ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

    .card-grid.two {
        grid-template-columns: repeat(2, 1fr);
    }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.card-image {
    height: 230px;
    overflow: hidden;
    background: var(--light-grey);
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.card:hover .card-image img {
    transform: scale(1.04);
}

.card-content {
    padding: 24px;
}

    .card-content h3 {
        margin-bottom: 10px;
    }

    .card-content p {
        color: var(--grey);
        margin-bottom: 0;
    }

.info-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 800;
    font-size: 1.2rem;
}

.info-card h3 {
    margin-bottom: 10px;
}

.info-card p {
    margin-bottom: 0;
    color: var(--grey);
}


/* ---------- Split Content ---------- */

.split-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 54px;
    align-items: center;
}

.split-image {
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

    .split-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.check-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

    .check-list li {
        position: relative;
        padding-left: 34px;
        color: var(--charcoal);
    }

        .check-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: -1px;
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--green);
            color: var(--white);
            border-radius: 50%;
            font-size: 0.8rem;
            font-weight: 800;
        }


/* ---------- Download Cards ---------- */

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.download-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

    .download-card span {
        display: inline-block;
        margin-bottom: 14px;
        color: var(--green);
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .download-card h3 {
        margin-bottom: 10px;
    }

    .download-card p {
        color: var(--grey);
    }

    .download-card .btn {
        margin-top: 8px;
    }


/* ---------- Contact Page ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.validator-message {
    display: block;
    margin-top: 6px;
    color: #9a1e1e;
    font-size: 0.86rem;
    font-weight: 700;
}

.contact-panel,
.form-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
}

.contact-panel {
    overflow: hidden;
}

.contact-panel-image {
    height: 290px;
}

    .contact-panel-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.contact-panel-content {
    padding: 28px;
}

.contact-detail {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

    .contact-detail:last-child {
        border-bottom: 0;
    }

    .contact-detail strong {
        color: var(--black);
    }

    .contact-detail a {
        color: var(--green-dark);
        font-weight: 700;
    }

.form-panel {
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 7px;
        color: var(--black);
        font-weight: 700;
        font-size: 0.92rem;
    }

.form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--white);
    color: var(--charcoal);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(63, 122, 53, 0.12);
}

.form-message {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 12px;
    font-weight: 700;
}

    .form-message.success {
        background: var(--green-soft);
        color: var(--green-dark);
        border: 1px solid rgba(63, 122, 53, 0.25);
    }

    .form-message.error {
        background: #fff2f2;
        color: #9a1e1e;
        border: 1px solid #f1c4c4;
    }


/* ---------- CTA Band ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: 58px;
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

    .cta-band h2,
    .cta-band p {
        color: var(--white);
    }

    .cta-band p {
        max-width: 680px;
        opacity: 0.92;
    }

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.cta-band .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
}


/* ---------- Footer ---------- */

.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 1fr 1fr;
    gap: 42px;
    padding: 62px 0;
}

.footer-brand img {
    width: 220px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 360px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-column a,
.footer-column p {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
}

    .footer-column a:hover {
        color: var(--white);
    }

.footer-button {
    width: fit-content;
    margin-top: 10px;
    background: var(--green);
    color: var(--white) !important;
}

    .footer-button:hover {
        background: var(--green-dark);
        transform: translateY(-2px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}


/* ---------- Utility Classes ---------- */

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.center {
    text-align: center;
}

.max-width-small {
    max-width: 640px;
}

.max-width-medium {
    max-width: 820px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}


/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
    .header-cta {
        display: none;
    }

    .hero-grid,
    .split-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 64px 0;
    }

    .hero-image {
        min-height: 360px;
    }

    .card-grid,
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 780px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .top-strip-inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 2px;
        padding: 8px 0;
    }

    .header-inner {
        min-height: 78px;
        gap: 14px;
    }

    .brand img {
        width: 180px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
    }

        .main-nav.is-open {
            display: flex;
        }

        .main-nav a {
            padding: 13px 14px;
        }

    .section,
    .page-hero {
        padding: 58px 0;
    }

    .section-header {
        display: block;
    }

    .hero-grid {
        gap: 36px;
        padding: 54px 0;
    }

    .hero-image {
        min-height: 320px;
    }

    .hero-badge {
        left: 16px;
        bottom: 16px;
        padding: 15px;
    }

    .card-grid,
    .card-grid.two,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 220px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-band {
        padding: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 48px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 460px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .brand img {
        width: 158px;
    }

    .hero-image {
        min-height: 260px;
    }

    .contact-panel-image {
        height: 230px;
    }

    .form-panel {
        padding: 24px;
    }

    .cta-band {
        padding: 28px;
    }
}

/* ---------- Fix Green Section Contrast ---------- */

.page-hero .section-label {
    color: rgba(255, 255, 255, 0.82);
}

    .page-hero .section-label::before {
        background: rgba(255, 255, 255, 0.45);
    }

.cta-band .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

    .cta-band .btn-outline:hover {
        color: var(--white);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.85);
    }

.cta-band .btn-secondary {
    color: var(--green-dark);
    background: var(--white);
}

    .cta-band .btn-secondary:hover {
        color: var(--green-dark);
        background: #f4f7f2;
    }

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(2.1rem, 4vw, 4rem);
}