:root {
    --primary: #0056b3;
    --secondary: #00a8cc;
    --dark: #121212;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background: radial-gradient(circle at top, #e3f2fd, #f8f9fa);
    color: var(--dark);
}

/* Header & Navigation */

.header {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mode-toggle {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hamburger */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 999px;
}

/* Hero */

.hero {
    padding: 5rem 1.5rem;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, #0056b3, #00a8cc);
}

.hero-inner {
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn.primary:hover {
    background: var(--dark);
    color: var(--white);
}

/* Sections */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 4rem 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--secondary);
    display: block;
    margin: 10px auto 0;
    border-radius: 999px;
}

/* Cards */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.glass {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px);
}

/* About */

.about-box {
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: auto;
    text-align: center;
    color: var(--gray);
}

/* Kontakt */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.info-item {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.map-box {
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Footer */

.footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 1.5rem;
    margin-top: 4rem;
}

/* Dark Mode */

body.dark {
    background: radial-gradient(circle at top, #1f2933, #0b1015);
    color: #e5e7eb;
}

body.dark .header {
    background: rgba(15,23,42,0.9);
}

body.dark .logo,
body.dark .nav-links a {
    color: #e5e7eb;
}

body.dark .hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

body.dark .card,
body.dark .about-box,
body.dark .info-item {
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
}

body.dark .footer {
    background: #020617;
}

/* Mobile */

@media (max-width: 768px) {
    .nav-container {
        gap: 0.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.85);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transform: translateY(-100%);
        transition: transform 0.3s;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links a {
        color: #ffffff;
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }
}
