:root {
    /* Hlavní barvy */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #60a5fa;
    
    /* Neutrální barvy */
    --background-color: #ffffff;
    --text-color: #1f2937;
    --nav-text-color: #4b5563;
    
    /* Přechody a stíny */
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --hero-gradient: linear-gradient(135deg, rgba(37,99,235,0.1) 0%, rgba(96,165,250,0.1) 100%);
    --hero-text-color: #0f172a;
    --button-hover-transform: translateY(-3px);
    --button-radius: 12px;
    --hero-spacing: clamp(2rem, 5vw, 5rem);
    --hero-animation-duration: 0.8s;
    
    /* Rozměry */
    --navbar-height: 80px;
    --container-width: 1200px;
    --mobile-breakpoint: 768px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: transform var(--transition-speed);
}

/* Efekt schování navbaru při scrollování dolů */
.navbar.hide {
    transform: translateY(-100%);
}

.navbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition-speed);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--nav-text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all var(--transition-speed);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 100;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all var(--transition-speed);
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-speed);
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-link {
        font-size: 1.2rem;
    }
}

/* Animace při načtení */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: fadeInDown 0.5s ease-out;
}



/* Footer Styles */
.footer {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 100%);
    color: var(--background-color);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Dekorativní prvek */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-section h3 {
    color: var(--background-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-section p {
    color: var(--background-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Quick Links */
.footer-section a {
    color: var(--background-color);
    text-decoration: none;
    transition: var(--transition-speed);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--background-color);
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-speed);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.social-links i {
    font-size: 1.2rem;
    color: var(--background-color);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section a:hover {
        transform: translateX(0) scale(1.05);
    }
}

/* Animace pro sociální ikony */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.social-links a:hover i {
    animation: float 0.8s ease infinite;
}

/* Hover efekt pro logo */
.footer-section:first-child h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--background-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-speed);
}

