/* BASE STYLES - Algemene stijlen en reset */

/* VOLLEDIGE CSS ISOLATIE - GEEN EXTERNE INTERFERENTIE */
.peppol-homepage-isolated {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    line-height: 1.6 !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

/* Buitenste container - GEEN ACHTERGROND */
.peppol-homepage-outer-frame {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Reset voor WordPress/Theme padding */
body .peppol-homepage-outer-frame {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Binnenste container - FULL WIDTH */
.peppol-homepage-isolated .main-container {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Eerste element in de container - geen margin/padding bovenaan */
.peppol-homepage-isolated .main-container > :first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* CSS Reset binnen component */
.peppol-homepage-isolated h1,
.peppol-homepage-isolated h2,
.peppol-homepage-isolated h3,
.peppol-homepage-isolated h4,
.peppol-homepage-isolated h5,
.peppol-homepage-isolated h6,
.peppol-homepage-isolated p,
.peppol-homepage-isolated span,
.peppol-homepage-isolated a,
.peppol-homepage-isolated ul,
.peppol-homepage-isolated li,
.peppol-homepage-isolated button,
.peppol-homepage-isolated input,
.peppol-homepage-isolated form {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
    list-style: none !important;
}

/* Alle items in containers */
.peppol-homepage-isolated *,
.peppol-homepage-isolated *::before,
.peppol-homepage-isolated *::after {
    box-sizing: border-box !important;
}

/* Gemeenschappelijke sectie stijlen - MINDER TUSSENRUIMTE */
.peppol-homepage-isolated .countdown-banner {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.peppol-homepage-isolated .hero-section,
.peppol-homepage-isolated .partners-slot,
.peppol-homepage-isolated .social-proof-section,
.peppol-homepage-isolated .path-chooser-section,
.peppol-homepage-isolated .testimonials-section,
.peppol-homepage-isolated .faq-section,
.peppol-homepage-isolated .blog-section,
.peppol-homepage-isolated .value-props-section {
    margin-bottom: 20px !important;
}

.peppol-homepage-isolated .final-cta-section {
    margin-bottom: 0 !important;
}

/* BORDER-RADIUS UPDATES - 8px voor alle componenten */
.peppol-homepage-isolated .hero-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .hero-card {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .partners-carousel-simple {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .social-proof-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .stat-card {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .path-chooser-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .path-card {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .testimonials-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .testimonial-card {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .faq-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .faq-item {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .blog-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .blog-post-card {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .value-props-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .value-prop-card {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .final-cta-section {
    border-radius: 8px !important;
}

.peppol-homepage-isolated .cta-image-container {
    border-radius: 8px !important;
}

/* Hero Search Overlay */
.peppol-homepage-isolated .hero-search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.hero-search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.hero-search-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.peppol-homepage-isolated .hero-search-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Algemene animaties */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gemeenschappelijke responsiviteit */
@media (max-width: 1200px) {
    .peppol-homepage-isolated .main-container {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    /* Verwijder alle padding van parent containers op mobiel */
    .main.template-page.content,
    .av-content-full.alpha.units,
    .container_wrap.container_wrap_first.main_color.fullsize,
    #main,
    .container {
        padding-top: 0 !important;
    }
    
    /* Specifiek voor de wrapper van de countdown */
    .peppol-homepage-outer-frame {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Eerste element moet geen margin hebben */
    .peppol-homepage-isolated .countdown-banner:first-child {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    /* Container settings voor mobile */
    .peppol-homepage-isolated .main-container {
        padding: 0 !important;
    }
    
    .peppol-homepage-outer-frame {
        padding: 0 !important;
    }
    
    /* Forceer geen padding/margin bovenaan op mobiel */
    .peppol-homepage-isolated .countdown-banner {
        margin-top: 0 !important;
        padding-top: 15px !important;
    }
    
    .peppol-homepage-isolated > .main-container {
        padding-top: 0 !important;
    }
    
    /* Nog minder tussenruimte op mobiel */
    .peppol-homepage-isolated .countdown-banner,
    .peppol-homepage-isolated .hero-section,
    .peppol-homepage-isolated .partners-slot,
    .peppol-homepage-isolated .social-proof-section,
    .peppol-homepage-isolated .path-chooser-section,
    .peppol-homepage-isolated .testimonials-section,
    .peppol-homepage-isolated .faq-section,
    .peppol-homepage-isolated .blog-section,
    .peppol-homepage-isolated .value-props-section {
        margin-bottom: 15px !important;
    }
    
    .peppol-homepage-isolated .final-cta-section {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .peppol-homepage-isolated .main-container {
        padding: 0 !important;
    }
    
    /* Nog minder tussenruimte op kleine schermen */
    .peppol-homepage-isolated .countdown-banner,
    .peppol-homepage-isolated .hero-section,
    .peppol-homepage-isolated .partners-slot,
    .peppol-homepage-isolated .social-proof-section,
    .peppol-homepage-isolated .path-chooser-section,
    .peppol-homepage-isolated .testimonials-section,
    .peppol-homepage-isolated .faq-section,
    .peppol-homepage-isolated .blog-section,
    .peppol-homepage-isolated .value-props-section {
        margin-bottom: 12px !important;
    }
}