/*
 * styles.css Huisbootje.nl

/* --- Global & Reset --- */
:root {
    --primary-color: #005a8d; /* Deep Ocean Blue */
    --secondary-color: #f2f2f2; /* Light Grey */
    --text-color: #333;
    --accent-color: #ff9900; /* Safety/Construction Orange */
    --header-bg: #ffffff;
    --footer-bg: #2a2a2a;
    --container-width: 1200px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--header-bg);
    border-bottom: 3px solid var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    display: block;
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
}

.main-nav .nav-list li a:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.hero-content {
    flex: 3;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: #555;
}

.hero-image-placeholder {
    flex: 2;
    min-height: 300px;
    background-color: var(--secondary-color);
    border: 2px dashed #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #777;
    font-style: italic;
}

.hero-image {
    flex: 2;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.image-placeholder {
    display: none;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #00446a;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* --- Page Header --- */
.page-header {
    padding: 60px 0;
    margin: 0 0 40px 0;
}

/* --- Content Intro --- */
.content-intro {
    padding: 20px 0 50px 0;
}

/* --- Content Blocks --- */
.content-block {
    padding: 40px 0;
    margin: 20px 0;
}

/* Inner spacing for content within .content-block */
.content-block h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.content-block p {
    margin-bottom: 15px;
}

.content-block ul, .content-block ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.content-block > *:last-child {
    margin-bottom: 0;
}

/* Two-column layout for content sections */
.two-column-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.two-column-layout .text-content {
    flex: 1;
}

.two-column-layout .content-image {
    flex: 1;
    max-width: 50%;
}

/* Contact page layout */
.contact-layout {
    display: flex;
    gap: 30px;
}

.contact-layout .contact-info-card,
.contact-layout .contact-form-card {
    flex: 1;
    padding: 20px;
    background: var(--secondary-color);
    border-radius: 8px;
}

/* Location info section on contact page */
.location-info {
    margin-bottom: 20px;
}

.location-info h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.location-info p {
    margin-bottom: 15px;
}

/* Contact form styling */
.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.content-intro h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.content-intro p {
    margin-bottom: 15px;
}

/* --- Featured Topics --- */
.featured-topics {
    padding-bottom: 50px;
}

.featured-topics h4 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.topic-card {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.topic-card h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* --- Testimonials Section --- */
.testimonials-section {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    text-align: left;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #00446a);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.cta-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 2rem;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-section .btn {
    background-color: var(--accent-color);
    color: white;
    font-size: 1.1rem;
    padding: 15px 35px;
}

.cta-section .btn:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}

.cta-section a {
    color: white;
    text-decoration: none;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--secondary-color);
    padding: 40px 0 10px 0;
    border-top: 5px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
}

.footer-contact h5, .footer-nav h5, .footer-info h5 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-contact p, .footer-contact a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.footer-nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    padding: 4px 0;
}

.footer-nav ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image-placeholder {
        order: -1; /* Move image above content on tablet/mobile */
        width: 100%;
        min-height: 200px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    /* Navigation toggle logic */
    .menu-toggle {
        display: block;
    }

    .main-nav .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 10px;
    }

    .main-nav .nav-list.active {
        display: flex;
    }

    .main-nav .nav-list li a {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav .nav-list li:last-child a {
        border-bottom: none;
    }

    /* Responsive adjustments for two-column and contact layouts */
    .two-column-layout,
    .contact-layout {
        flex-direction: column;
    }

    .two-column-layout.reverse-on-mobile {
        flex-direction: column-reverse;
    }

    .two-column-layout .content-image,
    .contact-layout .contact-info-card,
    .contact-layout .contact-form-card {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-image-placeholder {
        min-height: 150px;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-nav ul {
        padding-left: 0;
    }
}