/* Professional Styles with Soft Pastel Tones */
:root {
    /* Base Colors */
    --primary-color: #6B8DD6;
    --secondary-color: #8E9CFF;
    --accent-color: #7FC4C8;
    --text-dark: #2C3E50;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    
    /* Category Colors - Soft Pastels */
    --visueel: #B8A5D8;        /* Soft Purple */
    --fotografie: #F4A5A8;     /* Soft Rose */
    --animatie: #A5D5F4;       /* Soft Blue */
    --film: #F4C5A5;           /* Soft Peach */
    --game: #A5F4D0;           /* Soft Mint */
    --muziek: #F4A5E8;         /* Soft Pink */
    --podcast: #F4E5A5;        /* Soft Yellow */
    --overig: #A5E5F4;         /* Soft Cyan */
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Touch-friendly tap targets */
a, button, .workshop-card, .category-card {
    -webkit-tap-highlight-color: rgba(107, 141, 214, 0.2);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

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

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

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E8F0FE 0%, #F3E8FF 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #E8F0FE 0%, #F3E8FF 100%);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-hero h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Calendar Section */
.calendar-section {
    padding: 4rem 0;
    background: var(--white);
}

.calendar-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.month-calendar {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.month-calendar h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.calendar {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.calendar th,
.calendar td {
    padding: 0.8rem;
    text-align: center;
    border: 1px solid #E2E8F0;
}

.calendar th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar td {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.calendar .available {
    background: linear-gradient(135deg, #7FC4C8, #6BC9C7);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.calendar .available:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.categories-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

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

.category-card[data-category="visueel"] {
    border-color: var(--visueel);
}

.category-card[data-category="visueel"]:hover {
    background: linear-gradient(135deg, var(--visueel), rgba(184, 165, 216, 0.2));
}

.category-card[data-category="fotografie"] {
    border-color: var(--fotografie);
}

.category-card[data-category="fotografie"]:hover {
    background: linear-gradient(135deg, var(--fotografie), rgba(244, 165, 168, 0.2));
}

.category-card[data-category="animatie"] {
    border-color: var(--animatie);
}

.category-card[data-category="animatie"]:hover {
    background: linear-gradient(135deg, var(--animatie), rgba(165, 213, 244, 0.2));
}

.category-card[data-category="film"] {
    border-color: var(--film);
}

.category-card[data-category="film"]:hover {
    background: linear-gradient(135deg, var(--film), rgba(244, 197, 165, 0.2));
}

.category-card[data-category="game"] {
    border-color: var(--game);
}

.category-card[data-category="game"]:hover {
    background: linear-gradient(135deg, var(--game), rgba(165, 244, 208, 0.2));
}

.category-card[data-category="muziek"] {
    border-color: var(--muziek);
}

.category-card[data-category="muziek"]:hover {
    background: linear-gradient(135deg, var(--muziek), rgba(244, 165, 232, 0.2));
}

.category-card[data-category="podcast"] {
    border-color: var(--podcast);
}

.category-card[data-category="podcast"]:hover {
    background: linear-gradient(135deg, var(--podcast), rgba(244, 229, 165, 0.2));
}

.category-card[data-category="overig"] {
    border-color: var(--overig);
}

.category-card[data-category="overig"]:hover {
    background: linear-gradient(135deg, var(--overig), rgba(165, 229, 244, 0.2));
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Workshop Categories on Workshops Page */
.workshop-category {
    padding: 3rem 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid;
}

.category-header[data-category="visueel"] {
    border-color: var(--visueel);
}

.category-header[data-category="fotografie"] {
    border-color: var(--fotografie);
}

.category-header[data-category="animatie"] {
    border-color: var(--animatie);
}

.category-header[data-category="film"] {
    border-color: var(--film);
}

.category-header[data-category="game"] {
    border-color: var(--game);
}

.category-header[data-category="muziek"] {
    border-color: var(--muziek);
}

.category-header[data-category="podcast"] {
    border-color: var(--podcast);
}

.category-header[data-category="overig"] {
    border-color: var(--overig);
}

.category-header .category-icon {
    font-size: 2.5rem;
    margin: 0;
}

.category-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0;
}

/* Workshop Cards with Flip Effect */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.workshop-card {
    perspective: 1000px;
    height: 360px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.workshop-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.card-front {
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.workshop-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.workshop-card:hover .workshop-image img {
    transform: scale(1.05);
}

.card-front h3 {
    padding: 1.5rem 1rem;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.card-back h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-back p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.duration {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #E8F0FE 0%, #F3E8FF 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
}

/* About Page Styles */
.about-content {
    padding: 3rem 0;
}

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

.about-main h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-main h3:first-child {
    margin-top: 0;
}

.about-main p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.specialty-item {
    background: var(--bg-light);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.specialty-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.specialty-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-card p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.info-card a:hover {
    color: var(--primary-color);
}

/* Experience Timeline */
.experience-section,
.music-section,
.education-section {
    margin-top: 3rem;
}

.experience-section h3,
.music-section h3,
.education-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-content p,
.timeline-content ul {
    color: var(--text-light);
    line-height: 1.7;
}

.timeline-content ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.timeline-content li {
    margin-bottom: 0.3rem;
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.music-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.music-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.music-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.education-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.education-item h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.year {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablets and smaller (768px and below) */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 1rem 0;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    .tagline {
        font-size: 0.85rem;
    }

    /* Navigation */
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
    }

    nav li {
        flex: 0 0 auto;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .cta-button {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 0;
    }

    .hero h2,
    .page-hero h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Sections */
    .categories-section,
    .calendar-section,
    .cta-section {
        padding: 3rem 0;
    }

    /* Category Grid */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        padding: 2rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    /* Workshop Grid */
    .workshop-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .workshop-card {
        height: 350px;
    }

    /* Calendar Grid */
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    /* Buttons */
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }

    /* Big booking button */
    .calendar-section .btn-primary {
        padding: 20px 40px !important;
        font-size: 1.2rem !important;
    }

    /* Footer */
    footer {
        padding: 2rem 0;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Header */
    .logo h1 {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    /* Navigation - Stack vertically on very small screens */
    nav ul {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    nav a {
        display: block;
        text-align: center;
        width: 100%;
    }

    /* Hero */
    .hero h2,
    .page-hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* Section headings */
    h2 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* Workshop Cards */
    .workshop-card {
        height: 320px;
    }

    .workshop-card h3 {
        font-size: 1.1rem;
    }

    .workshop-card p {
        font-size: 0.9rem;
    }

    /* Category Cards */
    .category-card h3 {
        font-size: 1.2rem;
    }

    .category-card p {
        font-size: 0.9rem;
    }

    /* Big booking button */
    .calendar-section .btn-primary {
        padding: 18px 30px !important;
        font-size: 1.1rem !important;
        border-radius: 40px !important;
    }

    /* Trust badges under button */
    .calendar-section p {
        font-size: 0.9rem !important;
        line-height: 1.6;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Footer */
    footer p {
        font-size: 0.85rem;
        line-height: 1.8;
    }

    footer a {
        font-size: 0.85rem;
    }

    /* Category headers */
    .category-header h2 {
        font-size: 1.5rem;
    }

    .category-icon {
        font-size: 2rem;
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .hero h2,
    .page-hero h2 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .calendar-section .btn-primary {
        padding: 15px 25px !important;
        font-size: 1rem !important;
    }
}

/* ============================================
   Google Calendar Integration Styles
   ============================================ */

/* Unavailable dates in calendar */
.calendar .unavailable {
    background: #E8E8E8;
    color: #999;
    cursor: not-allowed;
    font-weight: 400;
}

.calendar .unavailable:hover {
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* Loading state for calendar */
#calendar-loading {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

#calendar-loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Error state for calendar */
#calendar-error {
    text-align: center;
    padding: 2rem;
    color: #c0392b;
    background: linear-gradient(135deg, #ffe8e8, #ffd4d4);
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

#calendar-error p {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Calendar container grid display */
#calendar-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ============================================
   End Google Calendar Styles
   ============================================ */
