/*
Theme Name: SLA Theme
Theme URI: https://smartlabel.academy
Description: Block theme voor Smart Label Academy. Minimaal, snel, volledig aanpasbaar via de Site Editor.
Version: 1.0.0
Author: Smart Label Academy
Author URI: https://smartlabel.academy
Text Domain: sla-theme
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* 
 * Dit theme gebruikt theme.json voor alle styling.
 * Extra CSS kan hier of in de Site Editor worden toegevoegd.
 */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Default background - zwart met lichtblauwe radial blur */
body {
    background: 
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0, 102, 255, 0.2) 0%, transparent 60%),
        #0a0a1a;
    background-attachment: fixed;
}

/* Selection styling */
::selection {
    background: rgba(0, 102, 255, 0.3);
    color: #fff;
}

/* Focus styling voor accessibility */
:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

/* Glassmorphism utility class */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide scrollbar but keep functionality */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Paragraph spacing */
p {
    margin-bottom: 1em;
}

:root :where(.is-layout-constrained) > p,
:root :where(.is-layout-flow) > p,
.entry-content p,
.wp-block-post-content p,
.elementor-widget-text-editor p,
.learndash-wrapper p,
article p {
    margin-block-end: 1em;
}

/* Hide LearnDash navigation */
.ld-content-actions,
div.ld-content-actions,
#ld-content-actions,
.learndash-wrapper .ld-content-actions,
[class*="ld-content-actions"] {
    display: none !important;
}

/* Page padding top - alleen voor course navbar pagina's */
body.sla-cnav-active > .wp-site-blocks {
    padding-top: var(--sla-cnav-topbar-height, 56px);
}

/* Mobile: ruimte onder mobile header */
@media (max-width: 768px) {
    body > .wp-site-blocks {
        padding-top: 5vh;
    }
}
