/*
Theme Name: Emigreren naar Spanje
Theme URI: https://example.com
Author: Custom Theme
Author URI: https://example.com
Description: Een professioneel WordPress thema voor een emigratie-informatiewebsite over Spanje
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emigreren-spanje
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #c1272d 0%, #e8b923 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.site-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.site-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Navigation */
.main-navigation {
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #c1272d;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 500;
    display: block;
}

.main-navigation a:hover {
    background: #c1272d;
    color: white;
}

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

/* Content Sections */
.content-section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #c1272d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e8b923;
}

.content-section h3 {
    color: #444;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
}

.content-section h4 {
    color: #c1272d;
    margin-bottom: 0.5rem;
}

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

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #c1272d;
}

/* Warning & Success Boxes */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.success-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

/* Checklist */
.checklist {
    background: #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    background: #c1272d;
    color: white;
}

tr:hover {
    background: #f8f9fa;
}

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

.region-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #e8b923;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #c1272d;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 0.5rem;
    transition: all 0.3s;
}

.btn:hover {
    background: #a01f24;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* WordPress Specific */
.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header h1 {
        font-size: 1.8rem;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .region-grid {
        grid-template-columns: 1fr;
    }
}

/* WordPress Admin Bar Compensation */
.admin-bar .main-navigation {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .main-navigation {
        top: 46px;
    }
}
