/* ===================================
   Sarah Verlinden Begeleiding
   =================================== */

:root {
    --sage: #7A8A82;
    --sage-dark: #6A7770;
    --sage-light: #A9B5AE;

    --beige: #B9A287;
    --beige-light: #D8C9B6;

    --background: #F7F5F1;
    --card: #FFFFFF;

    --text: #4F5753;
    --text-light: #6F7873;

    --border: #E7E2DB;

    --shadow: 0 4px 16px rgba(0, 0, 0, 0.04);

    --radius: 16px;
}

/* ===================================
   Reset
   =================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================================
   Basis
   =================================== */

html {
    scroll-behavior: smooth;
	min-height: 100vh;
}

body {
    min-height: 100vh;
	font-family: "Segoe UI", Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.8;
    font-size: 18px;
}

/* ===================================
   Layout
   =================================== */

.container {
    max-width: 950px;
    margin: 20px auto 60px auto;
    padding: 0 24px;
}

/* ===================================
   Hero / Logo
   =================================== */

.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero img,
.logo {
    display: block;
    margin: 30px auto 30px auto;
    max-width: 450px;
    width: 100%;
    height: auto;
}

/* ===================================
   Navigatie
   =================================== */

nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(8px);

    margin-left: 280px;
    width: calc(100% - 280px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding: 18px;
}

nav li {
    list-style: none;
}

nav a {
    color: var(--sage-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--beige);
}

nav a.active {
    color: var(--beige);
    border-bottom-color: var(--beige);
}

/* ===================================
   Toegankelijkheid
   =================================== */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--beige);
    outline-offset: 3px;
}

/* ===================================
   Typografie
   =================================== */

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--sage-dark);
    font-weight: 500;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    text-align: center;
	margin-top: 0;
    margin-bottom: 15px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 18px;
}

strong {
    color: var(--sage-dark);
    font-weight: 600;
}

small {
    color: var(--text-light);
}

/* ===================================
   Inhoudsblokken
   =================================== */

.card,
.notice,
.contact {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.notice:hover,
.contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .notice {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

/* ===================================
   Accentblok
   =================================== */

.notice {
    border-left: 5px solid var(--beige);
}

/* ===================================
   Contact
   =================================== */

.contact {
    text-align: center;
}

.contact a {
    color: var(--sage-dark);
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

/* ===================================
   Links
   =================================== */

a {
    color: var(--sage);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--beige);
}

/* ===================================
   Knoppen
   =================================== */

.button,
.booking-button {
    display: inline-block;
    background-color: var(--sage);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button:hover,
.booking-button:hover {
    background-color: var(--sage-dark);
    color: #ffffff;
}

.button-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--sage);
    color: var(--sage);
    border-radius: 30px;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.button-secondary:hover {
    background-color: var(--sage);
    color: #ffffff;
}

/* ===================================
   Formulieren
   =================================== */

form {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 18px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--sage);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Lijsten
   =================================== */

ul,
ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* ===================================
   Afbeeldingen
   =================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Scheidingslijn
   =================================== */

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

/* ===================================
   Footer
   =================================== */

footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Tablet
   =================================== */

@media (max-width: 992px) {

    .container {
        margin: 60px auto;
    }

    h1 {
        font-size: 2.6rem;
    }
}

/* ===================================
   Smartphone
   =================================== */

@media (max-width: 768px) {

body {
    font-size: 18px;
    line-height: 1.7;
}

    .container {
        display: block;
    }

    nav {
        margin-left: 0;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .card,
    .notice,
    .contact {
        padding: 22px;
    }

    .button,
    .booking-button,
    .button-secondary {
        width: 100%;
        text-align: center;
    }

    .hero img,
    .logo {
        max-width: 300px;
    }

     .sidebar {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        padding: 25px;
        border-right: none;
    }
	
	.sidebar-logo  {
		width: 170px;
	}
	
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }
}

/* ===================================
   Grote schermen
   =================================== */

@media (min-width: 1200px) {

    .container {
        max-width: 1000px;
    }
}

/* ===========================
   Sidebar
=========================== */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
	text-align: center;
	
	overflow-y: hidden;   /* verticale scrollbar indien nodig */
    overflow-x: hidden; /* geen horizontale scrollbar */

    background-color: var(--card);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow);

    padding: 30px 25px;

    z-index: 1000;
}

.sidebar h3 {
    margin-bottom: 30px;
    text-align: center;
}

.sidebar a {
    display: block;
    padding: 12px 0;
    color: var(--sage-dark);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.sidebar a:hover {
    color: var(--beige);
}

.sidebar-logo {
    display: block;
    width: 210px;
    height: auto;
    margin: 35px auto 20px auto;
}

/* Logo-link niet als menu-item opmaken */
.sidebar .logo-link {
    padding: 0;
    border-bottom: none;
}

.logo-link {
    text-align: center;
}

.sidebar a.active {
    background-color: #f2eee7;
    border-left: 4px solid var(--beige);
    font-weight: 700;
}


/* ===========================
   Hoofdinhoud
=========================== */

.main-content {
    margin-left: 280px;
    padding: 20px;
	min-height: 100vh;
}

/* Banner */

.hero-banner {
    width: 100%;
    overflow: hidden;
}

.banner {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Mobiel - finale override
   =================================== */
@media screen and (max-width: 768px) {

    .sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        padding: 10px 0!important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
		box-sizing: border-box;
    }

	.sidebar-logo  {
		width: 170px !important;
		margin: 25px auto 15px auto !important;
	}
	

    nav {
        margin-left: 0 !important;
        width: 100% !important;
    }

    body {
        overflow-x: hidden;
    }
	
	
	.sidebar {
		text-align: center;
}

	.sidebar a {
		display: inline-block;
		padding: 10px 12px;
		border-bottom: none;
}

	.sidebar a.active {
		border-left: none;
}
	
}