/* --- RESET & GLOBAL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden; /* Voorkomt scrollbalk door full-width secties */
}

/* Typografie */
h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: #F7F6F2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 2.8rem; line-height: 1.1; }
h2 { font-size: 2.2rem; }
p { margin-bottom: 1.5rem; color: #F7F6F2; }

/* Algemene Grid Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Het 12-koloms Grid Systeem */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.align-center { align-items: center; }

/* Kleuren Secties */
.section-white { background-color: rgb(252, 251, 244); padding: 75px 0; color:#000 }
.section-beige { background-color: #2D5C42; padding: 35px 0; }
.section-large-padding { padding-bottom: 35px; }

.section-white .section-title{
    color: #000;
}

/* Helper Classes */
.mb-medium { margin-bottom: 30px; }
.mb-large { margin-bottom: 80px; }
.spacing-top { margin-top: 60px; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #458061;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover{
    transition: all ease 0.5s;
    background-color: rgb(210, 185, 118);;
}

/* --- 1. HEADER --- */
/* De volledige balk die over de hele breedte gaat */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: white; /* Of rgba(255, 255, 255, 0.95) voor transparantie */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Zorg dat er geen margin-top op de header zit, anders zie je een gat */
}

/* De container die de inhoud op het grid houdt */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Ruimte boven en onder het logo/menu */
}

/* Je logo via CSS */
.logo-svg {
    background-image: url('/img/Logo-Pam.svg'); 
    background-repeat: no-repeat;
    background-size: contain;
    width: 150px; 
    height: 50px;
    display: block;
}

/* Navigatie links */
.navigation {
    display: flex;
    gap: 32px;
}

.navigation a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 16px;
}

.navigation a:hover{
    color:rgb(169, 97, 67);
}

/* Zorg dat de container waarin de header zit geen 'overflow: hidden' heeft, 
   anders werkt sticky positionering niet altijd goed. */
body {
    scroll-behavior: smooth; /* Zorgt voor een vloeiende beweging als je op links klikt */
}

/* --- 2. HERO SECTION --- */
.hero-content {
    grid-column: 1 / span 5;
    z-index: 2;
}

.hero-content h1, .hero-content p{
    color: #000;
}

.hero-image-wrapper {
    grid-column: 7 / span 6;
    height: 500px;
    background-color: #ddd;
    border-radius: 12px;
    overflow: hidden; /* Zorgt dat img de rondingen volgt */
}

/* Zorgt dat alle plaatjes 100% vullen */
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- 3. ZIG-ZAG SECTIE --- */
.image-block {
    height: 600px;
    background-color: #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-block a{
	text-align: center;
}

/* Grid Posities ZigZag */
.img-left { grid-column: 1 / span 6; }
.txt-right { grid-column: 8 / span 6; }

.txt-left { grid-column: 1 / span 6; }
.img-right { grid-column: 8 / span 6; }


/* --- 4 KOLOMMEN SECTIE --- */
.section-title {
    grid-column: 1 / -1;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.grid-wrapper-2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* De kaart container */
.service-card {
    height: 320px; /* Bepaalt de vaste hoogte van het hele vak */
}

/* De container die daadwerkelijk draait */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Algemene styling voor de voorkant */
.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Lijn alles uit vanaf de bovenkant */
    align-items: center;
    padding: 24px 20px;
    background-color: #EAE2D1;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    box-sizing: border-box; /* Garandeert dat padding binnen de 100% hoogte valt */
}

/* Icoontje styling */
.card-icon {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.icon-svg {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

/* Icoon afbeeldingen */
.card-icon .hand {
    background-image: url('/img/stop-hand-gesture-svgrepo-com.svg');
}
.card-icon .stress {
    background-image: url('/img/worry-emotion-sweat-svgrepo-com.svg');
}
.card-icon .patroon {
    background-image: url('/img/loop-svgrepo-com.svg');
}
.card-icon .rust {
    background-image: url('/img/meditation-yoga-posture-of-a-sitting-man-svgrepo-com.svg');
}

/* Typografie binnen de kaart */
.card-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.05rem;
}

.card-text {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #444;
    margin: 0;
}

/* Footer tekst onder de 4 kolommen */
.service-footer-text {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 50px;
    font-weight: 700;
    font-size: 1.65rem;
    color: #000;
}

/* --- 5. METHODIEK & CONTACT --- */

/* Deel A: Lijst */
.method-title {
    grid-column: 1 / span 6;
}

.method-list {
    grid-column: 1 / span 12;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.method-item {
    background-color: rgb(252, 251, 244); /* Subtiel lichter vlakje */
    padding: 25px;
    margin-bottom: 10px;
    border-radius: 10px;
    font-weight: 600;
    color: #000;
}

/* Deel B: Contact */
.contact-image {
    grid-column: 1 / span 7;
    height: 600px;
    background-color: #ccc;
    border-radius: 12px;
    overflow: hidden;
}

.contact-form-wrapper {
    grid-column: 9 / span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-wrapper .btn-primary{
    margin-bottom: 10px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    background-color: #e0d6c2; /* Iets donkerder beige voor inputs */
    border-radius: 4px;
    font-family: inherit;
}

.tarieven, #diensten{
	padding: 30px 75px;
}


/* --- FOOTER STYLING --- */

.main-footer {
    background-color: #ffffff;
    padding: 80px 0 40px 0;
    border-top: 1px solid #eee; /* Subtiele scheidingslijn */
    color: #333;
}

.footer-col {
    grid-column: span 4; /* 3 kolommen van 4 = 12 totaal */
}

.main-footer h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.main-footer h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.main-footer p, 
.main-footer ul {
    font-size: 0.9rem;
    color: #666;
}

.main-footer ul {
    list-style: none;
}

.main-footer ul li {
    margin-bottom: 10px;
}

.main-footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-footer a:hover {
    color: red; /* Jouw accentkleur */
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.text-area{
    resize: none;
}

.tarieven .text-block p{
	color: #000;
}

.tarieven .text-block h2{
	color: #000;
}

/* Copyright sectie */
.footer-bottom {
    grid-column: 1 / -1; /* Over de hele breedte */
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #999;
}

.main-footer h3{
    color:#000;
}

/* --- RESPONSIVE VOOR DE FOOTER --- */
@media (max-width: 768px) {
    .footer-col {
        grid-column: 1 / -1; /* Kolommen onder elkaar op mobiel */
        margin-bottom: 40px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }

	.tarieven, #diensten{
	padding: 0px;
}

/* --- RESPONSIVE (MOBIEL) --- */
@media (max-width: 900px) {
    h1 { font-size: 2.2rem; }
    
    .grid-wrapper {
        display: flex;
        flex-direction: column;
    }

	.logo-link{
		margin-left: 25px;
	}
	
	.navigation{
		gap: 15px;
		margin-right:25px;
	}
	
	.navigation a{
		font-size: 12px;
	}
    
    .spacing-top, .mb-large { margin-top: 30px; margin-bottom: 30px; }

	    .cards-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .card {
        min-height: auto;
        padding: 95px 30px 40px;
    }

    .card-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .card-text {
        font-size: 13px;
    }

    
    /* Hero */
    .hero-image-wrapper { height: 300px; order: -1; margin-bottom: 20px; }
    
    /* Diensten */
    .service-card { height: 300px; margin-bottom: 20px; }

    /* ZigZag volgorde fixen (Plaatje altijd eerst) */
    .img-left { order: 1; }
    .txt-right { order: 2; }
    .img-right { order: 3; }
    .txt-left { order: 4; }

    /* Contact */
    .contact-image { height: 300px; order: 1; margin-bottom: 30px; }
    .contact-form-wrapper { order: 2; }
    
    .header { flex-direction: column; gap: 20px; }
    .navigation { margin-left: 0; }
}