/*
Theme Name: LaptopFixers Theme
Theme URI: https://www.laptopfixers.eu
Author: Robin Cauwenbergh
Author URI: https://www.laptopfixers.eu
Description: Een professioneel WordPress-thema voor laptopreparaties, inclusief batterij- en schermvervanging.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laptopfixers-theme
*/

/* Algemene instellingen */
body {
    background-color: #f4f3ea;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Zorg ervoor dat de hele pagina goed uitgelijnd blijft */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Header container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 20px;
    background-color: #f4f3ea;
}

/* Logo en site-naam */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 20px;
}

/* Logo instellingen */
.logo-container img {
    max-width: 120px;
    height: auto;
    display: block;
}

.site-name {
    font-size: 18px;
    font-weight: bold;
    color: gray;
    text-align: left;
}

/* Navigatie menu */
.nav-menu {
    width: 100%;
    display: flex;
    align-items: center;
    border-top: 1px solid #0073e6;
    border-bottom: 1px solid #0073e6;
}

/* Desktop menu */
.desktop-menu {
    display: flex;
}

/* Standaard desktop menu */
.menu-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.menu-list li {
    display: inline;
}

.menu-list li a {
    text-decoration: none;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    background: #0073e6;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.menu-list li a:hover {
    background: #005bb5;
}
/* Standaard mobiele menu verbergen */
.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #0073e6;
    width: 100%;
    text-align: center;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
}

.mobile-menu-list li {
    margin: 10px 0;
}

.mobile-menu-list li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

/* Waffle menu-knop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #0073e6;
    margin-left: auto;
}

/* Paginatitel */
.page-title-container {
    width: 100%;
    background-color: #0073e6;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.page-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* Contactpagina layout */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-form {
    flex: 1;
    max-width: 48%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.contact-map {
    flex: 1;
    max-width: 48%;
    box-sizing: border-box;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
}

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

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        align-items: center;
        margin-right: 0;
    }
    
    .logo-container img {
        max-width: 100px;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0073e6;
        padding: 10px;
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .menu-list.active {
        display: flex;
    }

    .menu-list li a {
        color: #ffffff;
        background: none;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form, .contact-map {
        max-width: 100%;
    }
}

/* Op mobiele schermen: Verberg desktop menu, toon mobiel menu */
@media (max-width: 768px) {
    .desktop-menu {
        display: none; /* Verberg standaard menu op mobiel */
    }

    .menu-toggle {
        display: block; /* Toon hamburger-menu knop */
    }

    .mobile-menu.active {
        display: block; /* Toon mobiel menu bij klikken */
    }
}


/* Footer */
footer {
    background-color: #0073e6;
    color: white;
    text-align: center;
    padding: 20px;
}

footer nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer nav ul li {
    display: inline;
}

footer nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer nav ul li a:hover {
    color: #cce7ff;
}

/*
.succes-bericht {
    background-color: #d4edda;
    color: #155724;
	font-size: 16px;
    padding: 15px;
    border-left: 5px solid #28a745;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	border-top: 1px solid;
	border-bottom: 1px solid;
}
*/
.error-bericht {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-left: 5px solid #dc3545;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}

/* Formulier layout */
.form-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.form-section {
    flex: 1;
    max-width: 48%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Dropdown stijl */
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Mobiele weergave */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
    }
    
    .form-section {
        max-width: 100%;
    }
}

/* Alleen de aanmeldpagina breder maken */
.aanmeldpagina-container .aanmeld-form-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px; /* Maak de aanmeldpagina breder */
    margin: 0 auto;
}

/* Laat klant- en toestelgegevens elk 50% breed nemen */
.aanmeldpagina-container .aanmeld-form {
    flex: 1;
    max-width: 48%; /* Beperkt tot 48% breedte om ruimte tussen secties te behouden */
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Maak invoervelden en dropdown breder */
.aanmeldpagina-container .aanmeld-form input,
.aanmeldpagina-container .aanmeld-form select,
.aanmeldpagina-container .aanmeld-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Grotere dropdown */
.aanmeldpagina-container .aanmeld-form select {
    height: 45px;
    font-size: 16px;
}

/* Knoppen breder maken */
.aanmeldpagina-container .aanmeld-form button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border-radius: 5px;
    background: #0073e6;
    color: white;
    border: none;
    cursor: pointer;
}

.aanmeldpagina-container .aanmeld-form button:hover {
    background: #005bb5;
}

/* Mobiele lay-out: zet alles onder elkaar */
@media (max-width: 768px) {
    .aanmeldpagina-container .aanmeld-form-container {
        flex-direction: column;
        max-width: 90%;
    }

    .aanmeldpagina-container .aanmeld-form {
        max-width: 100%;
    }
}

/* Succespagina stijl */
.succes-container {
    text-align: center;
    background: #e6f7ff;
    padding: 50px;
    border-radius: 10px;
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.succes-bericht h2 {
    color: #0073e6;
}

.succes-bericht p {
    font-size: 18px;
    color: #333;
}

.terug-home {
    display: inline-block;
    background: #0073e6;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.terug-home:hover {
    background: #005bb5;
}
