/* Kleurenpalet & Basis */
:root {
    --primary-orange: #ff6600;
    --deep-black: #0a0a0a;
    --card-bg: #141414;
    --light-grey: #f4f4f4;
    --text-white: #ffffff;
    --text-muted: #bbb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--deep-black);
    color: var(--text-white);
    line-height: 1.6;
}

/* Navigatie */
header {
    background-color: #000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-orange);
    text-decoration: none;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-orange);
}

/* Hero Sectie */
.hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/JCGrooves.webp') no-repeat center/cover;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

.btn-cta {
    background-color: var(--primary-orange);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.2s, background-color 0.2s;
    display: inline-block;
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: #e65c00;
}

/* Algemene Sectie Styles */
section {
    padding: 60px 5%;
}

.section-title {
    color: var(--primary-orange);
    display: block;
    width: fit-content;
    margin: 0 auto 40px auto;
    text-align: center;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 5px;
}

.category h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* Materiaal Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10px;
    box-sizing: border-box;
    border-bottom: 2px solid var(--primary-orange);
    background-color: #222;
}

.card h4 {
    margin: 15px 15px 5px;
    color: var(--primary-orange);
}

.card p {
    margin: 0 15px 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Projecten Wrapper & Container --- */
.project-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px; /* Maakt 70 pixels ruimte links en rechts vrij voor de grote knoppen */
}

.project-carousel-container {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #333;
    background: var(--card-bg);
}

.project-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-card {
    min-width: 100%;
    position: relative;
}

/* --- Grote knoppen voor project-wissel (Buiten de card) --- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    z-index: 20;
    transition: background 0.3s, transform 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-orange);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-project {
    left: 0; /* Zet de knop helemaal links in de extra padding ruimte */
}

.carousel-btn.next-project {
    right: 0; /* Zet de knop helemaal rechts in de extra padding ruimte */
}

/* --- Binnenste Slider (foto's per project) --- */
.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.slider-track img {
    min-width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease; 
}

.project-card:hover .slider-track img {
    transform: scale(1.05); 
}

/* --- Pijltjes BINNEN de foto's --- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s, color 0.3s;
}

.project-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--primary-orange);
    color: #000;
}

/* Deze staan nu weer gewoon strak tegen de rand van de foto */
.slider-btn.prev {
    left: 0; 
    border-radius: 0 4px 4px 0;
}

.slider-btn.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

/* --- Overlay voor de projectnaam --- */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    text-align: center;
    pointer-events: none; 
}

.project-overlay h4 {
    margin: 0;
    color: var(--primary-orange);
    font-size: 1.5rem;
}

/* Reviews Sectie */
#reviews {
    background-color: var(--deep-black);
}

.review-container {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    gap: 30px;
}

.review-container.reverse {
    flex-direction: row-reverse;
}

.review-image {
    flex: 0 0 150px;
}

.review-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-orange);
}

.review-text {
    flex: 1;
}

.review-text h4 {
    color: var(--primary-orange);
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.review-text p {
    font-style: italic;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Accordion Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid #2a2a2a;
    padding: 18px 22px;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-orange);
}

.faq-item summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none !important;
}

.faq-item summary::marker {
    display: none !important;
}

.faq-item summary::after {
    content: '+';
    color: var(--primary-orange);
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item h4 {
    color: #ffffff;
    margin: 0;
    font-size: 1.05rem;
}

.faq-item:hover h4 {
    color: var(--primary-orange);
}

.faq-item p {
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid #222;
    padding-top: 12px;
}

/* Footer */
footer {
    background-color: #000;
    padding: 40px 5% 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.footer h4 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 8px;
}

/* Mobiele Responsiviteit */
@media (max-width: 600px) {
    .review-container,
    .review-container.reverse {
        flex-direction: column;
        text-align: center;
    }

    .review-image {
        margin-bottom: 15px;
    }
}