/*
Theme Name: Autisme Gids voor Ouders
Theme URI: https://example.com/autisme-gids-ouders
Author: Voor autisme
Author URI: https://voorautisme.nl
Description: Een warme, ondersteunende WordPress theme voor ouders van kinderen met autisme. Met 3D klei-stijl design en 5 categorieën: Wat, Waarom, Hoe, Kan, Welke.
Version: 1.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autisme-gids-ouders
Tags: autism, parents, guide, clay-style, responsive, accessibility
*/

/* ========================================
   CSS VARIABLES - 3D Clay Style Colors
   ======================================== */
:root {
    /* Primary Colors - Soft Pastel Clay Palette */
    --color-primary: #F4A261;
    --color-primary-light: #FDBA8C;
    --color-primary-dark: #E07A3E;
    
    /* Secondary Colors */
    --color-secondary: #2A9D8F;
    --color-secondary-light: #4ECDC4;
    --color-secondary-dark: #1D7A6E;
    
    /* Accent Colors */
    --color-accent-purple: #B8A9C9;
    --color-accent-purple-light: #D4C5E2;
    --color-accent-mint: #A8E6CF;
    --color-accent-coral: #FFB4A2;
    --color-accent-yellow: #FFEAA7;
    --color-accent-blue: #A8D8EA;
    --color-accent-pink: #FFD1DC;
    
    /* Category Colors */
    --color-wat: #A8E6CF;
    --color-waarom: #FFB4A2;
    --color-hoe: #FFEAA7;
    --color-kan: #B8A9C9;
    --color-welke: #A8D8EA;
    
    /* Background Colors */
    --color-bg-cream: #FDF8F3;
    --color-bg-warm: #FFF9F0;
    --color-bg-soft: #FAF7F2;
    
    /* Text Colors */
    --color-text-dark: #4A4A4A;
    --color-text-medium: #6B6B6B;
    --color-text-light: #8B8B8B;
    --color-text-white: #FFFFFF;
    
    /* 3D Shadow Effects */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-inset: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    
    /* Clay Button Shadow */
    --shadow-clay: 
        0 6px 0 var(--color-primary-dark),
        0 8px 20px rgba(224, 122, 62, 0.3);
    --shadow-clay-hover:
        0 4px 0 var(--color-primary-dark),
        0 6px 15px rgba(224, 122, 62, 0.3);
    --shadow-clay-active:
        0 2px 0 var(--color-primary-dark),
        0 3px 8px rgba(224, 122, 62, 0.3);
    
    /* Border Radius - Rounded Clay Style */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --radius-full: 50%;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Typography */
    --font-heading: 'Nunito', 'Comic Sans MS', cursive, sans-serif;
    --font-body: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary-dark);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
    margin-bottom: var(--space-sm);
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1400px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-bg-soft) 100%);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-logo img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin: 0;
}

.site-title span {
    color: var(--color-primary);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.nav-menu a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 3px 0 #e0e0e0, 0 4px 10px rgba(0,0,0,0.08);
    transition: all var(--transition-fast);
}

.nav-menu a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #e0e0e0, 0 6px 15px rgba(0,0,0,0.1);
    color: var(--color-primary);
}

.nav-menu a:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #e0e0e0, 0 2px 5px rgba(0,0,0,0.08);
}

/* Category-specific nav colors */
.nav-menu .nav-wat:hover { color: var(--color-wat); }
.nav-menu .nav-waarom:hover { color: var(--color-waarom); }
.nav-menu .nav-hoe:hover { color: var(--color-hoe); }
.nav-menu .nav-kan:hover { color: var(--color-kan); }
.nav-menu .nav-welke:hover { color: var(--color-welke); }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 0 #e0e0e0, 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 1.25rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, #FFF5EB 50%, var(--color-bg-soft) 100%);
    padding: var(--space-xxl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-mint) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: var(--radius-full);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-purple) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: var(--radius-full);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--color-accent-mint);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-medium);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

/* ========================================
   BUTTONS - 3D Clay Style
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-clay);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-clay-hover);
    color: white;
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: var(--shadow-clay-active);
}

.btn-secondary {
    background: white;
    color: var(--color-text-dark);
    box-shadow: 0 4px 0 #e0e0e0, 0 6px 15px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #e0e0e0, 0 8px 20px rgba(0,0,0,0.12);
    color: var(--color-primary);
}

.btn-secondary:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #e0e0e0, 0 3px 8px rgba(0,0,0,0.08);
}

/* Category Buttons */
.btn-wat { 
    background: linear-gradient(135deg, var(--color-wat) 0%, #8FD9B6 100%);
    box-shadow: 0 6px 0 #6BC4A6, 0 8px 20px rgba(107, 196, 166, 0.3);
}
.btn-wat:hover { box-shadow: 0 4px 0 #6BC4A6, 0 6px 15px rgba(107, 196, 166, 0.3); }
.btn-wat:active { box-shadow: 0 2px 0 #6BC4A6, 0 3px 8px rgba(107, 196, 166, 0.3); }

.btn-waarom { 
    background: linear-gradient(135deg, var(--color-waarom) 0%, #FF9A8B 100%);
    box-shadow: 0 6px 0 #E07A6E, 0 8px 20px rgba(224, 122, 110, 0.3);
}
.btn-waarom:hover { box-shadow: 0 4px 0 #E07A6E, 0 6px 15px rgba(224, 122, 110, 0.3); }
.btn-waarom:active { box-shadow: 0 2px 0 #E07A6E, 0 3px 8px rgba(224, 122, 110, 0.3); }

.btn-hoe { 
    background: linear-gradient(135deg, var(--color-hoe) 0%, #FFD93D 100%);
    box-shadow: 0 6px 0 #E6C200, 0 8px 20px rgba(230, 194, 0, 0.3);
    color: var(--color-text-dark);
}
.btn-hoe:hover { box-shadow: 0 4px 0 #E6C200, 0 6px 15px rgba(230, 194, 0, 0.3); }
.btn-hoe:active { box-shadow: 0 2px 0 #E6C200, 0 3px 8px rgba(230, 194, 0, 0.3); }

.btn-kan { 
    background: linear-gradient(135deg, var(--color-kan) 0%, #9B8AA5 100%);
    box-shadow: 0 6px 0 #7A6A84, 0 8px 20px rgba(122, 106, 132, 0.3);
}
.btn-kan:hover { box-shadow: 0 4px 0 #7A6A84, 0 6px 15px rgba(122, 106, 132, 0.3); }
.btn-kan:active { box-shadow: 0 2px 0 #7A6A84, 0 3px 8px rgba(122, 106, 132, 0.3); }

.btn-welke { 
    background: linear-gradient(135deg, var(--color-welke) 0%, #8BC8D8 100%);
    box-shadow: 0 6px 0 #6BA8B8, 0 8px 20px rgba(107, 168, 184, 0.3);
}
.btn-welke:hover { box-shadow: 0 4px 0 #6BA8B8, 0 6px 15px rgba(107, 168, 184, 0.3); }
.btn-welke:active { box-shadow: 0 2px 0 #6BA8B8, 0 3px 8px rgba(107, 168, 184, 0.3); }

/* Small Button */
.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* ========================================
   CATEGORY CARDS SECTION
   ======================================== */
.categories-section {
    padding: var(--space-xxl) 0;
    background: var(--color-bg-soft);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-text-medium);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    transition: height var(--transition-normal);
}

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

.category-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

/* Category Card Colors */
.category-card.wat::before { background: var(--color-wat); }
.category-card.waarom::before { background: var(--color-waarom); }
.category-card.hoe::before { background: var(--color-hoe); }
.category-card.kan::before { background: var(--color-kan); }
.category-card.welke::before { background: var(--color-welke); }

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.category-card.wat .category-icon { background: linear-gradient(135deg, var(--color-wat) 0%, #8FD9B6 100%); }
.category-card.waarom .category-icon { background: linear-gradient(135deg, var(--color-waarom) 0%, #FF9A8B 100%); }
.category-card.hoe .category-icon { background: linear-gradient(135deg, var(--color-hoe) 0%, #FFD93D 100%); }
.category-card.kan .category-icon { background: linear-gradient(135deg, var(--color-kan) 0%, #9B8AA5 100%); }
.category-card.welke .category-icon { background: linear-gradient(135deg, var(--color-welke) 0%, #8BC8D8 100%); }

.category-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.category-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 1;
}

.category-description {
    color: var(--color-text-medium);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.category-count {
    display: inline-block;
    background: var(--color-bg-soft);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-medium);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

/* ========================================
   CATEGORY PAGE STYLES
   ======================================== */
.category-hero {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.category-hero.wat { background: linear-gradient(135deg, var(--color-wat) 0%, #8FD9B6 100%); }
.category-hero.waarom { background: linear-gradient(135deg, var(--color-waarom) 0%, #FF9A8B 100%); }
.category-hero.hoe { background: linear-gradient(135deg, var(--color-hoe) 0%, #FFD93D 100%); }
.category-hero.kan { background: linear-gradient(135deg, var(--color-kan) 0%, #9B8AA5 100%); }
.category-hero.welke { background: linear-gradient(135deg, var(--color-welke) 0%, #8BC8D8 100%); }

.category-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.category-hero-content {
    color: white;
}

.category-hero-content h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: var(--space-md);
}

.category-hero-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

/* Questions List */
.questions-section {
    padding: var(--space-xxl) 0;
    background: var(--color-bg-cream);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-md);
}

.question-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.question-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
}

.question-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-wat .question-icon { background: var(--color-wat); }
.category-waarom .question-icon { background: var(--color-waarom); }
.category-hoe .question-icon { background: var(--color-hoe); }
.category-kan .question-icon { background: var(--color-kan); }
.category-welke .question-icon { background: var(--color-welke); }

.question-content {
    flex: 1;
}

.question-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.question-card:hover .question-title {
    color: var(--color-primary);
}

.question-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.read-more:hover {
    gap: 0.6rem;
}

/* ========================================
   BLOG POST STYLES
   ======================================== */
.single-post {
    padding: var(--space-xl) 0;
    background: var(--color-bg-cream);
}

.post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.post-category-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.post-category-badge.wat { background: var(--color-wat); }
.post-category-badge.waarom { background: var(--color-waarom); }
.post-category-badge.hoe { background: var(--color-hoe); }
.post-category-badge.kan { background: var(--color-kan); }
.post-category-badge.welke { background: var(--color-welke); }

.post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.post-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    max-width: 800px;
    margin: 0 auto;
}

.post-content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 3px solid var(--color-accent-mint);
    display: inline-block;
}

.post-content h3 {
    margin-top: var(--space-md);
    color: var(--color-primary);
}

.post-content ul, .post-content ol {
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    background: var(--color-bg-soft);
    border-left: 5px solid var(--color-primary);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: linear-gradient(135deg, #4A4A4A 0%, #3A3A3A 100%);
    color: white;
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-section h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--color-primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumbs {
    background: var(--color-bg-soft);
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--color-text-medium);
}

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

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: var(--color-text-light);
}

.breadcrumbs .current {
    color: var(--color-text-dark);
    font-weight: 600;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-inner,
    .category-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        width: 100%;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        padding: var(--space-md);
        border-radius: var(--radius-lg);
        margin-top: var(--space-sm);
        box-shadow: var(--shadow-soft);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .post-content {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 2.5rem;
        --space-xxl: 4rem;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}
