/* =========================
   Epoxyvoegen Styling 
   ========================= */

/* Hero section */
.detail-page-hero {
    position: relative;
    max-width: 800px;
    margin: 5rem auto 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.luxury-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent, #d4af37);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    background: rgba(212, 175, 55, 0.03);
}

.detail-page-hero h1 {
    color: var(--text, #ffffff);
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
    font-weight: 700;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted, #dcd3c5);
    line-height: 1.7;
    margin: 0;
}

/* --- PORTAL ARTICLES CONTAINER & SCROLLER DESIGN --- */
.portal-articles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 100%;
    box-sizing: border-box;
}

.portal-section {
    position: relative;
    width: 100%;
    min-width: 0;
    scroll-margin-top: 4.5rem;
}

/* Titels + handmatige pijlen in de hoek */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

.section-header h2 {
    font-size: 1.6rem;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

.slider-controls {
    display: flex;
    gap: 0.6rem;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted, #dcd3c5);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all var(--transition, 0.3s ease);
}

.slider-arrow:hover {
    background: var(--accent, #d4af37);
    color: var(--bg, #050505);
    border-color: var(--accent, #d4af37);
    box-shadow: 0 0 10px var(--accent-glow, rgba(212, 175, 55, 0.35));
}

/* De onzichtbare viewport wrapper */
.slider-viewport {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-viewport::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

/* DE EXCLUSIEVE SLIDE KAART */
.slide-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition, 0.3s ease), box-shadow var(--transition, 0.3s ease);
    box-sizing: border-box;
}

.slide-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.slide-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.6s var(--transition, 0.3s ease);
}

.slide-card:hover .slide-image img {
    transform: scale(1.05);
}

.slide-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: #0a0a0a;
    border: 1px solid var(--accent, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #d4af37);
    font-size: 1rem;
}

.slide-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
}

.slide-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #ffffff;
}

.slide-card:hover .slide-content h3 {
    color: var(--accent, #d4af37);
}

.slide-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted, #dcd3c5);
    line-height: 1.6;
}

.slide-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--accent, #d4af37);
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.project-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text, #ffffff);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 5;
}

/* --- AANGEKLEDE TEKSTBLOKKEN (VOORDELEN & ERVARING) --- */
.epoxy-editorial-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.85), rgba(10, 10, 10, 0.92));
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-left: 3px solid var(--accent, #d4af37);
    border-radius: 24px;
    padding: 2.25rem 2.5rem;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.epoxy-editorial-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.epoxy-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent, #d4af37);
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.38rem 0.9rem;
    border-radius: 50px;
}

.editorial-text {
    color: #e5e7eb;
    line-height: 1.85;
    font-size: 1.12rem;
    font-weight: 400;
}

.editorial-text p {
    margin: 0;
}

.editorial-text strong {
    color: #ffffff;
}

.epoxy-highlights-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.epoxy-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    color: var(--text-muted, #dcd3c5);
    font-size: 0.9rem;
    line-height: 1.45;
}

.epoxy-highlight-item i {
    color: var(--accent, #d4af37);
    font-size: 1rem;
    flex-shrink: 0;
}

.epoxy-clients-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.epoxy-client-badge {
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* --- DROPDOWN IN SUB-NAVIGATIE --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    margin-left: 4px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 15, 0.98);
    min-width: 220px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: #d1d5db !important;
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent, #d4af37) !important;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* --- MOBIELE SNEL-NAAR KNOPPEN (KITBEDRIJF & DETAILING) ONDERIN HET MENU --- */
.mobile-brand-switches {
    display: none;
}

/* --- CTA SECTION --- */
.cta-section {
    max-width: 1200px;
    margin: 6rem auto 6rem auto;
    padding: 0 1.5rem;
}

.cta-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 32px;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.03);
}

.cta-card h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.5px;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--text-muted, #dcd3c5);
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.cta-btn-premium {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all var(--transition, 0.3s ease);
}

.cta-btn-premium.whatsapp {
    background: #25D366;
    color: #ffffff;
}

.cta-btn-premium.whatsapp:hover {
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

.cta-btn-premium.call {
    background: var(--accent, #d4af37);
    color: var(--bg, #050505);
}

.cta-btn-premium.call:hover {
    box-shadow: 0 0 25px var(--accent-glow, rgba(212, 175, 55, 0.35));
    transform: translateY(-3px);
}

.cta-btn-premium.offerte {
    background: var(--accent, #d4af37);
    color: #000000;
}

.cta-btn-premium.offerte:hover {
    box-shadow: 0 0 25px var(--accent-glow, rgba(212, 175, 55, 0.35));
    transform: translateY(-3px);
}

.cta-back-home {
    color: var(--text-muted, #dcd3c5);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
    transition: color var(--transition, 0.3s ease), border-color var(--transition, 0.3s ease);
}

.cta-back-home:hover {
    color: var(--accent, #d4af37);
    border-color: var(--accent, #d4af37);
}

/* --- TABLET & MOBIEL --- */
@media (max-width: 992px) {
    .slide-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }

    .epoxy-highlights-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .sub-nav-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .sub-nav-left-group {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.4rem;
        min-width: 0;
        flex: 1 1 auto;
    }

    .sub-nav-toggle {
        flex-shrink: 0;
        margin-left: auto;
    }

    .desktop-only-switch {
        display: none !important;
    }

    .mobile-brand-switches {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
        margin-top: 0.9rem;
        padding-top: 0.95rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-sizing: border-box;
    }

    .mobile-section-label {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--accent, #d4af37);
        font-weight: 600;
		padding-left: 20px;
    }

    .mobile-section-pills {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        width: 100%;
        box-sizing: border-box;
		padding: 0 20px;
    }

    .mobile-brand-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        flex: 1 1 0;
        min-width: 0;
        padding: 0.55rem 0.75rem !important;
        border-radius: 50px;
        background: rgba(212, 175, 55, 0.08) !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
        color: #ffffff !important;
        font-size: 0.8rem !important;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .mobile-brand-btn i {
        color: var(--accent, #d4af37);
        flex-shrink: 0;
    }

    .mobile-brand-btn:hover {
        background: rgba(212, 175, 55, 0.18) !important;
        color: var(--accent, #d4af37) !important;
    }
}

@media (max-width: 768px) {
    .detail-page-hero h1 {
        font-size: 2.3rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .portal-articles-container {
        gap: 3.5rem;
        padding: 0 1rem;
        max-width: 100vw;
        overflow: hidden;
        box-sizing: border-box;
    }

    .section-header {
        padding: 0 0 0.8rem 0;
        width: 100%;
    }

    .slider-track {
        gap: 1rem;
    }

    .slide-card {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: start;
    }

    .slide-image {
        height: 160px;
    }

    .slide-content {
        padding: 1.2rem;
    }

    .slide-content h3 {
        font-size: 1.1rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .epoxy-editorial-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .editorial-text {
        font-size: 1rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
        margin: 0;
    }

    .cta-card h2 {
        font-size: 1.6rem;
    }

    .cta-card p {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .cta-btn-premium {
        justify-content: center;
        width: 100%;
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 600px) {
    .portal-section {
        scroll-margin-top: 5rem;
    }
}