/**
 * Front Page Specific Styles
 */

/* Section Utilities */
.section-padding {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-footer {
    margin-top: 40px;
}

.text-center {
    text-align: center;
}

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

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

.bg-primary h2,
.bg-primary p,
.bg-primary a:not(.btn) {
    color: white;
}

/* Enhanced Hero Section */
.hero-enhanced {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3d6b 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 L1200,0 L1200,100 Q600,50 0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
    background-size: 100% 120px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 500;
}

.feature-badge .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Button Variants */
.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

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

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Cursussen Grid */
.cursussen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.cursus-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cursus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cursus-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background-color: var(--bg-light);
}

.cursus-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cursus-level-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cursus-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cursus-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cursus-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    flex: 1;
}

.cursus-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.meta-item.price {
    color: var(--secondary-color);
    font-weight: 600;
}

.meta-item .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.cursus-start {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: white;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Activiteiten Grid */
.activiteiten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.activiteit-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
}

.activiteit-card:hover {
    box-shadow: var(--shadow-lg);
}

.activiteit-date {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.date-display {
    text-align: center;
}

.date-display .day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-display .month {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 5px;
}

.activiteit-content {
    padding: 20px;
    flex: 1;
}

.activiteit-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.activiteit-content .location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.activiteit-content .excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
}

.activiteit-content .read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.activiteit-content .read-more:hover {
    color: var(--secondary-color);
}

.activiteit-content .read-more .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-extra {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-extra a {
    color: white;
    text-decoration: underline;
}

.cta-extra a:hover {
    opacity: 0.8;
}

.cta-extra .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
}

/* Empty States */
.no-cursussen,
.no-activiteiten {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cursussen-grid,
    .activiteiten-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .activiteit-card {
        flex-direction: column;
    }

    .activiteit-date {
        padding: 15px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }

    .hero-enhanced {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
