/* ============================================================
   KolFish – Global Stylesheet
   Brand colours: #002c54 (dark navy), #147fd6 (accent blue)
   ============================================================ */

:root {
    --kf-dark:   #002c54;
    --kf-accent: #147fd6;
    --kf-light-bg: #f0f6fc;
}

/* ── Body ── */
body {
    background-color: #f8f9fa;
    color: #1a1a2e;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page {
    flex: 1 0 auto;
}

.object-fit-cover {
    object-fit: cover;
}

/* ── Header ── */
.kolfish-header {
    background: linear-gradient(to right, var(--kf-dark), var(--kf-accent));
    padding: 0.75rem 0;
}

.kolfish-logo-wrap {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
}

.kolfish-brand-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0;
}

.kolfish-header .nav-link {
    color: rgba(255,255,255,0.88);
    font-weight: 700;
    padding: 0.6rem 0.75rem;
}

.kolfish-header .nav-link:hover,
.kolfish-header .nav-link:focus {
    color: #fff;
}

/* ── Footer ── */
.kolfish-footer {
    background: var(--kf-dark);
}

/* ── Hero ── */
.hero-section {
    background: linear-gradient(135deg, var(--kf-dark) 0%, #0b5fa0 52%, var(--kf-accent) 100%);
    color: #fff;
    padding: 4.5rem 0;
}

.hero-kicker {
    color: rgba(255,255,255,0.74);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.hero-section h1 {
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.hero-copy {
    color: rgba(255,255,255,0.84);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    aspect-ratio: 7 / 4;
    border-radius: 0.75rem;
    box-shadow: 0 24px 60px rgba(0, 22, 46, 0.35);
    overflow: hidden;
}

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

/* ── Section spacing ── */
.kolfish-section {
    padding: 4rem 0;
    scroll-margin-top: 104px;
}

.kolfish-section-alt {
    background-color: var(--kf-light-bg);
}

/* ── Section headings ── */
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--kf-dark);
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--kf-accent);
    border-radius: 2px;
    margin: 0 auto 2.5rem;
}

/* ── Cards ── */
.kolfish-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 44, 84, 0.10);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kolfish-card:hover {
    box-shadow: 0 10px 28px rgba(0, 44, 84, 0.22);
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}

/* ── Card image wrapper (aspect ratio placeholder for future photos) ── */
.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background-color: var(--kf-light-bg);
    overflow: hidden;
}

.card-img-wrapper .card-img-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-img-wrapper .ti {
    font-size: 3.5rem;
    color: var(--kf-accent);
    opacity: 0.7;
}

/* ── Card body ── */
.kolfish-card .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.kolfish-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kf-dark);
    margin-bottom: 0.5rem;
}

.kolfish-card .card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
}

.card-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--kf-accent);
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ── Information / about section ── */
.info-block {
    background: var(--kf-dark);
    color: #fff;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
}

.info-block h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-block p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-size: 1rem;
}

.info-stat {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: 0.75rem;
}

.info-stat .stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--kf-accent);
    line-height: 1;
}

.info-stat .stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.35rem;
}

/* ── Info / detail page ── */
.detail-hero {
    background: linear-gradient(135deg, var(--kf-dark) 0%, var(--kf-accent) 100%);
    color: #fff;
    padding: 4rem 0 3rem;
}

.detail-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.detail-hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    max-width: 680px;
    margin: 0 auto;
}

.detail-hero .detail-icon {
    font-size: 5rem;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.5rem;
}

.detail-back-link {
    color: var(--kf-accent);
    font-weight: 700;
    text-decoration: none;
}

.detail-back-link:hover,
.detail-back-link:focus {
    color: var(--kf-dark);
    text-decoration: underline;
}

.detail-card p {
    color: #333;
    line-height: 1.8;
}

.detail-card p:last-of-type {
    margin-bottom: 0;
}

.detail-primary-button {
    background: var(--kf-accent);
    border-color: var(--kf-accent);
}

.detail-primary-button:hover,
.detail-primary-button:focus {
    background: var(--kf-dark);
    border-color: var(--kf-dark);
}

/* ── Verwerkingsmethoden page ── */
.verwerking-hero {
    background: linear-gradient(135deg, var(--kf-dark) 0%, #0b5fa0 52%, var(--kf-accent) 100%);
    color: #fff;
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.verwerking-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.verwerking-hero-intro {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto;
}

.verwerking-section {
    padding: 4rem 0;
}

.verwerking-section-heading {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--kf-dark);
    margin-bottom: 0.5rem;
}

.verwerking-section-divider {
    width: 50px;
    height: 4px;
    background: var(--kf-accent);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.verwerking-section p {
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.verwerking-section p:last-child {
    margin-bottom: 0;
}

.verwerking-img-placeholder {
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 44, 84, 0.12);
    padding-top: 62%;
}

.verwerking-hr {
    border: none;
    border-top: 1px solid #dde6f0;
    margin: 0;
}

@media (max-width: 767.98px) {
    .verwerking-section {
        padding: 3rem 0;
    }
}

/* ── Product carousel ── */
.product-carousel {
    position: relative;
    padding: 0 3rem; /* space for the arrow buttons */
}

.product-carousel .carousel-inner {
    overflow: visible; /* allow cards to breathe on wider screens */
}

.product-carousel .carousel-item {
    /* Bootstrap hides non-active items with display:none — keep that default.
       We only need consistent card height across items. */
}

/* Cards inside the carousel always fill the slide height */
.product-carousel .kolfish-card {
    height: 100%;
}

/* Prev / Next arrow buttons */
.product-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--kf-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.product-carousel-btn:hover,
.product-carousel-btn:focus {
    background-color: var(--kf-accent);
    transform: translateY(-50%) scale(1.08);
}

.product-carousel-btn .ti {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1;
}

.carousel-control-prev.product-carousel-btn {
    left: 0;
}

.carousel-control-next.product-carousel-btn {
    right: 0;
}

@media (max-width: 575.98px) {
    .product-carousel {
        padding: 0 2.5rem;
    }

    .product-carousel-btn {
        width: 2rem;
        height: 2rem;
    }

    .product-carousel-btn .ti {
        font-size: 1rem;
    }
}

/* ── Contact ── */
.contact-section {
    background: var(--kf-dark);
    color: #fff;
    padding: 4rem 0;
    scroll-margin-top: 104px;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.contact-panel h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-panel p {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 760px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .kolfish-header .navbar-collapse {
        padding-top: 1rem;
    }

    .kolfish-header .navbar-nav {
        align-items: stretch;
    }

    .kolfish-header .nav-link,
    .kolfish-header .btn {
        display: block;
        text-align: left;
        width: 100%;
    }

    .hero-section {
        padding: 3.25rem 0;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .kolfish-logo-wrap {
        height: 64px;
        width: 64px;
    }

    .kolfish-brand-text {
        font-size: 1.25rem;
    }

    .hero-actions,
    .contact-actions {
        width: 100%;
    }

    .hero-actions .btn,
    .contact-actions .btn {
        width: 100%;
    }

    .kolfish-section,
    .contact-section {
        padding: 3rem 0;
    }

    .info-block {
        padding: 2rem 1.25rem;
    }

    .detail-hero h1 {
        font-size: 2rem;
    }
}
