/*
Theme Name: Divi Light Theme by Alfred (No Gutenberg, Fullwidth)
Theme URI: https://ijsselstudio.nl
Description: Lichtgewicht WordPress thema, geoptimaliseerd voor Divi. Gutenberg is uitgeschakeld. Main-container is fullwidth zodat Divi-secties echt 100% schermbreedte kunnen zijn.
Author: IJsselStudio
Author URI: https://ijsselstudio.nl
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi-light-theme-by-alfred-no-gutenberg-fullwidth
*/

/* ---------- Globale basislayout ---------- */

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-color: #ffffff;
}

/* Wrapper */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main-wrapper {
    flex: 1 0 auto;
}

/* MAIN nu fullwidth, geen max-width of padding */
main#main,
.site-main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Basic footer (verdwijnt automatisch als Divi footer gebruikt wordt) */
.site-footer-basic {
    flex-shrink: 0;
    padding: 1.5rem 1.25rem;
    background: #f5f5f5;
    font-size: 0.9rem;
    color: #555;
}

/* ---------- Typografie ---------- */

p {
    margin: 0 0 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.75rem;
    line-height: 1.25;
    font-weight: 600;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover,
a:focus {
    color: #005177;
    text-decoration: underline;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lists */
ul, ol {
    margin: 0 0 1.25rem 1.5rem;
    padding: 0;
}

/* Forms */
input, select, textarea, button {
    font-family: inherit;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 4px;
    border: 1px solid #d0d0d0;
    background-color: #fff;
    box-shadow: none;
}

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

button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: #0073aa;
    color: #fff;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    background: #005177;
}

/* Divi compat: geef sections wat ruimte, rows regelen breedte */
.et_pb_section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.et_pb_section.et_pb_fullwidth_section {
    padding-left: 0;
    padding-right: 0;
}

/* Verberg basis-footer als Divi Theme Builder een footer gebruikt */
body.has-divi-footer .site-footer-basic {
    display: none;
}
