/* assets/css/page-functies.css */

/* -----------------------------------------------------------
   1. Variabelen & Global Reset
   ----------------------------------------------------------- */
:root {
    --pp-blue: #0a0a38;
    --pp-yellow: #fbdd00; 
    --pp-google-yellow: #fbbc05; 
    --pp-dark: #111827;
    --pp-text: #0a0a38;
    --pp-bg-gray: #f9fafb;
    --pp-white: #ffffff;
    --pp-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --pp-container: 1290px;
}

/* Algemene instellingen voor de functie-pagina content */
.functie-content {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--pp-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* De hoofdcontainer: Strak op de ingestelde breedte zonder zij-padding */
.pp-container {
    max-width: var(--pp-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* -----------------------------------------------------------
   2. Hero Module Styling (Split Layout - 50/50)
   ----------------------------------------------------------- */
.mod-hero {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
    width: 100%;
}

.hero-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.hero-column-text {
    flex: 0 0 50%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 30px;
}

.hero-column-image {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-end;
}

.mod-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem); 
    color: var(--pp-blue);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.05;
}

.mod-hero .hero-intro {
    font-size: 1.05rem;
    color: var(--pp-text);
    line-height: 1.65;
    margin-bottom: 20px;
}

.mod-hero .hero-intro p {
	font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.hero-usps {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-usps li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--pp-text);
}

.usp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-cta {
    margin-bottom: 24px;
    display: block;
    width: auto;
}

.btn-yellow {
    display: inline-block;
    background-color: var(--pp-yellow);
    padding: 16px 36px;
    border-radius: 10px;
    color: #000000 !important;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 1.15rem;
    transition: all 0.25s ease-in-out;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    cursor: pointer;
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 221, 0, 0.4);
    background-color: #f7d800;
}

.hero-rating {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.hero-rating .google-logo svg {
    display: block;
    width: 24px;
    height: 24px;
}

.hero-rating .stars, .card-stars {
    color: var(--pp-google-yellow);
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.hero-rating .rating-text {
    font-size: 1rem;
    color: var(--pp-blue);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-column-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--pp-shadow);
    border: 1px solid rgba(0,0,0,0.07);
    display: block;
}

/* -----------------------------------------------------------
   3. Hoe Het Werkt Module
   ----------------------------------------------------------- */
.mod-how-it-works {
    padding: 100px 0;
    background-color: var(--pp-white);
    text-align: center;
}

.how-header {
    margin-bottom: 60px;
}

.how-header .subtitle {
    display: block;
    color: var(--pp-blue);
    font-weight: 800;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.how-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--pp-blue);
    font-weight: 800;
    margin: 0;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.how-step {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-visual {
    margin-bottom: 30px;
}

.step-number-outer {
    width: 65px;
    height: 65px;
    background-color: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number-inner {
    color: var(--pp-blue);
    font-weight: 800;
    font-size: 1.3rem;
}

.how-step h3 {
    font-size: 1.4rem;
    color: var(--pp-blue);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.step-text {
    font-size: 1.05rem;
    color: var(--pp-text);
    line-height: 1.6;
    margin: 0;
    max-width: 320px;
}

/* -----------------------------------------------------------
   4. Tekst & Beeld Module (Zig-Zag Layout - Strakke uitlijning)
   ----------------------------------------------------------- */
.mod-tekst-beeld {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--pp-white);
    position: relative;
    width: 100%;
}

.mod-tekst-beeld .pp-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; 
}

.layout-rechts .pp-container {
    flex-direction: row-reverse;
}

.mod-tekst-beeld .col-text {
    flex: 0 0 45%; 
    text-align: left;
}

.mod-tekst-beeld h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--pp-blue);
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.mod-tekst-beeld .col-text p {
    font-size: 1.05rem;
    color: var(--pp-text);
    margin-bottom: 20px;
    line-height: 1.75;
}

.mod-tekst-beeld .col-img {
    flex: 0 0 45%; 
    display: flex;
    justify-content: flex-end; 
}

.layout-rechts .col-img {
    justify-content: flex-start;
}

.mod-tekst-beeld .col-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--pp-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    display: block;
}

/* -----------------------------------------------------------
   5. Reviews Module (Masonry / Grid style)
   ----------------------------------------------------------- */
.mod-reviews {
    padding: 100px 0;
    background-color: var(--pp-bg-gray);
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-header .subtitle {
    display: block;
    color: var(--pp-blue);
    font-weight: 800;
    font-size: 0.85rem;
    font-family: 'Inter', -apple-system, sans-serif;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.reviews-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--pp-blue);
    font-weight: 800;
    margin: 0;
}

.reviews-header .hero-rating {
    justify-content: center;
    margin-top: 15px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    align-items: start;
}

.review-card {
    background: var(--pp-white);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    background-color: #fff !important;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.client-initials {
    width: 48px;
    height: 48px;
    background-color: #f3f4f6;
    color: var(--pp-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Inter', -apple-system, sans-serif;
    margin-right: 15px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.client-info strong {
    display: block;
    color: var(--pp-blue);
    font-size: 1.05rem;
    line-height: 1.2;
}

.google-icon-small {
    margin-left: auto;
}

.card-stars {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--pp-blue);
    font-weight: 800;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
}

.reviews-footer {
    text-align: center;
}

/* -----------------------------------------------------------
   6. CTA Module (Conversie-sectie onderaan)
   ----------------------------------------------------------- */
.mod-cta {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--pp-bg-gray);
    text-align: center;
    width: 100%;
}

.mod-cta h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 30px;
    color: var(--pp-blue);
    letter-spacing: -0.03em;
}

.btn-pp {
    display: inline-block;
    background-color: var(--pp-blue);
    color: var(--pp-white) !important;
    padding: 20px 50px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 1.25rem;
    transition: all 0.25s ease;
    border: none;
}

.btn-pp:hover {
    background-color: #1a1a5e;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 10, 56, 0.25);
}

/* -----------------------------------------------------------
   8. FAQ Module (Zonder arrow)
   ----------------------------------------------------------- */
.mod-faq {
    padding: 100px 0;
    background-color: var(--pp-white);
    width: 100%;
}

.faq-intro-text {
    text-align: center;
    color: var(--pp-text);
}

.mod-faq .faq_area {
    max-width: 900px;
    margin: 0 auto;
}

.mod-faq .faq_item {
    border-bottom: 1px solid #ddd;
}

.mod-faq .faq_title {
    padding: 24px 0;
    font-size: 1.05rem;
    color: var(--pp-blue);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.mod-faq .faq_title.active {
    color: var(--pp-blue);
}

.mod-faq .faq_details {
    display: none;
    padding: 10px 0 30px 0;
    color: var(--pp-text);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* -----------------------------------------------------------
   9. Mobiele Responsiviteit & Tablet fixes
   ----------------------------------------------------------- */
@media (max-width: 1380px) {
    .pp-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 1024px) {
    .hero-flex, .mod-tekst-beeld .pp-container {
        gap: 60px;
    }
    .mod-hero h1 { font-size: 2rem; }
    .how-grid { gap: 20px; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-flex, .mod-tekst-beeld .pp-container, .how-grid {
        flex-direction: column !important;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-column-text, .mod-tekst-beeld .col-text, .how-step {
        text-align: left;
        flex: 0 0 100%;
        padding: 0;
    }

    .hero-column-image, .mod-tekst-beeld .col-img {
        flex: 0 0 100%;
        justify-content: center;
    }

    .hero-rating { justify-content: center; }

    .mod-hero, .mod-how-it-works, .mod-cta, .mod-reviews, .mod-faq {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .reviews-grid { grid-template-columns: 1fr; }
    
    .mod-hero .hero-intro { margin-bottom: 0; }
    
    .hero-usps { margin: 0 0 20px 0; }
    
    .hero-cta { margin: 0; }
    
    .mod-hero .hero-intro p, .hero-usps li, .mod-tekst-beeld .col-text p { font-size: 0.85rem; }
    
    .hero-rating .rating-text { font-size: 0.7rem; }
    
    .how-header h2 { font-size: clamp(1.6rem, 4vw, 1.6rem); }
    
    .step-text { font-size: 0.9rem; }
}