/*
Theme Name: Zypern Auswandern
Theme URI: https://zypern-auswandern.de
Author: Markus
Author URI: https://zypern-auswandern.de
Description: Custom Theme für Zypern Auswandern - Homepage mit integrated Blog
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zypern-auswandern
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

:root {
    --primary: #1a3a52;
    --sea: #006BA3;
    --sand: #E8D4A0;
    --earth: #8B7355;
    --accent: #FF6B35;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #faf9f7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG Markers */
.marker-circle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-circle:hover {
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.6));
}

.marker-glow:hover {
    opacity: 0.6 !important;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s ease-out;
}

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

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.hero-cta:hover {
    background: #e85a2a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 2.5s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -1px;
}

.explore-section {
    background: white;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.explore-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Info Panel */
.info-panel {
    position: fixed;
    right: -420px;
    top: 0;
    width: 420px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    overflow-y: auto;
    z-index: 200;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-panel.active {
    right: 0;
}

.panel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-close:hover {
    color: var(--primary);
}

.panel-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.panel-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.panel-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.panel-section:last-child {
    border-bottom: none;
}

.panel-section h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.panel-section p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.stat-value {
    color: var(--primary);
    font-weight: 700;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.featured-card {
    background: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.featured-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.featured-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.featured-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Blog Section */
.blog-section {
    background: white;
    border-top: 1px solid #e0e0e0;
    padding-top: 6rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.blog-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--sea) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-link:hover {
    color: var(--primary);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--sea) 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    margin-top: 8rem;
    border-radius: 8px;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 8rem;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .info-panel {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    nav {
        display: none;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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