/**
 * NSCT Landingspagina Styles
 * 
 * Professioneel, flexibel design dat bij elke website past.
 * Gebruikt CSS variabelen zodat kleuren makkelijk aan te passen zijn.
 */

/* ========================================
   CSS VARIABELEN
   Pas deze aan naar de huisstijl van de klant
   ======================================== */
:root {
    /* Kleuren */
    --scg-primary: #2563eb;
    --scg-primary-dark: #1d4ed8;
    --scg-primary-light: #3b82f6;
    --scg-secondary: #059669;
    --scg-dark: #1f2937;
    --scg-gray: #6b7280;
    --scg-gray-light: #f3f4f6;
    --scg-white: #ffffff;
    --scg-border: #e5e7eb;
    --scg-success: #10b981;
    --scg-error: #ef4444;
    
    /* Typografie */
    --scg-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --scg-font-size-base: 16px;
    --scg-line-height: 1.6;
    
    /* Spacing */
    --scg-section-padding: 80px;
    --scg-container-width: 1200px;
    --scg-container-padding: 20px;
    
    /* Overig */
    --scg-border-radius: 8px;
    --scg-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --scg-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --scg-transition: 0.3s ease;
}

/* ========================================
   BASE STYLES
   ======================================== */
.scg-landing {
    font-family: var(--scg-font-sans);
    font-size: var(--scg-font-size-base);
    line-height: var(--scg-line-height);
    color: var(--scg-dark);
    /* Genesis/Theme compatibility */
    clear: both;
    float: none;
    width: 100%;
    display: block;
}

/* Reset Genesis floats binnen landingpage */
.scg-landing .wrap,
.scg-landing .site-inner,
.scg-landing .content-sidebar-wrap,
.scg-landing .content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.scg-landing *,
.scg-landing *::before,
.scg-landing *::after {
    box-sizing: border-box;
}

.scg-container {
    max-width: var(--scg-container-width);
    margin: 0 auto;
    padding: 0 var(--scg-container-padding);
}

.scg-container--center {
    text-align: center;
}

.scg-container--narrow {
    max-width: 800px;
}

/* ========================================
   PROSE (WYSIWYG CONTENT)
   ======================================== */
.scg-prose {
    max-width: 75ch;
}

.scg-prose h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 1.5em 0 0.75em;
    color: var(--scg-dark);
}

.scg-prose h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 1.25em 0 0.5em;
    color: var(--scg-dark);
}

.scg-prose p {
    margin: 0 0 1em;
}

.scg-prose ul,
.scg-prose ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.scg-prose li {
    margin-bottom: 0.5em;
}

.scg-prose strong {
    font-weight: 600;
}

.scg-prose a {
    color: var(--scg-primary);
    text-decoration: underline;
    display: inline-block;
}

.scg-prose a:hover {
    color: var(--scg-primary-dark);
}

/* ========================================
   BUTTONS
   ======================================== */
.scg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--scg-border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--scg-transition);
}

.scg-button--primary {
    background: var(--scg-primary);
    color: var(--scg-primary-text, #ffffff);
    border-color: var(--scg-primary);
}

.scg-button--primary:hover {
    background: var(--scg-primary-dark);
    border-color: var(--scg-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--scg-shadow);
}

.scg-button--outline {
    background: transparent;
    color: var(--scg-primary);
    border-color: var(--scg-primary);
}

.scg-button--outline:hover {
    background: var(--scg-primary);
    color: var(--scg-primary-text, #ffffff);
}

.scg-button--white {
    background: var(--scg-white);
    color: var(--scg-primary);
    border-color: var(--scg-white);
}

.scg-button--white:hover {
    background: transparent;
    color: var(--scg-white);
    border-color: var(--scg-white);
}

/* ========================================
   SECTIONS
   ======================================== */
.scg-section {
    padding: var(--scg-section-padding) 0;
    /* Genesis/theme compatibility */
    clear: both;
    float: none;
    width: 100%;
    position: relative;
    overflow: hidden; /* Voorkom dat child elements uitlopen */
}

/* Clearfix voor Genesis */
.scg-section::before,
.scg-section::after {
    content: "";
    display: table;
    clear: both;
}

.scg-section--alt {
    background: var(--scg-gray-light);
}

.scg-section__title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--scg-dark);
}

.scg-section__title--center {
    text-align: center;
}

.scg-section__intro {
    font-size: 1.125rem;
    color: var(--scg-gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ========================================
   HERO
   ======================================== */
.scg-hero {
    position: relative;
    z-index: 1; /* Laag houden zodat header menu erboven blijft */
    padding: 80px 0;
    background: var(--scg-dark);
    color: var(--scg-white);
    overflow: hidden;
}

/* Hero ZONDER afbeelding - subtielere styling */
.scg-hero:not(.has-image) {
    background: var(--scg-primary);
    padding: 60px 0;
}

.scg-hero:not(.has-image) .scg-hero__content {
    max-width: 100%;
}

.scg-hero:not(.has-image) .scg-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--scg-white);
}

.scg-hero:not(.has-image) .scg-hero__subtitle,
.scg-hero:not(.has-image) .scg-hero__text,
.scg-hero:not(.has-image) .scg-hero__text p {
    color: var(--scg-white);
    opacity: 0.95;
}

/* Hero buttons - gebruik secondary kleur voor contrast op primary achtergrond */
.scg-hero:not(.has-image) .scg-button--primary {
    background: var(--scg-secondary);
    border-color: var(--scg-secondary);
    color: var(--scg-secondary-text, #ffffff);
}

.scg-hero:not(.has-image) .scg-button--primary:hover {
    background: var(--scg-white);
    border-color: var(--scg-white);
    color: var(--scg-primary);
}

/* Hero MET afbeelding - grotere hero */
.scg-hero.has-image {
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.scg-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.scg-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scg-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.scg-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.scg-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.scg-hero__subtitle {
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
    opacity: 0.9;
}

.scg-hero__text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.scg-hero__text p {
    margin: 0;
}

.scg-hero__text a,
.scg-hero__text a:visited {
    color: var(--scg-white);
    text-decoration: underline;
}

.scg-hero__text a:hover {
    color: var(--scg-white);
    opacity: 0.8;
}

.scg-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ========================================
   MEDIA BLOCK (TEXT + IMAGE)
   ======================================== */
.scg-media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scg-section--media-left .scg-media-block__image {
    order: -1;
}

.scg-media-block__content .scg-section__title {
    margin-top: 0;
}

.scg-media-block__content .scg-button {
    margin-top: 1.5rem;
}

.scg-media-block__image img {
    width: 100%;
    height: auto;
    border-radius: var(--scg-border-radius);
    box-shadow: var(--scg-shadow-lg);
}

.scg-media-block__placeholder {
    aspect-ratio: 4/3;
    background: var(--scg-gray-light);
    border-radius: var(--scg-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--scg-gray);
}

.scg-media-block__placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

/* ========================================
   USP'S
   ======================================== */
.scg-usps {
    display: grid;
    gap: 30px;
    margin-top: 2rem;
}

.scg-usps--cols-2 { grid-template-columns: repeat(2, 1fr); }
.scg-usps--cols-3 { grid-template-columns: repeat(3, 1fr); }
.scg-usps--cols-4 { grid-template-columns: repeat(4, 1fr); }

.scg-usp {
    text-align: center;
    padding: 30px;
    background: var(--scg-white);
    border-radius: var(--scg-border-radius);
    box-shadow: var(--scg-shadow);
    transition: transform var(--scg-transition), box-shadow var(--scg-transition);
}

.scg-usp:hover {
    transform: translateY(-5px);
    box-shadow: var(--scg-shadow-lg);
}

.scg-usp__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--scg-primary);
    color: var(--scg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.scg-usp__icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.scg-usp__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--scg-dark);
}

.scg-usp__text {
    font-size: 0.9375rem;
    color: var(--scg-gray);
    margin: 0;
}

/* ========================================
   CHECKLIST / OPSOMMING
   ======================================== */
.scg-checklist {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.scg-checklist--cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
}

.scg-checklist__item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.scg-checklist__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--scg-success);
}

.scg-checklist__item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    width: 6px;
    height: 10px;
    border: solid var(--scg-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.scg-checklist--bullet .scg-checklist__item::before {
    background: var(--scg-primary);
    width: 8px;
    height: 8px;
    top: 8px;
    left: 4px;
}

.scg-checklist--bullet .scg-checklist__item::after {
    display: none;
}

.scg-checklist--number {
    counter-reset: list-counter;
}

.scg-checklist--number .scg-checklist__item {
    counter-increment: list-counter;
}

.scg-checklist--number .scg-checklist__item::before {
    content: counter(list-counter);
    background: var(--scg-primary);
    color: var(--scg-white);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scg-checklist--number .scg-checklist__item::after {
    display: none;
}

.scg-checklist__item--negative::before {
    background: var(--scg-error);
}

.scg-checklist__item--negative::after {
    width: 10px;
    height: 2px;
    border: none;
    background: var(--scg-white);
    transform: none;
    top: 13px;
    left: 5px;
}

/* ========================================
   STAPPEN / PROCES
   ======================================== */
.scg-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
    position: relative;
}

.scg-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--scg-border);
}

.scg-step {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    position: relative;
}

.scg-step__number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--scg-primary);
    color: var(--scg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.scg-step__content {
    flex: 1;
    padding-top: 5px;
}

.scg-step__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--scg-dark);
}

.scg-step__text {
    color: var(--scg-gray);
    margin: 0;
}

/* ========================================
   FAQ
   ======================================== */
.scg-section--faq {
    background: var(--scg-white);
    position: relative;
    z-index: 1;
}

.scg-section--faq.scg-section--alt {
    background: var(--scg-gray-light);
}

.scg-faq {
    max-width: 800px;
    margin: 2rem auto 0;
    background: inherit; /* Inherit from parent section */
    position: relative;
    z-index: 1;
}

.scg-faq__item {
    border-bottom: 1px solid var(--scg-border);
}

.scg-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--scg-dark);
    transition: color var(--scg-transition);
}

.scg-faq__question:hover {
    color: var(--scg-primary);
}

.scg-faq__question span {
    flex: 1;
    padding-right: 1rem;
}

.scg-faq__icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform var(--scg-transition);
}

.scg-faq__question[aria-expanded="true"] .scg-faq__icon {
    transform: rotate(45deg);
}

.scg-faq__answer {
    display: none;
    padding: 0 0 20px;
    color: var(--scg-gray);
}

.scg-faq__answer p:last-child {
    margin-bottom: 0;
}

.scg-faq__item.is-open .scg-faq__answer {
    display: block;
}

/* ========================================
   CTA
   ======================================== */
.scg-section--cta {
    background: var(--scg-primary);
    color: var(--scg-white);
    position: relative;
    z-index: 1;
    /* Ensure complete isolation from previous sections */
    isolation: isolate;
}

.scg-section--cta-secondary {
    background: var(--scg-secondary);
}

.scg-section--cta-dark {
    background: var(--scg-dark);
}

.scg-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.scg-cta__title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--scg-white);
}

.scg-cta__text {
    font-size: 1.125rem;
    margin: 0 0 2rem;
    opacity: 0.95;
    color: var(--scg-white);
}

/* ========================================
   COLUMNS
   ======================================== */
.scg-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.scg-column .scg-prose h2:first-child,
.scg-column .scg-prose h3:first-child {
    margin-top: 0;
}

/* ========================================
   GALLERY
   ======================================== */
.scg-gallery {
    display: grid;
    gap: 20px;
    margin-top: 2rem;
}

.scg-gallery--cols-2 { grid-template-columns: repeat(2, 1fr); }
.scg-gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
.scg-gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }

.scg-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: var(--scg-border-radius);
}

.scg-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform var(--scg-transition);
}

.scg-gallery__item:hover img {
    transform: scale(1.05);
}

/* ========================================
   QUOTE
   ======================================== */
.scg-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 40px;
}

.scg-quote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--scg-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.scg-quote__text {
    font-size: 1.375rem;
    font-style: italic;
    color: var(--scg-dark);
    margin: 0 0 1.5rem;
    position: relative;
    z-index: 1;
}

.scg-quote__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scg-quote__author {
    font-style: normal;
    font-weight: 600;
    color: var(--scg-dark);
}

.scg-quote__role {
    font-size: 0.875rem;
    color: var(--scg-gray);
}

/* ========================================
   CONTACT FORM
   ======================================== */
.scg-contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.scg-simple-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scg-simple-form input,
.scg-simple-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid var(--scg-border);
    border-radius: var(--scg-border-radius);
    font-family: inherit;
    transition: border-color var(--scg-transition), box-shadow var(--scg-transition);
}

.scg-simple-form input:focus,
.scg-simple-form textarea:focus {
    outline: none;
    border-color: var(--scg-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.scg-simple-form button {
    align-self: flex-start;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --scg-section-padding: 60px;
    }
    
    .scg-media-block {
        gap: 40px;
    }
    
    .scg-usps--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --scg-section-padding: 50px;
    }
    
    .scg-hero {
        padding: 60px 0;
    }
    
    .scg-hero__title {
        font-size: 2rem;
    }
    
    .scg-media-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scg-section--media-left .scg-media-block__image {
        order: 0;
    }
    
    .scg-usps--cols-2,
    .scg-usps--cols-3,
    .scg-usps--cols-4 {
        grid-template-columns: 1fr;
    }
    
    .scg-checklist--cols-2 {
        grid-template-columns: 1fr;
    }
    
    .scg-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scg-gallery--cols-3,
    .scg-gallery--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scg-section__title {
        font-size: 1.75rem;
    }
    
    .scg-cta__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .scg-hero__buttons {
        flex-direction: column;
    }
    
    .scg-button {
        width: 100%;
        text-align: center;
    }
    
    .scg-gallery--cols-2 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ JAVASCRIPT
   ======================================== */
