/*
OnlineJA Pro - Main Stylesheet
Volledig bewerkbaar thema - alle content via WordPress editor!
*/

/* CSS Variables - OnlineJA Colors */
:root {
  --primary-blue: #0073aa;
  --secondary-blue: #005177;  
  --tertiary-gray: #e1e5e9;
  --muted-gray: #6c757d;
  --background-white: #ffffff;
  --success-green: #28a745;
  --primary-gradient: linear-gradient(135deg, #0073aa 0%, #005177 100%);
  --light-gradient: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: var(--background-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333333;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--secondary-blue);
    text-decoration: none;
}

/* Layout */
.wp-site-blocks {
    padding: 0;
}

.wp-block-group.is-layout-constrained {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header Styles */
.site-header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--tertiary-gray);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: #333333;
}

.site-description {
    font-size: 0.875rem;
    color: var(--muted-gray);
    margin: 0.25rem 0 0 0;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    gap: 4px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333333;
}

.nav-menu a:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Header CTA Button */
.header-cta .cta-button {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

.header-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.4);
    color: white;
}

/* Main Content */
.site-main {
    min-height: 60vh;
    padding: 2rem 0;
}

/* Page Content */
.page-content-wrapper {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.empty-page-instructions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 12px;
    border: 2px dashed var(--primary-blue);
    text-align: center;
    margin: 2rem 0;
}

.empty-page-instructions h1 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.empty-page-instructions ol, 
.empty-page-instructions ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

/* WordPress Blocks Styling */
.wp-block-button .wp-block-button__link {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.wp-block-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    color: white;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--primary-blue);
    color: white;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.contact-info {
    margin: 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

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

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wp-block-group.is-layout-constrained {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        order: -1;
        align-self: flex-end;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        display: block;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid var(--tertiary-gray);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus States */
*:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .menu-toggle {
        display: none;
    }
}