/* ========== Global Styles ========== */
:root {
    --primary-color: #3a63cc;
    --secondary-color: #088632;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 75px;
    margin-bottom: 75px;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

section {
    padding: 50px;
    text-align: center;
}

.section-title {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.section-title ::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    width: fit-content;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* ========== Typography ========== */

h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    width: fit-content;
}

h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
}

p {
    font-size: 1.25rem;
}

/* ========== Navigation ========== */

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
}

.navbar {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    max-width: 250px; /* Adjusted for better responsiveness */
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: black;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.nav-links a::after {
    content: "";
    display: block;
    max-width: 100px;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: row;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 10px;
    }

    .nav-links.show {
        display: flex;
    }
}

/* ========== Header ========== */

.header {
    background-image: url(Images/Bedrijfs_Auto.jpg);
    color: white;
    text-align: center;
    padding: 50px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: end;
    background-size: cover;
}

.header-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ========== About Section ========== */

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 30px;
}

.about-text {
    text-align: left;
    max-width: 450px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-container img {
    max-width: 400px;
    border-radius: 10px;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
    .about-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }

    .about-text {
        text-align: left;
        max-width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .about-container img {
        width: 100%;
        border-radius: 10px;
    }
}
/* ========== Services (Diensten) ========== */

.diensten-container,
.projecten-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
}
@media screen and (max-width: 928px) {
    .diensten-container,
    .projecten-container {
        display: flex;
        justify-content: center;
        flex-direction: row;
        gap: 30px;
        flex-wrap: wrap;
    }
}
.diensten-card-title {
    width: 100%;
    margin-top: 20px;
}

.diensten-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.diensten-card-header {
    width: 100%;
    position: relative;
}

.diensten-card-header p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.diensten-card-header img,
.projecten-card img {
    width: 100%;
    height: 150px;
    display: block;
    object-fit: cover;
    margin-bottom: 10px;
}

.diensten-card-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.diensten-card-text {
    padding: 20px;
    margin-left: 10px;
}

.diensten-card-text li {
    text-align: left;
    color: white;
    padding: 5px;
}

/* ========== Projects (Projecten) ========== */

.projecten-text {
    margin-top: 20px;
    margin-bottom: 20px;
}

.projecten-card {
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.projecten-card-text {
    padding: 20px;
    text-align: left;
}

/* ========== Contact Section ========== */

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-evenly;
}

.contact-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-title {
    margin-bottom: 30px;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 30px;
}

.footer-image img {
    max-width: 400px;
    width: 100%;
}

.column-left {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 10px;
}

.column-right {
    gap: 10px;
    text-align: right;
    display: flex;
    flex-direction: column;
}

.column-container {
    display: flex;
    justify-content: start;
    flex-direction: row;
    gap: 60px;
    font-size: 1.2rem;
}
@media screen and (max-width: 768px) {
    .footer-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 30px;
    }
    .footer-container p {
        font-size: 1rem;
    }
}
