/* Kleuren Scheme: Groen (Hoofd), Beige (Achtergrond), Oranje/Perzik (Accent) */
:root {
    --beige: #f3e4cf; 	 /* Crème/Lichte Beige */
    --peach: #e3a27c; 	 /* Zacht Oranje/Perzik Accent */
    --cream: #ffffff; 	 /* Wit voor schone secties */
    --brown: #684a3c; 	 /* Donker Bruin voor tekst */
    --green: #6f8374; 	 /* Zacht Groen voor Header/Accent */
    --dark-green: #596b5e;/* Donkerdere tint voor hover/focus */
    --shadow-color: rgba(0, 0, 0, 0.15);
}

/* Basisopmaak */
body {
    font-family: 'Poppins', sans-serif; 
    background-color: var(--beige); /* Lichte beige achtergrond */
    color: var(--brown);
    margin: 0;
    line-height: 1.6; 
}

a {
    text-decoration: none; 
    color: var(--brown);
    transition: color 0.3s;
}

/* Header en Navigatie */
header {
    background-color: var(--green);
    color: white;
    padding: 0.8rem 1.5rem; 
    box-shadow: 0 4px 6px var(--shadow-color);
    position: sticky; /* Zorgt ervoor dat de navigatie blijft plakken tijdens het scrollen */
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto;
}

.logo {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: white;
    font-weight: 600;
    padding: 5px 10px;
    border-bottom: 2px solid transparent; 
}

.main-nav a:hover {
    color: var(--peach); 
    border-bottom: 2px solid var(--peach);
}

.menu-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

/* Secties (Algemeen) */
.section {
    padding: 3rem 1.5rem; 
    text-align: center;
    background-color: var(--cream); 
    margin: 2rem auto; 
    border-radius: 20px; 
    max-width: 900px; 
    box-shadow: 0 5px 15px var(--shadow-color); 
}

.section h2 {
    color: var(--dark-green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Knoppen en links (Algemeen) */
.btn, .toggle-button {
    background-color: var(--peach); 
    color: white;
    border: none;
    padding: 1rem 2rem; 
    border-radius: 30px; 
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn:hover, .toggle-button:hover {
    background-color: var(--green); 
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* =================================== */
/* 1. NIEUWE STIJL: GROTE FULL SCREEN HERO (index.html) */
/* =================================== */

.hero-full-screen {
    /* ACHTERGROND DESIGN */
    background-image: linear-gradient(rgba(111, 131, 116, 0.7), rgba(111, 131, 116, 0.7)), url('placeholder-hobbyhorse-bg.jpg'); /* Vervang 'placeholder-hobbyhorse-bg.jpg' door je eigen afbeelding! */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: white;
    text-align: center;
    
    /* Grootte van de sectie */
    min-height: 85vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.3); /* Licht doorschijnende achtergrond voor de tekst */
    border-radius: 15px;
}

.hero-title {
    font-size: 4rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--peach);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero-slogan {
    font-size: 1.6rem;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.hero-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* =================================== */
/* 2. NIEUWE STIJL: GROTE TEKST SECTIE (index.html) */
/* =================================== */

.large-text-intro {
    max-width: 1000px; /* Maak deze sectie iets breder */
    margin-top: -5rem; /* Schuif deze sectie over de hero heen voor een mooi effect */
    position: relative;
    z-index: 10;
    text-align: left;
    padding-top: 4rem; /* Extra padding bovenaan vanwege overlap */
}

.large-text-intro h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.large-text-intro h3 {
    color: var(--peach);
    margin-top: 2rem;
}

/* =================================== */
/* 3. STIJLEN VOOR DETAILPAGINA'S */
/* =================================== */

/* Zorgt ervoor dat de detailpagina's (niet de index) mooi in het midden staan */
.detail-page {
    min-height: 70vh; 
}

/* CSS-ONLY TOGGLE FUNCTIONALITEIT */
.hidden-checkbox { display: none; }
.more-info-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out; 
    margin-top: 0;
    text-align: left;
    padding: 0 1rem;
}
#toggle-info:checked ~ .toggle-button ~ .more-info-container {
    max-height: 1000px; 
    margin-top: 1.5rem;
    padding-bottom: 1rem;
}
#toggle-info:checked ~ .toggle-button .button-text {
    visibility: hidden; 
    position: relative;
}
#toggle-info:checked ~ .toggle-button .button-text::after {
    visibility: visible;
    content: "Lees minder ∧";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(180deg); 
    transition: transform 0.3s;
}
.more-info-container h3 {
    color: var(--peach);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.more-info-container ol {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Sectie Competities (Tabel) */
table {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-collapse: separate;
    border-spacing: 0 10px; 
    text-align: left;
}
thead th {
    color: var(--dark-green);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}
tbody td {
    background-color: var(--beige);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.table-btn {
    background-color: var(--peach);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}
.table-btn:hover {
    background-color: var(--dark-green);
    color: white;
}


/* Sectie Shop (Kaarten) */
.shop-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.card-link { text-decoration: none; }
.card {
    background-color: var(--beige);
    width: 200px; 
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Afbeelding binnen de kaart */
.card-img {
    max-width: 100%; 
    height: 120px; 
    object-fit: contain; 
    border-radius: 10px;
    margin-bottom: 0.8rem;
}
.card-link:hover .card {
    background-color: var(--peach); 
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.card-link:hover .card h3 { color: white; }
.card h3 {
    color: var(--green);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.card .btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem; 
    font-size: 0.9rem;
}


/* Footer */
footer {
    text-align: center;
    background-color: var(--dark-green); 
    color: white;
    padding: 1.5rem;
    font-size: 0.9rem;
    border-top: 5px solid var(--peach); 
}

footer a {
    color: white;
    text-decoration: underline;
}

/* ------------------- */
/* Responsief ontwerp */
/* ------------------- */
@media (max-width: 1000px) {
    .large-text-intro {
        max-width: 90%; 
    }
}

@media (max-width: 900px) {
    .main-nav { display: none; } 
    .menu-toggle { display: block; }
    .hero-title { font-size: 3rem; }
    .hero-slogan { font-size: 1.4rem; }
    .hero-full-screen { background-attachment: scroll; } /* Schakel parallax uit op mobiel */
    .large-text-intro { margin-top: 0; padding-top: 2rem; } /* Verwijder de overlap op kleinere schermen */
}

@media (max-width: 600px) {
    .section { padding: 2rem 1rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-slogan { font-size: 1.2rem; }
    .card { width: 90%; max-width: none; }
    .shop-grid { flex-direction: column; align-items: center; }
    .form-group-inline { flex-direction: column; }
    .email-input { width: 100%; margin-bottom: 0.5rem; }
    .email-btn { width: 100%; }
}

/* =================================== */
/* BEVESTIGINGSPAGINA */
/* =================================== */
.confirmation-section {
    background-color: var(--cream);
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 700px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border-top: 5px solid var(--green);
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--green);
    margin-bottom: 1rem;
    animation: popIn 0.6s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-section h1 {
    color: var(--dark-green);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.confirmation-subtitle {
    color: var(--peach);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.confirmation-details {
    background-color: rgba(111, 131, 116, 0.08);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
}

.confirmation-details h2 {
    color: var(--dark-green);
    text-align: center;
    margin-top: 0;
}

.details-box {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--peach);
}

.details-box p {
    margin: 0.75rem 0;
    color: var(--brown);
    font-size: 1rem;
}

.details-box strong {
    color: var(--dark-green);
    font-weight: 600;
}

.confirmation-message {
    background-color: rgba(227, 162, 124, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.confirmation-message h2 {
    color: var(--dark-green);
    margin-top: 0;
}

.confirmation-message p {
    color: var(--brown);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 1rem 0;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.confirmation-actions .btn-link {
    flex: 1;
    min-width: 200px;
}

.confirmation-actions .btn {
    width: 100%;
}

/* Responsief */
@media (max-width: 600px) {
    .confirmation-section {
        padding: 2rem 1.5rem;
    }
    
    .confirmation-section h1 {
        font-size: 2rem;
    }
    
    .confirmation-icon {
        font-size: 4rem;
    }
    
    .confirmation-details {
        padding: 1.5rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn-link {
        min-width: 100%;
    }
}
.form-container {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 2rem auto;
    text-align: left;
}

.form-container label {
    color: var(--dark-green);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.form-container input,
.form-container select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--beige);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--brown);
    background-color: white;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-container input:focus,
.form-container select:focus {
    outline: none;
    border-color: var(--peach);
    box-shadow: 0 0 0 3px rgba(227, 162, 124, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--peach);
}

.checkbox-label {
    margin: 0;
    font-weight: 400;
    color: var(--brown);
    cursor: pointer;
    line-height: 1.4;
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    min-height: 1.5rem;
    text-align: center;
}

/* NIEUWSBRIEF SECTIE */
.newsletter-section {
    text-align: center;
    background-color: rgba(111, 131, 116, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
}

.newsletter-section h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    color: var(--brown);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
}

.form-group-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--beige);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--brown);
    background-color: white;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.email-input::placeholder {
    color: #999;
}

.email-input:focus {
    outline: none;
    border-color: var(--peach);
    box-shadow: 0 0 0 3px rgba(227, 162, 124, 0.2);
}

.email-btn {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.newsletter-message {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    min-height: 1.5rem;
}
.hero-full-screen {
    height: 100vh;
    width: 100%;
 background-image: url("../images/hero-hobbyhorse.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Donkere overlay voor leesbare tekst */
.hero-full-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
/* plaatjes grootte */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
.image-container {
    text-align: center;
    margin: 2rem 0;
}

.detail-image {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
}
