/* SchengenRehber - Ana Site */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

/* ==================== HEADER ==================== */

.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.15rem;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.8;
    color: var(--text);
}

.logo-icon {
    font-size: 1.2rem;
    background: var(--primary);
    color: white;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.logo-text {
    font-weight: 400;
}

.logo-text strong {
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 4px;
}

.nav a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.nav a:hover {
    color: var(--text);
    background: var(--bg-alt);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 10px;
    transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
    border-radius: 10px;
}

/* ==================== SECTION HEADERS ==================== */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==================== HERO ==================== */

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #2563eb 100%);
    color: #ffffff;
    padding: 90px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 60% 20%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg), transparent);
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 28px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero .highlight {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.18rem;
    opacity: 0.85;
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    opacity: 0.7;
    font-weight: 500;
}

.hero-feature span {
    font-size: 1.15rem;
}

/* ==================== CTA BANNER ==================== */

.cta-banner {
    padding: 0 0 56px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.cta-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 36px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.cta-left h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== GUIDE ==================== */

.guide-section {
    padding: 80px 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
    padding: 30px 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.25s;
}

.guide-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: transparent;
}

.guide-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.guide-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.guide-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== CITIES ==================== */

.cities-section {
    padding: 80px 0;
    background: var(--white);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.city-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.city-card.city-large {
    grid-column: span 2;
    grid-row: span 2;
}

.city-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}

.city-card:hover .city-img {
    transform: scale(1.05);
}

.city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: #ffffff;
}

.city-country {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin-bottom: 3px;
}

.city-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.city-card:not(.city-large) h3 {
    font-size: 1.1rem;
}

.city-card p {
    font-size: 0.82rem;
    opacity: 0.8;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.city-card:not(.city-large) p {
    display: none;
}

.city-info {
    display: flex;
    gap: 16px;
    font-size: 0.72rem;
    opacity: 0.65;
    margin-top: 10px;
}

/* ==================== BLOG ==================== */

.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.blog-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.25s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-card.featured .blog-img {
    height: 100%;
    min-height: 300px;
}

.blog-content {
    padding: 26px;
}

.blog-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==================== FAQ ==================== */

.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

.faq-item a {
    color: var(--primary);
    font-weight: 600;
}

/* ==================== BOTTOM CTA ==================== */

.bottom-cta {
    padding: 88px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.bottom-cta > .container {
    position: relative;
}

.bottom-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    margin-bottom: 14px;
}

.bottom-cta p {
    opacity: 0.85;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ==================== FOOTER ==================== */

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: #ffffff;
    font-size: 0.82rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        z-index: 99;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 12px 16px;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 60px 0 80px;
    }

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

    .hero-sub {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

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

    .cities-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .city-card.city-large {
        grid-column: span 2;
        grid-row: span 1;
    }

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

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}
