/* ============================================================
   homepage.css  –  Homepage redesign + site-wide footer
   ============================================================ */

/* ----------------------------------------------------------
   1. TRANSPARENT NAV (home page only)
   ---------------------------------------------------------- */
body.page-home #headerall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%) !important;
    box-shadow: none !important;
}

body.page-home #header {
    background: transparent !important;
}

/* Top-level nav links only — white on hero */
body.page-home #menu > li > a,
body.page-home #menu > li > a:visited {
    color: #fff !important;
}

body.page-home #menu > li:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Dropdown links — keep dark on white card */
body.page-home .nav-dropdown {
    background: #fff !important;
}
body.page-home .nav-dropdown .col_1 h3 a,
body.page-home .nav-dropdown .col_1 h3 a:visited {
    color: #444 !important;
}
body.page-home .nav-dropdown .col_1 h3 a:hover {
    color: var(--color-palette-1) !important;
}

body.page-home #menu-toggle span {
    background: #fff !important;
}

body.page-home #header {
    height: 80px;
}

/* ----------------------------------------------------------
   2. SHARED TOKENS
   ---------------------------------------------------------- */
.hp-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-palette-3);
    margin-bottom: 14px;
}

/* Green-outline button */
.hp-btn--primary {
    display: inline-block;
    padding: 13px 32px;
    border: 2px solid var(--color-palette-1);
    color: var(--color-palette-1);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.hp-btn--primary:hover {
    background: var(--color-palette-1);
    color: #fff;
}

/* White-outline button */
.hp-btn--light {
    display: inline-block;
    padding: 13px 32px;
    border: 2px solid var(--color-palette-1);
    color: #fff;
    background: var(--color-palette-1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.hp-btn--light:hover {
    background: var(--color-palette-1-dark);
    border: 2px solid var(--color-palette-1-dark);
    color: #fff;
}

.text-center { text-align: center; }

/* ----------------------------------------------------------
   3. HERO
   ---------------------------------------------------------- */
.hp-hero {
    position: relative;
    min-height: 88vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 100px;    /* keeps content below the absolute header */
    padding-bottom: 70px;
}

.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.60) 0%,
        rgba(1, 82, 51, 0.20) 45%,
        rgba(0, 0, 0, 0.68) 100%
    );
    z-index: 1;
}

.hp-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 780px;
    padding: 0 30px;
}

.hp-hero__title {
    margin: 0 0 20px 0;
    line-height: 1;
    color: var(--color-palette-1);
}

.hp-hero__title .ht-sm {
    display: block;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-palette-1);
    letter-spacing: 0.04em;
}

.hp-hero__title .ht-xl {
    display: block;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-palette-1);
}

.hp-hero__title .ht-md {
    display: block;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-palette-1);
}

.hp-hero__title .ht-lg {
    display: block;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-palette-1);
}

.hp-hero__para {
    color: var(--color-palette-1);
    font-size: 15px;
    max-width: 480px;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

/* ----------------------------------------------------------
   4. ABOUT
   ---------------------------------------------------------- */
.hp-about {
    display: flex;
    min-height: 500px;
    padding: 30px 0px;
    background: #fff;
}

.hp-about__img {
    flex: 0 0 50%;
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.hp-about__body {
    flex: 0 0 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
}

.hp-about__body h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-palette-1);
    margin: 0 0 18px 0;
    line-height: 1.15;
}

.hp-about__body p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 32px;
}

/* ----------------------------------------------------------
   5. STATS
   ---------------------------------------------------------- */
.hp-stats {
    display: flex;
    min-height: 420px;
    padding: 30px 0px;
    background: #fff;
}

.hp-stats__left {
    flex: 0 0 50%;
    background: var(--color-palette-2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
}

.hp-stats__left .hp-label {
    color: var(--color-palette-1);
}

.hp-stats__left h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-palette-1);
    margin: 0 0 28px 0;
    line-height: 1.15;
    max-width: 420px;
}

.hp-stats__right {
    flex: 0 0 50%;
    background: var(--color-palette-2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
}

.hp-stats__intro {
    font-size: 15px;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 36px;
    max-width: 440px;
}

.hp-stats__numbers {
    display: flex;
    gap: 40px;
}

.hp-stat__num {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.hp-stat__divider {
    width: 36px;
    height: 3px;
    background: var(--color-palette-3);
    margin-bottom: 8px;
    display: none;
}

.hp-stat__sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    font-weight: 700;
}

/* ----------------------------------------------------------
   6. PRODUCTS
   ---------------------------------------------------------- */
.hp-products {
    display: flex;
    min-height: 500px;
    padding: 30px 0px;
    background: #fff;
}

.hp-products__body {
    flex: 0 0 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
}

.hp-products__body h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-palette-1);
    margin: 0 0 18px 0;
    line-height: 1.15;
}

.hp-products__body p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 32px;
}

.hp-products__img {
    flex: 0 0 50%;
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

/* ----------------------------------------------------------
   7. FOOTER  (all pages)
   ---------------------------------------------------------- */
#site-footer {
    background: var(--color-palette-1);
    color: var(--color-palette-4);
    padding: 60px 0 0;
    font-size: 14px;
}

.ft-body {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 30px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}

/* Brand column */
.ft-brand {
    flex: 0 0 240px;
}

.ft-logo-img {
    filter: brightness(0) invert(1);
    max-width: 160px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.ft-tagline {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Nav columns */
.ft-col {
    flex: 1 1 120px;
    min-width: 100px;
}

.ft-col--contact {
    flex: 1 1 260px;
}

.ft-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    margin: 0 0 16px 0;
}

.ft-heading--newsletter {
    margin-top: 28px;
}

.ft-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ft-links li {
    margin-bottom: 10px;
}

.ft-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.ft-links a:hover {
    color: var(--color-palette-2);
}

/* Office text */
.ft-office-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.ft-office-text p {
    margin: 0 0 6px 0;
}

/* Newsletter */
.ft-ns-form {
    margin: 0;
}

.ft-ns-row {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.30);
    overflow: hidden;
}

.ft-ns-input {
    flex: 1 1 auto;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.ft-ns-input::placeholder {
    color: rgba(255, 255, 255, 0.40);
}

.ft-ns-btn {
    flex: 0 0 auto;
    background: var(--color-palette-2);
    color: var(--color-palette-1);
    border: none;
    padding: 10px 18px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.ft-ns-btn:hover {
    background: var(--color-palette-2-dark);
}

/* Footer bottom bar */
.ft-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 30px 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ft-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ft-social-icon:hover {
    background: var(--color-palette-2);
    border-color: var(--color-palette-2);
    color: var(--color-palette-1);
}

.ft-bottom-center {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

.ft-bottom-center #gdprlinks {
    display: inline;
}

.ft-bottom-center #gdprlinks a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 12px;
}

.ft-bottom-center #gdprlinks a:hover {
    color: var(--color-palette-2);
}

/* ----------------------------------------------------------
   8. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 900px) {

    /* About */
    .hp-about {
        flex-direction: column;
    }
    .hp-about__img {
        min-height: 300px;
        flex: none;
    }
    .hp-about__body {
        flex: none;
        padding: 40px 30px;
    }

    /* Stats */
    .hp-stats {
        flex-direction: column;
    }
    .hp-stats__left,
    .hp-stats__right {
        flex: none;
        padding: 40px 30px;
    }

    /* Products */
    .hp-products {
        flex-direction: column-reverse;
    }
    .hp-products__img {
        min-height: 300px;
        flex: none;
    }
    .hp-products__body {
        flex: none;
        padding: 40px 30px;
    }

    /* Hero */
    .hp-hero { padding-top: 80px; padding-bottom: 50px; }
    .hp-hero__content { padding: 0 30px; }
    .hp-hero__title .ht-xl { font-size: 48px; }
    .hp-hero__title .ht-lg { font-size: 38px; }
    .hp-hero__title .ht-md { font-size: 28px; }
    .hp-hero__title .ht-sm { font-size: 16px; }

    /* Footer */
    .ft-body {
        flex-direction: column;
        gap: 30px;
    }
    .ft-brand {
        flex: none;
    }
    .ft-col,
    .ft-col--contact {
        flex: none;
    }
}

@media (max-width: 600px) {

    .hp-hero { min-height: 70vh; padding-top: 70px; padding-bottom: 40px; }
    .hp-hero__title .ht-xl { font-size: 38px; }
    .hp-hero__title .ht-lg { font-size: 30px; }
    .hp-hero__title .ht-md { font-size: 24px; }
    .hp-hero__title .ht-sm { font-size: 14px; }

    .hp-stats__numbers {
        flex-direction: column;
        gap: 24px;
    }

    .hp-stat__num {
        font-size: 42px;
    }

    .ft-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-bottom-center {
        text-align: left;
    }
}

