/*
Theme Name: AardrijksKunde
Description: Een modern WordPress thema voor aardrijkskunde websites voor scholieren
Author: Jouw Naam
Version: 2.0
*/

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

/* Root Variables - Moderne Aardrijkskunde Kleurenpalet */
:root {
    --primary-teal: #0f766e;
    /* Diep turquoise */
    --secondary-coral: #f97316;
    /* Levendige koraal */
    --accent-purple: #7c3aed;
    /* Moderne paars */
    --nature-sage: #84cc16;
    /* Fris saliegroen */
    --ocean-deep: #0369a1;
    /* Diepe oceaan */
    --sunset-pink: #ec4899;
    /* Zonsondergang roze */
    --cream-warm: #fef7ed;
    /* Warme crème */
    --slate-cool: #f1f5f9;
    /* Koele leisteen */
    --charcoal: #0f172a;
    /* Houtskool zwart */
    --text-soft: #475569;
    /* Zachte tekst */
    --gradient-ocean: linear-gradient(135deg, var(--primary-teal) 0%, var(--ocean-deep) 50%, var(--accent-purple) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--secondary-coral) 0%, var(--sunset-pink) 50%, var(--accent-purple) 100%);
    --gradient-nature: linear-gradient(135deg, var(--nature-sage) 0%, var(--primary-teal) 100%);
    --gradient-background: linear-gradient(135deg, var(--cream-warm) 0%, var(--slate-cool) 50%, #e2e8f0 100%);
}

/* Body & Typography */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--gradient-background);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 118, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(15, 118, 110, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-teal);
}

.header-content {
    padding: 1rem 0;
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
}

.header-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(15, 118, 110, 0.1);
    padding-top: 1rem;
}

/* Logo - Wereldbol met Kompas */
.logo {
    display: flex;
    align-items: center;
    color: var(--primary-teal);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.globe-compass {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-ocean);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    position: relative;
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.4);
    overflow: hidden;
}

.globe-compass::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
}

.compass-icon {
    font-size: 2rem;
    color: white;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-teal);
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--secondary-coral);
    font-weight: 500;
    margin-top: -0.2rem;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
}

.nav li a {
    color: var(--charcoal);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-sunset);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav li a:hover::before {
    left: 0;
}

.nav li a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

/* Hero Section */
.hero {
    background: var(--gradient-ocean);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search */
.hero-search {
    max-width: 700px;
    margin: 0 auto;
}

.hero-search-form {
    display: flex;
    background: white;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-search-field {
    flex: 1;
    padding: 1.5rem 2.5rem;
    border: none;
    outline: none;
    font-size: 1.2rem;
    color: var(--charcoal);
    background: transparent;
}

.hero-search-field::placeholder {
    color: var(--text-soft);
}

.hero-search-submit {
    background: var(--secondary-coral);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-search-submit:hover {
    background: var(--sunset-pink);
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    padding: 5rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.1);
}

/* Entry Content */
.entry-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.1);
    margin-bottom: 2rem;
    border-left: 5px solid var(--nature-sage);
}

.entry-title {
    color: var(--primary-teal);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
}

.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Typography */
.post-content p,
.entry-content p {
    margin-bottom: 1.8rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--charcoal);
}

/* Headings */
.entry-content h1,
.post-content h1 {
    color: var(--primary-teal) !important;
    font-size: 2.4rem !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.entry-content h2,
.post-content h2 {
    color: var(--primary-teal) !important;
    font-size: 2rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.2rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 3px solid var(--nature-sage) !important;
}

.entry-content h3,
.post-content h3 {
    color: var(--ocean-deep) !important;
    font-size: 1.6rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.entry-content h4,
.post-content h4 {
    color: var(--secondary-coral) !important;
    font-size: 1.4rem !important;
    margin-top: 1.8rem !important;
    margin-bottom: 0.8rem !important;
    font-weight: 600 !important;
}

/* Links */
a {
    color: var(--secondary-coral);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--sunset-pink);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(15, 118, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 Q25 0 50 10 T100 10 V20 H0 Z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer h4,
.footer-widget h4 {
    color: var(--cream-warm);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 2px solid var(--nature-sage);
    padding-bottom: 0.5rem;
}

.footer a,
.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.footer a:hover,
.footer-widget a:hover {
    color: var(--cream-warm);
    padding-left: 0.5rem;
    text-decoration: none;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget:last-child {
    margin-bottom: 0;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Cards & Widgets */
.card,
.widget {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--nature-sage);
    margin-bottom: 2rem;
}

.card:hover,
.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.15);
}

.card h3,
.widget-title {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

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

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }

    .nav li a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .hero-search-form {
        flex-direction: column;
        border-radius: 20px;
    }

    .hero-search-field,
    .hero-search-submit {
        padding: 1.2rem 2rem;
    }

    .hero-search-submit {
        border-radius: 0 0 17px 17px;
    }

    .entry-title {
        font-size: 2.2rem;
    }

    .entry-content,
    .main-content {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.entry-content {
    animation: fadeInUp 0.6s ease forwards;
}

/* Search Form */
.search-form {
    display: flex;
    margin-bottom: 2rem;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.1);
}

.search-field {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--slate-cool);
    border-right: none;
    outline: none;
    font-size: 1rem;
}

.search-submit {
    background: var(--nature-sage);
    color: white;
    border: 2px solid var(--nature-sage);
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.search-submit:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}