@import "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css";

:root {
    --primary-dark: #033E8C;
    --primary-light: #079DD9;
    --accent-color: #C4EEF2;
    --text-light: #ffffff;
    --text-dark: #212529;
    --sidebar-width: 280px;
    --transition-speed: 0.3s;
    --text-custom: #2c3e50;

    --background:#2D72C0;
    --headings:#033E8C;
    --text-color:#fff;
    --hover:#C4EEF2;

    --primary-light: rgba(7, 157, 217, 0.1);
    --gradient-start: #079DD9;
    --gradient-end: #033E8C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: var(--hover);
    color: var(--background);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--headings);
    border-color: var(--headings);
    transition: all 0.3s ease;
    &:hover{
        background-color: var(--hover);
        border-color: var(--hover);
        color: var(--background);
    }
}

/* Hero Section */
#hero {
    h1 {
        color: #082040;
        line-height: 1.2;
    }
    .hero-image-container {
        border-radius: 16px;
        overflow: hidden;
        transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
        transition: transform 0.5s ease;
        .hero-image-overlay {
            background: linear-gradient(45deg, rgba(3, 62, 140, 0.4), rgba(7, 157, 217, 0.2));
        }
    }
}

/* Over Ons Section */
.bg-gradient-blue {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

#over-ons .card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#over-ons .card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#over-ons ul li {
    position: relative;
    padding-left: 1.75rem;
}

#over-ons ul li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--hover);
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Doelgroep Section */
#doelgroep {
    position: relative;
}

#doelgroep .card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#doelgroep .hover-effect:hover {
    box-shadow: 0 10px 25px rgba(7, 157, 217, 0.3);
}

#doelgroep .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#doelgroep p {
    color: rgba(0, 0,0,0.7);
}

#doelgroep .lead{
    color: white;
}

#doelgroep h3 {
    color: rgba(0, 0,0, 0.7);
}

#doelgroep .alert {
    background-color: var(--text-custom);
    color: var(--text-color);
}

#doelgroep .alert p{
    color: rgba(255,255,255,0.9);
}

/* Cursus Overzicht Section */
#cursus-overzicht {
    background-color: rgba(3, 62, 140, 0.05);
    border-radius: 20px;
}

.module-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(7, 157, 217, 0.2);
}

.module-card:hover {
    box-shadow: 0 10px 20px rgba(7, 157, 217, 0.2);
}

.module-card .card-header {
    border-bottom: none;
}

.module-card .list-unstyled li {
    padding-left: 1.5rem;
    position: relative;
}

.module-card .list-unstyled li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--headings);
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(7, 157, 217, 0.1);
}

.progress-bar {
    border-radius: 4px;
}

.badge.bg-accent {
    background-color: var(--hover);
    color: var(--background);
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
}

.bold{
    font-weight: bold;
}

/* Functionaliteiten Section */
#functionaliteiten {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.feature-card {
    border-radius: 12px;
    border: 1px solid rgba(7, 157, 217, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 20px rgba(7, 157, 217, 0.15);
}

.feature-card .icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(7, 157, 217, 0.1), rgba(3, 62, 140, 0.1));
    border-radius: 50%;
    color: white;
}




.logo{
    max-width: 120px;
}

.navbar {
    background-color: var(--primary-dark) !important;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light) !important;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Hamburger menu */
.hamburger {
    position: fixed;
    top: 15px;
    right: 15px;
    background: var(--primary-dark);
    color: var(--text-light);
    border: none;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
}

.hamburger:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
}

/* Sidebar stijlen */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--primary-dark);
    transition: right var(--transition-speed) ease-in-out;
    z-index: 1050;
    overflow-y: auto;
}

.sidebar.show {
    right: 0;
}

.sidebar-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-img {
    width: 30px;
    height: 30px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-link, .btn-toggle {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-toggle {
    justify-content: space-between;
}
    footer ul li:hover {
        text-decoration: underline;
    }

        .sidebar-link:hover, .btn-toggle:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--accent-color);
        }

        .sidebar-link.active {
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--accent-color);
        }

        .submenu {
            list-style: none;
            padding-left: 1.5rem;
            margin: 0;
        }

        .submenu-link {
            display: block;
            padding: 0.6rem 1rem;
            color: var(--text-light);
            text-decoration: none;
            transition: all var(--transition-speed) ease;
        }

        .submenu-link:hover {
            color: var(--accent-color);
            padding-left: 1.2rem;
        }

        .toggle-icon {
            transition: transform var(--transition-speed) ease;
        }

        .collapsed .toggle-icon {
            transform: rotate(-90deg);
        }

        /* Footer stijlen */
        .footer {
            background-color: var(--primary-dark);
            color: var(--text-light);
            padding: 2rem 0 0;
            margin-top: auto;
        }

        .footer-section {
            margin-bottom: 1.5rem;
        }

        .footer h5 {
            color: var(--accent-color);
            margin-bottom: 1rem;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
        }

        .footer ul {
            padding: 0;
            list-style-position: inside;
        }

        .footer ul li {
            margin-bottom: 0.5rem;
        }

        .footer a {
            color: white;
            align-items: center;
        }

        .footer a:hover {
            color: var(--accent-color);
        }

        .map-container {
            margin-top: 1rem;
            border-radius: 8px;
            overflow: hidden;
        }

        .map-iframe {
            width: 100%;
            height: 180px;
            border: 0;
            filter: grayscale(30%) invert(10%) contrast(90%);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1rem;
            margin-top: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .copyright {
            margin-bottom: 1rem;
        }

        /* Responsieve aanpassingen */
        @media (min-width: 768px) {
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                text-align: left;
            }
        }

        @media (min-width: 992px) {
            .dropdown:hover .dropdown-menu {
                display: block;
                margin-top: 0; /* verwijdert de gap tussen navbar en dropdown */
            }

            .dropdown-menu {
                border: none;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
                background-color: var(--primary-dark);
            }

            .dropdown-item {
                color: var(--text-light);
                padding: 0.5rem 1rem;
                transition: all var(--transition-speed) ease;
            }

            .dropdown-item:hover {
                background-color: var(--primary-light);
                color: var(--text-light);
                padding-left: 1.2rem;
            }
        }