/* Emma's Creatieve Wereld - Modern CSS */

:root {
    /* Ligh Theme (default) - Fun & Bright */
    --bg-primary: #FFF5F7;
    --bg-secondary: #FFEEF5;
    --bg-card: #FFFFFF;
    --text-primary: #6B4B5A;
    --text-secondary: #9D8B92;
    --accent: #FF69B4; /* Hot Pink */
    --accent-hover: #FF1493;
    --accent-2: #FFB6C1; /* Pink */
    --accent-3: #FFD1DC; /* Light Pink */
    --accent-4: #DDA0DD; /* Plum */
    --accent-5: #FFA07A; /* Orange */
    --accent-6: #FFB347; /* Yellow */
    --accent-7: #00CED1; /* Dark Turquoise */
    --accent-8: #98FB98; /* Pale Green */
    --border: #FFC0CB;
    --shadow: rgba(255, 105, 180, 0.15);
    
    /* Section colors */
    --knutselen: #FF69B4;
    --tekenen: #FFB347;
    --haken: #00CED1;
}

[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16162a;
    --bg-card: #1f1f33;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent: #ff4081;
    --accent-hover: #ff1f7a;
    --border: #334155;
    --shadow: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Comic Neue MS', 'Arial Rounded MT Bold', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 180, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 160, 122, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Header */
header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-4) 100%);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px var(--shadow);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.15);
}

.nav-links a:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

.theme-toggle {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    text-shadow: 3px 3px 0px rgba(255,255,255,0.5);
    animation: titleBounce 2s ease-in-out;
}

@keyframes titleBounce {
    0% { transform: translateY(-30px); opacity: 0; }
    60% { transform: translateY(10px); }
    100% { transform: translateY(0); opacity: 1; }
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 500;
}

.hero-avatar {
    width: 250px;
    height: 250px;
    margin: 2rem auto;
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
    animation: avatarWiggle 3s ease-in-out infinite;
    cursor: pointer;
}

.hero-avatar:hover {
    transform: scale(1.1);
}

@keyframes avatarWiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Floating Elements */
.floating-emoji {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.emoji-1 { top: 10%; left: 10%; animation-delay: 0s; }
.emoji-2 { top: 20%; right: 15%; animation-delay: 2s; }
.emoji-3 { bottom: 15%; left: 20%; animation-delay: 4s; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Sections */
section {
    padding: 6rem 0;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-align: center;
    text-shadow: 2px 2px 0px rgba(255, 182, 193, 0.3);
    position: relative;
}

section h2::after {
    content: '✨';
    position: absolute;
    top: -20px;
    right: 50px;
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.interest-card {
    background: var(--bg-card);
    border: 3px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    transition: left 0.3s;
}

.interest-card:hover::before {
    left: 100%;
}

.interest-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.25);
    border-color: var(--accent);
}

.interest-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: iconBounce 2s ease-in-out;
}

.interest-card:nth-child(1) .interest-icon { animation-delay: 0s; }
.interest-card:nth-child(2) .interest-icon { animation-delay: 0.5s; }
.interest-card:nth-child(3) .interest-icon { animation-delay: 1s; }

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.interest-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.interest-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Knutselen Card */
.interest-card.knutselen {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--knutselen) 5%);
}

/* Tekenen Card */
.interest-card.tekenen {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--tekenen) 5%);
}

/* Haken Card */
.interest-card.haken {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--haken) 5%);
}

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

.gallery-item {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-info {
    padding: 1rem;
    text-align: center;
}

.gallery-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.gallery-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
}

/* Fun Facts Section */
.fun-facts {
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-3) 100%);
    padding: 4rem;
    border-radius: 20px;
    margin: 3rem 0;
    color: white;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.2);
}

.fun-facts h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.fact {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Contact Section */
.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid var(--border);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 3px solid var(--border);
    border-radius: 15px;
    font-size: 1.1rem;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.4);
}

/* Footer */
footer {
    background: var(--accent-4);
    padding: 3rem 0;
    text-align: center;
    color: white;
    margin-top: 3rem;
    position: relative;
}

.footer-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-10deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.15);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 25px;
    position: relative;
    margin: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-4) 100%);
    padding: 2rem;
    border-radius: 25px 25px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.modal-close {
    background: white;
    border: none;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-body {
    padding: 2.5rem;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.modal-image {
    aspect-ratio: 1;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image.active {
    outline: 4px solid var(--accent);
    outline-offset: 2px;
}

.modal-image:hover {
    transform: scale(1.1);
}

.modal-details {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-avatar {
        width: 200px;
        height: 200px;
        font-size: 6rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .interest-card {
        padding: 2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-avatar {
        width: 150px;
        height: 150px;
        font-size: 5rem;
    }
    
    .interest-icon {
        font-size: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Color variations for gallery */
.gallery-knutselen {
    background: linear-gradient(135deg, #FFB6C1 0%, #FFC0CB 100%);
}

.gallery-tekenen {
    background: linear-gradient(135deg, #FFD1DC 0%, #FFB6C1 100%);
}

.gallery-haken {
    background: linear-gradient(135deg, #98FB98 0%, #00CED1 100%);
}
