/* ==========================================================
   HASMI - HOME PAGE
   home.css

   Homepage-specifieke styling.
   Algemene kleuren, typografie en buttons staan in:
   variables.css / base.css / components.css
   ========================================================== */


/* ==========================================================
   1. HOME PAGE
   ========================================================== */

.home-page {
    overflow: hidden;
}


/* ==========================================================
   2. HERO
   ========================================================== */

.home-hero {
    position: relative;
    background: #f5f7fa;
    padding: 5rem 0;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 4rem;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.home-hero__eyebrow {
    margin: 0 0 1rem;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero__title {
    margin: 0;
    color: #1f2933;
    font-size: clamp(2.6rem, 5vw, 3.0rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.home-hero__title span {
    display: block;
    color: var(--color-primary);
}

.home-hero__text {
    max-width: 570px;
    margin: 1.75rem 0 0;
    color: #4b5563;
    font-size: 1.15rem;
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}


/* Hero image */

.home-hero__image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 0.75rem;
}

.home-hero__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            135deg,
            rgba(67, 124, 191, 0.08),
            transparent 50%
        );
    pointer-events: none;
}

.home-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}


/* Hero badge */

.home-hero__badge {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.home-hero__badge strong {
    color: var(--color-primary);
    font-size: var(--font-size-md);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.home-hero__badge span {
    color: #4b5563;
    font-size: var(--font-size-xs);
}


/* ==========================================================
   3. SEARCH
   ========================================================== */

.home-search {
    position: relative;
    z-index: 3;
    margin-top: -2.5rem;
}

.home-search__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border-top: 4px solid  var(--color-accent);
    box-shadow: 0 12px 40px rgba(31, 41, 51, 0.12);
}

.home-search__content {
    min-width: 0;
}

.home-search__title {
    margin: 0.15rem 0 0;
    color: #1f2933;
    font-size: 1.35rem;
    line-height: 1.25;
}

.home-search__text {
    margin: 0.45rem 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.home-search__form {
    display: flex;
    gap: 0.75rem;
}

.home-search__form input {
    flex: 1;
    min-width: 0;
    height: 3.2rem;
    padding: 0 1rem;
    color: #1f2933;
    background: #f7f8fa;
    border: 1px solid #d8dde3;
    border-radius: 0.35rem;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.home-search__form input:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(67, 124, 191, 0.12);
}

.home-search__form input::placeholder {
    color: #9aa3ad;
}

.home-search__form .button {
    flex-shrink: 0;
}


/* ==========================================================
   4. GENERIC HOME SECTION
   ========================================================== */

.home-section {
    padding: 6rem 0;
    background: #ffffff;
}

.home-section--light {
    background: #f5f7fa;
}

.home-section--products {
    padding-top: 7rem;
}

.home-section__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 3rem;
}

.home-section__eyebrow {
    margin: 0 0 0.65rem;
    color:  var(--color-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-section__title {
    margin: 0;
    color: #1f2933;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.home-section__intro {
    max-width: 620px;
    margin: 0;
    color: #5b6570;
    font-size: var(--font-size-md);
    line-height: 1.7;
}

.home-section__footer {
    margin-top: 2.5rem;
    text-align: center;
}


/* ==========================================================
   5. CATEGORY CARDS
   ========================================================== */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-category-grid--solutions {
    margin-top: 3rem;
}

.home-category-card {
    display: block;
    overflow: hidden;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 0.5rem;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.home-category-card:hover {
    border-color: rgba(67, 124, 191, 0.45);
    box-shadow: 0 16px 40px rgba(31, 41, 51, 0.12);
    transform: translateY(-5px);
}

.home-category-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef1f4;
}

.home-category-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.home-category-card:hover .home-category-card__image img {
    transform: scale(1.045);
}

.home-category-card__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 100px;
    padding: 1.25rem 1.35rem;
}

.home-category-card__title {
    margin: 0;
    color: #1f2933;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.home-category-card__text {
    margin: 0.35rem 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.home-category-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    color: #ffffff;
    background: var(--color-primary);
    border-radius: 50%;
    font-size: 1.2rem;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.home-category-card:hover .home-category-card__arrow {
    background: #ec7b0b;
    transform: translateX(3px);
}


/* ==========================================================
   6. TEXT LINK
   ========================================================== */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    background-color: var( --color-background);
    font-weight: 700;
    text-decoration: none;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover {
    color: #ec7b0b;
}

.text-link:hover span {
    transform: translateX(4px);
}


/* ==========================================================
   7. VALUES
   ========================================================== */

.home-values {
    padding: 6rem 0;
    color: #ffffff;
    background: #1f2933;
}

.home-values__header {
    max-width: 720px;
    margin-bottom: 3.5rem;
}

.home-values .home-section__eyebrow {
    color: #ec7b0b;
}

.home-values .home-section__title {
    color: #ffffff;
}

.home-values__intro {
    max-width: 820px;
    margin: 1rem 0 0;
    color: #c7ced6;
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.home-value {
    position: relative;
    padding: 2.5rem 2rem 1rem 0;
}

.home-value + .home-value {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.home-value__number {
    margin-bottom: 1.5rem;
    color: #ec7b0b;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.home-value__title {
    margin: 0;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
}

.home-value__text {
    margin: 0.85rem 0 0;
    color: #b9c2cb;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ==========================================================
   8. SOLUTIONS
   ========================================================== */

.home-solutions {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 5rem;
}

.home-solutions__image {
    overflow: hidden;
    border-radius: 0.5rem;
}

.home-solutions__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-solutions__content {
    max-width: 580px;
}

.home-solutions__content .home-section__title span {
    display: block;
    color: var(--color-primary);
}

.home-solutions__content .home-section__intro {
    margin-top: 1.25rem;
}

.home-solutions__content .button {
    margin-top: 1rem;
}


/* ==========================================================
   9. QUOTE CTA
   ========================================================== */

.home-quote {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    color: #ffffff;
    background: var(--color-primary);
}

.home-quote::after {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    content: "";
    border: 60px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.home-quote__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.home-quote .home-section__eyebrow {
    color: #ffffff;
    opacity: 0.85;
}

.home-quote__content {
    max-width: 760px;
}

.home-quote__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.home-quote__text {
    max-width: 680px;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-quote__action {
    flex: 0 0 auto;
}


/* ==========================================================
   10. CONTACT
   ========================================================== */

.home-contact {
    padding: 4.5rem 0;
    background: #ffffff;
}

.home-contact__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem;
    background: #f5f7fa;
    border-left: 5px solid #ec7b0b;
}

.home-contact__title {
    margin: 0;
    color: #1f2933;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 750;
    line-height: 1.15;
}

.home-contact__text {
    max-width: 680px;
    margin: 0.85rem 0 0;
    color: #5b6570;
    line-height: 1.7;
}


/* ==========================================================
   11. BUTTONS
   ========================================================== */

/*
   Deze regels zijn bewust beperkt.
   Als button-styling al in components.css staat,
   overschrijven we alleen wat specifiek voor de homepage
   nodig is.
*/

.home-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border-radius: 0.3rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.home-page .button:hover {
    transform: translateY(-1px);
}

.home-page .button--primary {
    color: #ffffff;
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.home-page .button--primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.home-page .button--secondary {
    color: var(--color-primary);
    background: #ffffff;
    border: 1px solid var(--color-primary);
}

.home-page .button--secondary:hover {
    color: #ffffff;
    background: var(--color-primary);
}

.home-page .button--light {
    color: var(--color-primary);
    background: #ffffff;
    border: 1px solid #ffffff;
}

.home-page .button--light:hover {
    color: #ffffff;
    background: #1f2933;
    border-color: #1f2933;
}


/* ==========================================================
   12. RESPONSIVE - LARGE TABLET / SMALL DESKTOP
   ========================================================== */

@media (max-width: 1100px) {

    .home-hero {
        padding: 4rem 0;
    }

    .home-hero__grid {
        gap: 2.5rem;
    }

    .home-hero__title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .home-solutions {
        gap: 3rem;
    }

    .home-section {
        padding: 5rem 0;
    }

}


/* ==========================================================
   13. RESPONSIVE - TABLET
   ========================================================== */

@media (max-width: 900px) {

    .home-hero__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__content {
        max-width: 720px;
    }

    .home-hero__image {
        min-height: 400px;
    }

    .home-hero__image img {
        min-height: 400px;
    }


    .home-search__inner {
        grid-template-columns: 1fr;
    }


    .home-section__header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }


    .home-solutions {
        grid-template-columns: 1fr;
    }

    .home-solutions__content {
        max-width: 720px;
    }


    .home-values__grid {
        grid-template-columns: 1fr;
    }

    .home-value,
    .home-value + .home-value {
        padding: 2rem 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .home-value:first-child {
        border-top: 0;
    }


    .home-quote__inner {
        align-items: flex-start;
        flex-direction: column;
    }


    .home-contact__inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ==========================================================
   14. RESPONSIVE - MOBILE
   ========================================================== */

@media (max-width: 640px) {

    .home-hero {
        padding: 3rem 0;
    }

    .home-hero__title {
        font-size: 2.55rem;
    }

    .home-hero__text {
        font-size: 1rem;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .button {
        width: 100%;
    }


    .home-hero__image {
        min-height: 280px;
        border-radius: 0.4rem;
    }

    .home-hero__image img {
        min-height: 280px;
    }

    .home-hero__badge {
        right: 1rem;
        bottom: 1rem;
    }


    .home-search {
        margin-top: -1.5rem;
    }

    .home-search__inner {
        padding: 1.5rem;
    }

    .home-search__form {
        align-items: stretch;
        flex-direction: column;
    }

    .home-search__form input {
        width: 100%;
    }


    .home-section {
        padding: 4rem 0;
    }

    .home-section--products {
        padding-top: 5rem;
    }

    .home-section__title {
        font-size: 2rem;
    }


    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-card__content {
        min-height: 90px;
    }


    .home-values {
        padding: 4rem 0;
    }


    .home-solutions {
        gap: 2.5rem;
    }

    .home-solutions__image img {
        aspect-ratio: 16 / 10;
    }


    .home-quote {
        padding: 4rem 0;
    }

    .home-quote__title {
        font-size: 2rem;
    }

    .home-contact {
        padding: 3rem 0;
    }

    .home-contact__inner {
        padding: 2rem 1.5rem;
    }

}


/* ==========================================================
   15. VERY SMALL SCREENS
   ========================================================== */

@media (max-width: 400px) {

    .home-hero__title {
        font-size: 2.25rem;
    }

    .home-hero__badge {
        position: static;
        margin-top: 0.75rem;
        border-left: 0;
        border-top: 3px solid #ec7b0b;
    }

    .home-hero__image {
        overflow: visible;
    }

}