/* BVBA Kockx Website - Complete Redesign */

:root {
    --primary-green: #1abc9c;
    --dark-green: #16a085;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --text-gray: #666;
    --border-color: #ddd;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
}

/* HEADER & NAVIGATION */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 16px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-green);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 16px;
}

.phone-header:hover {
    color: var(--dark-green);
}

/* HERO SECTION */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* HERO BANNER */
.hero-banner {
    background-color: var(--primary-green);
    padding: 30px;
    text-align: center;
    color: var(--white);
    margin: 40px 0;
}

.hero-banner .quote {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-banner .phone {
    display: inline-block;
    border: 2px solid var(--white);
    padding: 10px 20px;
    font-weight: bold;
    font-size: 18px;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.container h2 {
    text-align: center;
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 50px;
}

.container h3 {
    color: var(--dark-gray);
    font-size: 24px;
    margin-bottom: 20px;
}

/* SECTION: JOUW VAKMAN */
.vakman-section {
    background-color: var(--light-gray);
    padding: 60px 20px;
}

.vakman-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.vakman-left h2 {
    color: var(--primary-green);
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
}

.vakman-left p {
    color: var(--primary-green);
    font-size: 16px;
    margin-bottom: 30px;
}

.btn-services {
    display: inline-block;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-services:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* ACCORDIONS */
.accordion-container {
    border: 2px dashed #d32f2f;
    border-radius: 3px;
}

.accordion-item {
    border-bottom: 1px solid #d32f2f;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--dark-gray);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.accordion-header.active {
    background-color: var(--light-gray);
}

.accordion-icon {
    color: #d32f2f;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--white);
}

.accordion-content.active {
    max-height: 500px;
    padding: 20px;
    border-top: 1px solid #d32f2f;
}

.accordion-content p {
    color: var(--primary-green);
    line-height: 1.8;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.service-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-card h4 {
    color: var(--primary-green);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service-icon {
    color: var(--primary-green);
    font-size: 20px;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* BUTTONS */
.btn-secondary {
    display: inline-block;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-submit {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--dark-green);
}

.btn-load-more {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-load-more:hover {
    background-color: var(--dark-green);
}

/* CONTACT SECTION */
.contact-section {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px 20px;
    margin: 60px 0;
}

.contact-section h2 {
    text-align: center;
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-section p {
    text-align: center;
    color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* TESTIMONIALS */
.testimonials-section {
    background-color: var(--light-gray);
    padding: 60px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-author {
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 16px;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-style: italic;
}

/* BLOG SECTION */
.blog-header {
    background-color: var(--light-gray);
    padding: 40px 20px;
    text-align: center;
}

.blog-header h1 {
    color: var(--dark-gray);
    font-size: 36px;
    margin-bottom: 30px;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.blog-card-content {
    padding: 20px;
}

.blog-card h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog-card a:hover {
    color: var(--dark-green);
}

.load-more {
    text-align: center;
    margin: 40px 0;
}

/* BLOG POST */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-header h1 {
    color: var(--dark-gray);
    font-size: 36px;
    margin-bottom: 15px;
}

.blog-post-meta {
    color: var(--text-gray);
    font-size: 14px;
}

.blog-post-content {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
}

/* FOOTER */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-links {
    list-style: none;
}

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
    max-width: 1200px;
    margin: 0 auto;
}

/* ADMIN PANEL */
.admin-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.admin-header h1 {
    color: var(--dark-gray);
}

.logout-btn {
    background-color: #e74c3c;
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #c0392b;
}

.admin-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.admin-nav a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-nav a.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.admin-nav a:hover {
    color: var(--primary-green);
}

.admin-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 3px;
    max-width: 800px;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-gray);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
}

.admin-form textarea {
    min-height: 200px;
    resize: vertical;
}

.admin-form button {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.admin-form button:hover {
    background-color: var(--dark-green);
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.posts-table thead {
    background-color: var(--light-gray);
}

.posts-table th,
.posts-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.posts-table th {
    font-weight: bold;
    color: var(--dark-gray);
}

.posts-table a {
    color: var(--primary-green);
    text-decoration: none;
    margin-right: 15px;
}

.posts-table a:hover {
    text-decoration: underline;
}

.delete-btn {
    background-color: #e74c3c;
    color: var(--white);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .vakman-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: row;
        gap: 10px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .container {
        padding: 30px 15px;
    }

    .container h2 {
        font-size: 24px;
    }
}
