/* =========================================================
   ROBAU
   Mobile first homepage starter
   Bootstrap = structure / responsive utilities
   Custom CSS = visual identity
   ========================================================= */

:root {
    --robau-navy: #041a3c;
    --robau-navy-deep: #021632;
    --robau-orange: #fe6c02;
    --robau-offwhite: #f3f1ed;
    --robau-concrete: #d7d5d0;
    --robau-charcoal: #121212;
    --robau-white: #ffffff;

    --section-space: 5.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--robau-charcoal);
    color: var(--robau-navy);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.site-header {
    z-index: 1030;
}

.brand-logo,
.offcanvas-logo {
    width: 128px;
    height: auto;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.menu-icon i {
    display: block;
    height: 3px;
    background: #fff;
}

.menu-links {
    display: flex;
    flex-direction: column;
}

.menu-links a {
    padding: .65rem 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -.04em;
}

.menu-links a:hover {
    color: var(--robau-orange);
}

/* HERO
   Diagonal = one continuous line:
   left bottom 100% -> right 90%
*/
.hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 9rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("../assets/project-bar.jpg");
    background-size: cover;
    background-position: 54% center;
    transform: scale(1.015);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .48) 56%, rgba(0, 0, 0, .18) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, 0) 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.display-hero,
.display-section,
.project-card h3 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.055em;
}

.display-hero {
    font-size: clamp(4.25rem, 18vw, 7rem);
    line-height: .82;
}

.hero-intro {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
}

.robau-link {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    padding-bottom: .3rem;
    border-bottom: 2px solid var(--robau-orange);
    color: var(--robau-navy);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: -.01em;
}

.robau-link span {
    color: var(--robau-orange);
    font-size: 1.35em;
    transition: transform .2s ease;
}

.robau-link:hover span {
    transform: translateX(.25rem);
}

.robau-link-light {
    color: #fff;
}

/* INTRO */
.section-light {
    background: var(--robau-offwhite);
}

.intro-section {
    position: relative;
    margin-top: -6.5rem;
    padding: 10rem 0 var(--section-space);
    z-index: 1;
    clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
}

.eyebrow {
    color: var(--robau-orange);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: .8rem;
}

.display-section {
    font-size: clamp(3rem, 13vw, 5.6rem);
    line-height: .86;
}

.section-copy {
    max-width: 33rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

/* PROJECTS */
.projects {
    background: #000;
}

.project-card {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.project-card-media,
.project-card-overlay {
    position: absolute;
    inset: 0;
}

.project-card-media {
    background-size: cover;
    background-position: center;
    transition: transform .7s ease;
}

.project-card:hover .project-card-media {
    transform: scale(1.025);
}

.project-bar {
    background-image: url("../assets/project-bar.jpg");
    background-position: center;
}

.project-facade {
    background-image: url("../assets/projects/gevelrenovatie/05-eindresultaat.webp");
    background-position: center;
}

.project-shop {
    background-image: url("../assets/projects/winkelpand/02-eindresultaat.webp");
    background-position: center;
}

.project-veranda {
    background-image: url('../assets/projects/veranda/07.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.project-card-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.16));
}

.project-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 1.5rem;
}

.project-card h3 {
    margin: 0;
    font-size: clamp(2.2rem, 10vw, 4.2rem);
    line-height: .9;
}

.project-card p {
    margin: .65rem 0 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.project-placeholder {
    isolation: isolate;
}

.project-placeholder-blue {
    background:
        linear-gradient(135deg, rgba(2,22,50,.2), rgba(2,22,50,.95)),
        var(--robau-navy);
}

.project-placeholder-dark {
    background:
        linear-gradient(135deg, #2b2b2b, #080808);
}

.project-placeholder::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 120px;
    background: rgba(255,255,255,.035);
    transform: rotate(-6deg);
    left: -20%;
    top: 35%;
}

.project-placeholder-label {
    position: absolute;
    right: -.25rem;
    top: 1.5rem;
    font-size: clamp(4.4rem, 22vw, 8rem);
    line-height: .74;
    font-weight: 900;
    text-align: right;
    letter-spacing: -.08em;
    color: rgba(255,255,255,.045);
}

/* SERVICES */
.services-section {
    padding: var(--section-space) 0;
}

.service-grid {
    border-top: 1px solid rgba(4,26,60,.18);
}

.service-item {
    height: 100%;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(4,26,60,.18);
}

.service-number {
    display: inline-block;
    margin-bottom: 2.2rem;
    color: var(--robau-orange);
    font-weight: 900;
    font-size: .82rem;
}

.service-item h3 {
    margin-bottom: .8rem;
    font-size: 1.15rem;
    text-transform: uppercase;
    font-weight: 900;
}

.service-item p {
    margin-bottom: 0;
    max-width: 24rem;
    line-height: 1.55;
}

/* BUSINESS */
.business-section {
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0 7rem;
    background: var(--robau-navy-deep);
}

.business-texture {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2,22,50,.98), rgba(2,22,50,.68)),
        url("../assets/project-bar.jpg") center / cover;
    opacity: .84;
}

.business-section p {
    max-width: 30rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

/* CONTACT */
.contact-section {
    padding: 5rem 0;
    background:
        linear-gradient(rgba(20,20,20,.88), rgba(20,20,20,.88)),
        url("../assets/project-bar.jpg") center / cover;
}

.btn-robau {
    border-radius: 0;
    border: 0;
    padding: 1rem 1.35rem;
    background: var(--robau-orange);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

.btn-robau:hover {
    background: #e85f00;
    color: #fff;
}

/* FOOTER */
.site-footer {
    padding: 2.5rem 0;
    background: #03152f;
    color: #fff;
}

.footer-logo {
    width: 145px;
}

.footer-links a {
    color: rgba(255,255,255,.76);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 800;
}

.footer-links a:hover {
    color: #fff;
}

/* =========================================================
   FOOTER - BEDRIJFSGEGEVENS
   ========================================================= */

.footer-company {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-company-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    font-size: 0.8rem;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-company-address,
.footer-company-contact,
.footer-company-legal {
    display: flex;
    flex-direction: column;
}

.footer-company-address span:first-child {
    font-weight: 800;
}

.footer-company-contact a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-company-contact a:hover {
    opacity: 0.65;
}


/* >= 768px */
@media (min-width: 768px) {

    .footer-company {
        margin-top: 4rem;
        padding: 1.75rem 0;
    }

    .footer-company-inner {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
    }

    .footer-company-contact {
        text-align: center;
    }

    .footer-company-legal {
        text-align: right;
    }
}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .project-card-media,
    .robau-link span {
        transition: none;
    }
}

/* >= 576px */
@media (min-width: 576px) {
    :root {
        --section-space: 6.5rem;
    }

    .hero {
        min-height: 800px;
    }

    .service-item {
        padding: 2.25rem 1.5rem;
        border-right: 1px solid rgba(4,26,60,.18);
    }
}

/* >= 768px */
@media (min-width: 768px) {
    .brand-logo {
        width: 160px;
    }

    .hero {
        min-height: 850px;
        padding-bottom: 11rem;
    }

    .hero-media {
        background-position: center;
    }

    .project-card {
        min-height: 540px;
    }

    .project-card-content {
        padding: 4rem;
    }
}

/* >= 992px */
@media (min-width: 992px) {

    :root {
        --section-space: 8rem;
    }

    .site-header .container-fluid,
    .hero-content,
    .intro-section .container-fluid,
    .services-section .container-fluid,
    .business-section .container-fluid,
    .contact-section .container-fluid,
    .site-footer .container-fluid {
        padding-left: 4.5rem !important;
        padding-right: 4.5rem !important;
    }

    .hero {
        min-height: 930px;
        padding-bottom: 15rem;
        clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    }

    .display-hero {
        font-size: clamp(7rem, 10vw, 11rem);
    }

    .hero-intro {
        font-size: 1.35rem;
    }

    .intro-section {
        margin-top: -10rem;
        padding-top: 14rem;
        padding-bottom: 11rem;
        clip-path: polygon(0 9%, 100% 0, 100% 91%, 0 100%);
    }

    /* PROJECTEN HOMEPAGE */

    .projects {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .project-card {
        min-height: 600px;
        min-width: 0;
    }

    /* Project 1: Horecabar - volledige breedte */
    .project-card:nth-child(1) {
        grid-column: 1 / -1;
    }

    /* Project 2 en 3: naast elkaar */
    .project-card:nth-child(2),
    .project-card:nth-child(3) {
        grid-column: span 6;
    }

    /* Project 4: Veranda - volledige breedte */
    .project-card:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* DIENSTEN */

    .service-item {
        padding: 2.5rem 2rem;
        border-bottom: 0;
    }
}

/* =========================================================
   ROBAU – Algemene projectenpagina
   Extends css/style.css
   Mobile first
   ========================================================= */

.projects-page {
    background: var(--robau-offwhite);
}

/* HERO */
.projects-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 9.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.projects-hero-media,
.projects-hero-overlay {
    position: absolute;
    inset: 0;
}

.projects-hero-media {
    background-image: url("../assets/projects/bar/04-eindresultaat.webp");
    background-size: cover;
    background-position: 56% center;
    transform: scale(1.02);
}

.projects-hero-overlay {
    background:
        linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.52) 56%, rgba(0,0,0,.15) 100%),
        linear-gradient(0deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,0) 58%);
}

.projects-hero-content {
    position: relative;
    z-index: 2;
}

.projects-title {
    font-size: clamp(4.4rem, 19vw, 7.5rem);
    line-height: .80;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.065em;
}

.projects-lead {
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.5;
    font-weight: 700;
}

/* INTRO */
.projects-intro {
    margin-top: -6.5rem;
    padding: 10rem 0 6rem;
}

.projects-copy {
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* PROJECT OVERVIEW */
.projects-overview {
    background: #050505;
}

.project-row {
    position: relative;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.project-row-link {
    position: relative;
    display: block;
    min-height: 520px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.project-row-media,
.project-row-overlay,
.project-row-content {
    position: absolute;
    inset: 0;
}

.project-row-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}

.project-row-overlay {
    background:
        linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.38) 58%, rgba(0,0,0,.08) 100%),
        linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 55%);
    transition: background .3s ease;
}

.project-row-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.5rem;
}

.project-row-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--robau-orange);
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 900;
}

.project-row-meta span:first-child {
    min-width: 2rem;
}

.project-row-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.project-row h2 {
    margin: 0;
    max-width: 90%;
    color: #fff;
    font-size: clamp(2.7rem, 13vw, 5.5rem);
    line-height: .84;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.055em;
}

.project-row p {
    margin: .7rem 0 0;
    color: rgba(255,255,255,.82);
    text-transform: uppercase;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.project-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.55);
    color: var(--robau-orange);
    font-size: 1.65rem;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

/* CTA */
.projects-cta {
    padding: 6rem 0;
    background:
        linear-gradient(90deg, rgba(15,15,15,.96), rgba(15,15,15,.72)),
        url("../assets/projects/winkelpand/12-eindresultaat.webp") center / cover;
}

/* Footer bedrijfsgegevens */
.footer-company {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.15);
}

.footer-company-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: rgba(255,255,255,.72);
    font-size: .8rem;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.footer-company-address,
.footer-company-contact,
.footer-company-legal {
    display: flex;
    flex-direction: column;
}

.footer-company-address span:first-child {
    color: #fff;
    font-weight: 800;
}

.footer-company-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-company-contact a:hover {
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    .project-row-link:hover .project-row-media img {
        transform: scale(1.035);
    }

    .project-row-link:hover .project-arrow {
        transform: translateX(.35rem);
        background: var(--robau-orange);
        border-color: var(--robau-orange);
        color: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-row-media img,
    .project-arrow {
        transition: none;
    }
}

/* >= 576px */
@media (min-width: 576px) {
    .project-row-link {
        min-height: 620px;
    }

    .project-row-content {
        padding: 2.5rem;
    }
}

/* >= 768px */
@media (min-width: 768px) {
    .projects-hero {
        min-height: 850px;
        padding-bottom: 12rem;
    }

    .projects-title {
        font-size: clamp(6rem, 13vw, 9rem);
    }

    .projects-lead {
        font-size: 1.25rem;
    }

    .project-row-link {
        min-height: 700px;
    }

    .project-row-content {
        padding: 3.5rem;
    }

    .project-arrow {
        width: 64px;
        height: 64px;
        font-size: 1.9rem;
    }

    .footer-company-inner {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
    }

    .footer-company-contact {
        text-align: center;
    }

    .footer-company-legal {
        text-align: right;
    }
}

/* >= 992px */
@media (min-width: 992px) {
    .projects-hero .container-fluid,
    .projects-intro .container-fluid,
    .projects-cta .container-fluid {
        padding-left: 4.5rem !important;
        padding-right: 4.5rem !important;
    }

    .projects-hero {
        min-height: 930px;
        padding-bottom: 15rem;
        clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    }

    .projects-hero-media {
        background-position: center;
    }

    .projects-intro {
        margin-top: -9.5rem;
        padding-top: 14rem;
        padding-bottom: 8rem;
    }

    .project-row-link {
        min-height: 760px;
    }

    .project-row-content {
        padding: 4.5rem;
    }

    .project-row h2 {
        max-width: 75%;
        font-size: clamp(4.8rem, 7vw, 8rem);
    }

    .project-row p {
        font-size: .95rem;
    }

    .projects-cta {
        padding: 8rem 0;
    }
}

