/* Main styles for Wijsplan.com website */
/* Based on template design adapted for financial education theme */

/* CSS Reset and base settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FDFBF7;
}

/* Color palette based on template */
:root {
    --primary-green: #2F5F5F;
    --light-green: #7FB3B3;
    --accent-yellow: #FFD700;
    --accent-orange: #FFA500;
    --light-blue: #B3D9FF;
    --light-pink: #FFB3D9;
    --light-beige: #F8F7F4;
    --white: #FFFFFF;
    --dark-gray: #333333;
    --light-gray: #666666;
    --border-gray: #E0E0E0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--light-green);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
}

.btn-secondary:hover {
    background-color: var(--accent-orange);
    color: var(--white);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--white);
}

.section-beige {
    background-color: var(--light-beige);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
}

.logo:hover {
    color: var(--primary-green);
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-green);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-green);
}

/* Burger menu for mobile devices */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-beige) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Decorative elements */
.decorative-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-yellow) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.6;
}

.dots-top-right {
    top: 20px;
    right: 20px;
}

.dots-bottom-left {
    bottom: 20px;
    left: 20px;
}

/* Course sections */
.courses-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--light-green);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Course grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.course-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.course-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.course-description {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-link {
    color: var(--accent-orange);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Course list */
.courses-list {
    max-width: 800px;
    margin: 0 auto;
}

.course-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.course-item-content {
    flex: 1;
    min-width: 250px;
}

.course-item-title {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.course-item-description {
    color: var(--light-gray);
    margin-bottom: 15px;
}

.course-item-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.course-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.calendar-icon {
    width: 16px;
    height: 16px;
    background-color: var(--accent-yellow);
    border-radius: 3px;
}

/* Statistics */
.stats-section {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFF8DC 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Organic shapes */
.organic-shape {
    position: absolute;
    border-radius: 50% 30% 70% 40%;
    opacity: 0.1;
}

.shape-green {
    background-color: var(--light-green);
}

.shape-blue {
    background-color: var(--light-blue);
}

.shape-pink {
    background-color: var(--light-pink);
}

/* Footer */
.footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section p {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
    color: var(--white);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-item {
        flex-direction: column;
        text-align: center;
    }
    
    .course-item-meta {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .course-card {
        padding: 20px;
    }
    
    .course-item {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 320px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .course-card {
        padding: 15px;
    }
    
    .course-item {
        padding: 15px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
    border-top: 3px solid var(--primary-green);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.cookie-text p {
    margin-bottom: 5px;
}

.cookie-text a {
    color: var(--primary-green);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--light-green);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--primary-green);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background: var(--light-green);
}

.cookie-btn-decline {
    background: var(--light-beige);
    color: var(--dark-gray);
    border: 1px solid var(--border-gray);
}

.cookie-btn-decline:hover {
    background: var(--border-gray);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-text {
        font-size: 0.85rem;
    }
}
