* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #c9c9b8;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main {
    flex: 1;
}

#home {
    color: #000;
    padding: 50px 20px;
    text-align: center;
    margin-top: 30px;
}

#home p {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    margin-bottom: 20px;
}

.header {
    background-color: #212529;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: clamp(1.2rem, 5vw, 24px);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 40px;
    object-fit: contain;
    border-radius: 5px;
}

.navbar {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

.nav-item {
    position: relative;
    margin-right: 30px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 12px;
    font-weight: bold;
    transition: background-color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.nav-link:hover {
    background-color: #cccbb4;
    border-radius: 4px;
    color: #212529;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.intro-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.voorstelen {
    max-width: 50%;
    padding: 0 15px;
}

.webimg {
    max-width: 45%;
    padding: 0 15px;
}

.webimg img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

#product {
    padding: 50px 20px;
    text-align: center;
    margin-top: 30px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    box-sizing: border-box;
}

.card {
    background-color: #bfbca2;
    border: none;
    border-radius: 8px;
    text-align: start;
    transition: transform 0.3s;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #000;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    height: 200px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#contact {
    background-color: #bfbca2;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    margin-top: 30px;
    color: #000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    background-color: #cccbb4;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
}

.contact-form textarea::placeholder,
.contact-form input::placeholder {
    color: #6c757d;
    outline: none;
}

.contact-form button {
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

footer {
    background-color: #212529;
    color: #ffffff;
    padding: 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content h3 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal-content {
    background-color: #cccbb4;
    color: #000;
}

.modal-header {
    border-bottom-color: #28a745;
}

.modal-footer {
    border-top-color: #28a745;
}

/* Bank details styling */
.bank-details .card {
    border: 2px solid #28a745;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bank-details .card-header {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
}

.bank-details .card-body {
    padding: 15px;
}

.bank-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.bank-details .alert {
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 13px;
}

/* Confirmation bank details */
#confirmationBankDetails .card {
    margin: 20px auto;
    max-width: 450px;
    text-align: left;
}

#confirmationBankDetails hr {
    margin: 10px 0;
    border-top: 1px dashed #ddd;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .voorstelen, .webimg {
        max-width: 100%;
    }
    
    .intro-container {
        flex-direction: column;
    }
    
    .webimg {
        order: -1;
        margin-bottom: 20px;
    }
    
    .card {
        max-width: 280px;
    }
}

@media (max-width: 767.98px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #212529;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-item {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 10px;
    }
    
    /* Home Section */
    #home {
        padding: 30px 15px;
    }
    
    /* Product Section */
    .card-container {
        padding: 10px;
    }
    
    /* Contact Form */
    .contact-form button {
        align-self: center;
    }
}

@media (max-width: 575.98px) {
    .header {
        padding: 10px 15px;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .fs-5 {
        font-size: 1rem !important;
    }
    
    .fs-4 {
        font-size: 1.1rem !important;
    }
    
    #product, #contact {
        padding: 30px 15px;
    }
    
    .card {
        max-width: 100%;
    }
    
    .footer-content a {
        padding: 5px;
    }
}