/* ========================================
   Impact Page - Aqua+ style
   SpaarElektra black/red color scheme
   ======================================== */

/* ========================================
   HERO - beige bg, photo upper-right
   ======================================== */
.imp-hero {
    position: relative;
    background: var(--bg-light);
    padding: 0;
    overflow: hidden;
    /* aqua: hero begint onder de header en is samen met de header precies schermvullend */
    margin-top: 117px;
    min-height: calc(100vh - 117px);
    min-height: calc(100svh - 117px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.imp-hero-image {
    position: absolute;
    top: 0;
    right: 2%;
    width: 50%;
    height: 86%;
    z-index: 1;
    overflow: hidden;
}

.imp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imp-hero-title {
    position: relative;
    z-index: 2;
    font-size: clamp(80px, 9vw, 150px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -2px;
    padding-top: 130px; /* aqua: titel ~130px onder header */
    margin-left: 3%;
    margin-bottom: 24px;
}

.imp-hero-info {
    position: relative;
    z-index: 2;
    max-width: 514px; /* aqua */
    margin-left: 9%;
    padding: 10px 0 40px 0;
}

.imp-breadcrumb {
    font-size: 14px;
    color: #6b7275;
    margin-bottom: 20px;
}

.imp-breadcrumb a {
    color: #6b7275;
    text-decoration: underline;
}

.imp-breadcrumb span {
    margin: 0 6px;
}

.imp-hero-subtitle {
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1.33;
}

.imp-hero-subtitle::before {
    content: '+';
    margin-right: 10px;
    font-weight: 900;
}

.imp-hero-text {
    font-size: 22px;
    line-height: 1.75;
    color: #403e3f;
    margin-bottom: 30px;
}

.imp-scroll-link {
    color: var(--accent-dark, var(--accent));
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.imp-scroll-link:hover {
    text-decoration: underline;
}

/* ========================================
   TEXT SECTIONS
   ======================================== */
.imp-text-section {
    background: var(--bg-light);
    padding: 60px 40px;
}

.imp-text-inner {
    max-width: 650px;
    margin-left: 20%;
}

.imp-section-heading {
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1.33;
}

.imp-text-inner p {
    font-size: 22px;
    line-height: 1.75;
    color: #403e3f;
    margin-bottom: 20px;
}

.imp-text-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent);
    transition: all 0.3s;
    margin-top: 8px;
}

.imp-text-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* ========================================
   PROJECTS CAROUSEL
   ======================================== */
.imp-carousel-section {
    background: var(--bg-light);
    padding: 40px 40px 60px;
}

.imp-carousel-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7275;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.imp-carousel-wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.imp-carousel-controls {
    position: absolute;
    top: -40px;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.imp-carousel-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #333;
}

.imp-carousel-arrow:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.imp-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.imp-carousel-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.imp-card {
    flex: 0 0 calc(33.333% - 11px);
    cursor: pointer;
    transition: opacity 0.3s;
}

.imp-card:hover {
    opacity: 0.85;
}

.imp-card-photo {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 10px;
}

.imp-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imp-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
}

.imp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.imp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.imp-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* ========================================
   HOW & WHY SECTION
   ======================================== */
.imp-howwhy {
    background: var(--bg-light);
    padding: 40px 40px 60px;
    text-align: center;
}

.imp-howwhy-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7275;
    margin-bottom: 12px;
}

.imp-howwhy-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent);
    transition: all 0.3s;
}

.imp-howwhy-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* ========================================
   IMAGE + TEXT SECTIONS
   ======================================== */
.imp-imgtext {
    background: var(--white);
    padding: 40px 40px 60px;
}

.imp-imgtext-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.imp-imgtext-photo {
    width: 42%;
    flex-shrink: 0;
    overflow: hidden;
}

.imp-imgtext-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.imp-imgtext-content {
    flex: 1;
}

.imp-imgtext-heading {
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1.33;
}

.imp-imgtext-content p {
    font-size: 22px;
    line-height: 1.75;
    color: #403e3f;
    margin-bottom: 24px;
}

.imp-imgtext-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent);
    transition: all 0.3s;
}

.imp-imgtext-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* Reverse layout: text left, image right */
.imp-imgtext-reverse .imp-imgtext-inner {
    flex-direction: row-reverse;
}

/* Bottom carousel spacing */
.imp-carousel-bottom {
    background: var(--white);
    padding-top: 20px;
    padding-bottom: 0;
}

/* White variant for lower text sections */
.imp-text-white {
    background: var(--white);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .imp-hero-title {
        font-size: clamp(56px, 8vw, 100px);
        margin-left: 40px;
        padding-top: 160px;
    }

    .imp-hero-info {
        margin-left: 40px;
    }

    .imp-hero-image {
        width: 45%;
        right: 5%;
    }

    .imp-text-inner {
        margin-left: 0;
        max-width: 100%;
    }

    .imp-imgtext-inner {
        flex-direction: column;
        gap: 30px;
    }

    .imp-imgtext-reverse .imp-imgtext-inner {
        flex-direction: column;
    }

    .imp-imgtext-photo {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .imp-hero { margin-top: 70px; min-height: auto; }
    .imp-hero {
        min-height: auto;
    }

    .imp-hero-image {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 250px;
    }

    .imp-hero-title {
        padding-top: 30px;
        margin-left: 20px;
        font-size: 56px;
    }

    .imp-hero-info {
        margin-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
    }

    .imp-text-section {
        padding: 40px 20px;
    }

    .imp-carousel-section {
        padding: 30px 20px 40px;
    }

    .imp-card {
        flex: 0 0 calc(50% - 8px);
    }

    .imp-imgtext {
        padding: 30px 20px 40px;
    }

    .imp-howwhy {
        padding: 30px 20px 40px;
    }
}

@media (max-width: 480px) {
    .imp-hero-title {
        font-size: 42px;
    }

    .imp-card {
        flex: 0 0 100%;
    }
}
