/* --- PREMENNÉ A RESET --- */
:root {
    --primary-color: #38bdf8;
    --primary-dark: #0284c7;
    --accent-color: #38bdf8;
    --text-color: #cbd5e1;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --border-color: rgba(255, 255, 255, 0.1);
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--text-color); 
    line-height: 1.6; 
    background-color: var(--bg-dark); 
}

body::-webkit-scrollbar {
    display: none;
}

.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: 0 auto; 
}

/* --- ANIMÁCIE --- */
.fade-section { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
    will-change: opacity, transform; 
}
.fade-section.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- GLOBÁLNE TLAČIDLÁ --- */
.btn-primary { 
    display: inline-block; 
    background-color: var(--primary-dark); 
    color: var(--white); 
    padding: 0.8rem 2rem; 
    border-radius: 6px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: var(--transition); 
    box-shadow: 0 4px 14px rgba(0,0,0,0.3); 
}
.btn-primary:hover { 
    background-color: var(--primary-color); 
    color: #0f172a; 
    transform: translateY(-2px); 
}

/* --- HLAVIČKA --- */
.site-header { 
    background: rgba(30, 41, 59, 0.95); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    border: 1px solid var(--border-color); 
    position: fixed; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%; 
    max-width: 1200px; 
    z-index: 1000; 
    padding: 12px 24px; 
    border-radius: 50px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
}
.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}
.logo-img { 
    max-height: 38px; 
    width: auto; 
    display: block; 
}
.main-nav ul { 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 1.8rem; 
    margin: 0; 
    padding: 0; 
}
.main-nav a { 
    text-decoration: none; 
    color: var(--text-color); 
    font-weight: 500; 
    font-size: 0.95rem; 
    transition: color 0.3s ease; 
}
.main-nav a:hover, .main-nav a.active { 
    color: var(--white); 
    font-weight: 600; 
}
.btn-nav { 
    background-color: var(--primary-dark); 
    color: var(--white) !important; 
    padding: 0.5rem 1.2rem; 
    border-radius: 30px; 
    transition: var(--transition); 
}
.btn-nav:hover { 
    background-color: var(--primary-color); 
}
.menu-toggle { 
    display: none; 
}
.page-wrapper { 
    transition: filter 0.4s ease, transform 0.4s ease; 
}
.page-wrapper.blurred { 
    filter: blur(8px); 
    pointer-events: none; 
    user-select: none; 
}

/* --- PATIČKA --- */
.site-footer { 
    background-color: #0b1120; 
    color: var(--text-color); 
    padding-top: 4rem; 
    border-top: 1px solid var(--border-color); 
    font-size: 0.92rem; 
}
.footer-container { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 3rem; 
    padding-bottom: 3rem; 
}
.footer-col h3 { 
    color: var(--white); 
    font-size: 1.1rem; 
    margin-bottom: 1.5rem; 
    font-weight: 600; 
    letter-spacing: 0.5px; 
}
.footer-col p { 
    margin-bottom: 0.4rem; 
    color: var(--text-color); 
}
.footer-note { 
    font-size: 0.85rem; 
    opacity: 0.8; 
    margin-top: 0.8rem; 
}
.footer-col ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
.footer-col ul li { 
    margin-bottom: 0.6rem; 
}
.footer-col ul li a { 
    color: var(--text-color); 
    text-decoration: none; 
    transition: var(--transition); 
}
.footer-col ul li a:hover { 
    color: var(--primary-color); 
    padding-left: 4px; 
}
.footer-contact-item { 
    display: flex; 
    align-items: center; 
    gap: 0.8rem; 
    margin-bottom: 0.8rem; 
}
.footer-contact-item i { 
    color: var(--primary-color); 
    font-size: 1rem; 
    width: 20px; 
}
.footer-contact-item a { 
    color: var(--text-color); 
    text-decoration: none; 
    transition: var(--transition); 
}
.footer-contact-item a:hover { 
    color: var(--primary-color); 
}
.footer-socials { 
    display: flex; 
    gap: 1rem; 
    margin: 1.2rem 0; 
}
.footer-socials a { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 36px; 
    height: 36px; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid var(--border-color); 
    border-radius: 50%; 
    color: var(--white); 
    text-decoration: none; 
    transition: var(--transition); 
}
.footer-socials a:hover { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
    color: #0f172a; 
    transform: translateY(-2px); 
}
.footer-btn-wrapper { 
    margin-top: 1.5rem; 
}
.footer-bottom { 
    background-color: #070a14; 
    padding: 1.2rem 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    font-size: 0.85rem; 
}
.footer-bottom-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 1rem; 
}
.footer-bottom a { 
    color: var(--primary-color); 
    text-decoration: underline; 
}
/* --- COOKIE LIŠTA --- */
.cookie-banner { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background-color: #090d16; 
    color: var(--white); 
    padding: 1.25rem 0; 
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5); 
    border-top: 1px solid var(--border-color); 
    z-index: 9999; 
    display: none; 
    animation: slideUp 0.4s ease-out; 
}
@keyframes slideUp { 
    from { transform: translateY(100%); } 
    to { transform: translateY(0); } 
}
.cookie-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 2rem; 
    flex-wrap: wrap; 
}
.cookie-banner p { 
    font-size: 0.95rem; 
    margin: 0; 
    flex: 1; 
    color: var(--text-color); 
}
.cookie-banner a { 
    color: var(--primary-color); 
    text-decoration: underline; 
}
.cookie-buttons { 
    display: flex; 
    gap: 1rem; 
}
.cookie-banner .btn-primary { 
    padding: 0.5rem 1.2rem; 
    font-size: 0.9rem; 
    cursor: pointer; 
    border: none; 
}
.btn-secondary-cookie { 
    background-color: transparent; 
    color: var(--white); 
    border: 1px solid var(--border-color); 
    padding: 0.5rem 1.2rem; 
    border-radius: 6px; 
    font-size: 0.9rem; 
    cursor: pointer; 
    transition: 0.3s; 
}
.btn-secondary-cookie:hover { 
    border-color: var(--white); 
    background-color: rgba(255, 255, 255, 0.05); 
}

/* --- GLOBÁLNE RESPONSÍVNE (MOBIL) --- */
@media screen and (max-width: 900px) {
    html, body { 
        width: 100%; 
        max-width: 100vw; 
        overflow-x: hidden; 
        margin: 0; 
        padding: 0; 
        background-color: #0f172a !important;
    }
    .site-header { 
        position: fixed; 
        top: 0; 
        left: 0; 
        transform: none; 
        width: 100%; 
        max-width: 100%; 
        border-radius: 0; 
        background: rgba(30, 41, 59, 0.95) !important; 
        backdrop-filter: blur(12px); 
        -webkit-backdrop-filter: blur(12px); 
        border: none; 
        border-bottom: 1px solid var(--border-color); 
        padding: 0.8rem 1rem; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.3); 
    }
    .menu-toggle { 
        display: block; 
        cursor: pointer; 
        z-index: 1001; 
    }
    .menu-toggle .bar { 
        display: block; 
        width: 28px; 
        height: 3px; 
        margin: 6px auto; 
        background-color: var(--white); 
        border-radius: 2px; 
        transition: all 0.3s ease-in-out; 
    }
    .main-nav { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh; 
        background-color: rgba(15, 23, 42, 0.8); 
        backdrop-filter: blur(12px); 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        text-align: center; 
        opacity: 0; 
        pointer-events: none; 
        transition: opacity 0.4s ease-in-out; 
        z-index: 1000; 
    }
    .main-nav.active { 
        opacity: 1; 
        pointer-events: auto; 
    }
    .main-nav ul { 
        flex-direction: column; 
        gap: 2rem; 
    }
    .main-nav a { 
        color: var(--white); 
        font-size: 1.5rem; 
    }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .footer-container { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    .footer-bottom-container { 
        flex-direction: column; 
        text-align: center; 
    }
    .cookie-container { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; 
    }
    .cookie-buttons { 
        width: 100%; 
        justify-content: stretch; 
    }
    .cookie-buttons button { 
        flex: 1; 
        text-align: center; 
    }
}