/* Palette: Turquoise, Saffron, Pomegranate, White */
:root {
    --turquoise: #40E0D0;
    --saffron: #F4C430;
    --pomegranate: #C0392B;
    --white: #FFFFFF;
    --text: #2C3E50;
    --light-bg: #F0F8FF;
    
    --font-head: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--light-bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: 20px; }

/* Header */
.colorful-header { background: var(--white); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-bottom: 5px solid var(--turquoise); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 2rem; color: var(--text); letter-spacing: 1px; font-weight: 600; }
.magnet-icon { font-size: 1.5rem; margin: 0 5px; animation: bounce 2s infinite; display: inline-block; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.fun-nav a { margin-left: 20px; font-weight: 700; color: var(--text); font-size: 1.1rem; border-radius: 20px; padding: 8px 15px; }
.fun-nav a:hover, .fun-nav a.active { background: var(--saffron); color: var(--white); transform: rotate(-2deg); }

.mobile-toggle { display: none; background: var(--pomegranate); color: var(--white); border: none; padding: 8px 15px; border-radius: 10px; font-weight: 700; cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--turquoise); z-index: 2000; padding: 40px; transition: 0.4s; }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; color: var(--white); font-size: 1.5rem; margin-bottom: 20px; cursor: pointer; }
.mobile-menu a { display: block; color: var(--white); font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; font-family: var(--font-head); }

@media (max-width: 900px) {
    .fun-nav { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero-magnet { height: 80vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.hero-content { position: relative; z-index: 10; color: var(--white); max-width: 800px; text-shadow: 2px 2px 5px rgba(0,0,0,0.5); }

.badge-fun { background: var(--pomegranate); color: var(--white); padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; margin-bottom: 20px; display: inline-block; transform: rotate(-3deg); }
.hero-content h1 { font-family: var(--font-head); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: 1.4rem; margin-bottom: 40px; font-weight: 600; }

.btn-colorful { background: var(--saffron); color: var(--text); padding: 15px 40px; font-weight: 800; border-radius: 50px; border: none; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 0 #D4AC0D; }
.btn-colorful:hover { transform: translateY(2px); box-shadow: 0 3px 0 #D4AC0D; background: #FFD700; }

/* Categories */
.section-title h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--pomegranate); margin-bottom: 5px; }
.zigzag-line { width: 100px; height: 10px; background: url('data:image/svg+xml;utf8,<svg width="20" height="10" viewBox="0 0 20 10" xmlns="http://www.w3.org/2000/svg"><path d="M0 10 L10 0 L20 10" fill="none" stroke="%2340E0D0" stroke-width="2"/></svg>') repeat-x; margin: 0 auto 40px; }
.zigzag-line.left { margin: 0 0 30px 0; }
.text-center { text-align: center; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { background: var(--white); padding: 30px 20px; border-radius: 20px; text-align: center; transition: 0.3s; border: 2px solid transparent; }
.cat-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.cat-card.c-1:hover { border-color: var(--pomegranate); }
.cat-card.c-2:hover { border-color: var(--turquoise); }
.cat-card.c-3:hover { border-color: var(--saffron); }
.cat-card.c-4:hover { border-color: #9B59B6; }
.emoji { font-size: 3rem; margin-bottom: 10px; display: block; }
.cat-card h3 { font-family: var(--font-head); margin-bottom: 5px; color: var(--text); }

/* Magnet Strip */
.magnet-strip { background: var(--turquoise); padding: 50px 0; text-align: center; margin-top: 50px; color: var(--white); transform: skewY(-2deg); }
.magnet-strip .container { transform: skewY(2deg); }
.magnet-strip h3 { font-size: 2rem; font-family: var(--font-head); font-weight: 400; }

/* About */
.about-fun { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-txt h1 { font-family: var(--font-head); font-size: 3rem; color: var(--text); line-height: 1.1; margin-bottom: 20px; }
.fun-facts { display: flex; gap: 30px; margin-top: 30px; }
.fact { background: var(--white); padding: 15px 30px; border-radius: 15px; box-shadow: 5px 5px 0 var(--saffron); text-align: center; }
.fact strong { font-size: 2rem; color: var(--pomegranate); display: block; font-family: var(--font-head); }
.about-img img { border: 10px solid var(--white); transform: rotate(3deg); box-shadow: 10px 10px 0 rgba(0,0,0,0.1); }

/* Experiences */
.experiences-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.exp-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.exp-card:hover { transform: scale(1.03); }
.exp-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 20px 20px 0 0; }
.exp-content { padding: 20px; }
.exp-content h3 { font-family: var(--font-head); color: var(--text); margin-bottom: 10px; }
.btn-small { background: var(--turquoise); color: var(--white); padding: 5px 15px; border-radius: 15px; font-size: 0.9rem; font-weight: 700; display: inline-block; margin-top: 10px; }

/* Contact */
.contact-fun { max-width: 600px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 3px dashed var(--saffron); }
.contact-header { text-align: center; margin-bottom: 30px; }
.contact-header h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--pomegranate); }
.social-icons span { font-size: 2rem; margin: 0 10px; }

.colorful-form .form-group { margin-bottom: 20px; }
.colorful-form label { display: block; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.colorful-form input, .colorful-form select, .colorful-form textarea { width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 15px; font-family: var(--font-body); transition: 0.3s; }
.colorful-form input:focus { border-color: var(--turquoise); outline: none; }
.full { width: 100%; }

/* Legal */
.legal-box { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border-radius: 20px; }
.legal-box h1 { font-family: var(--font-head); color: var(--pomegranate); }

/* Footer */
.magnet-footer { background: var(--text); color: var(--white); padding: 60px 0 20px; margin-top: 100px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-brand h4 { font-family: var(--font-head); font-size: 1.5rem; color: var(--saffron); margin-bottom: 5px; }
.f-links a { margin-left: 20px; color: #ddd; font-weight: 700; }
.f-links a:hover { color: var(--turquoise); }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.7; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    .cat-grid, .about-fun, .experiences-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; }
    .about-img img { transform: rotate(0); }
}