/* =============================================
   FOOTER.CSS - PROFESIONÁLNY FOOTER (CENTROVANÝ)
   VERZIA: 38.0.0 (Jednotná farba ako panel site-header v oboch režimoch)
   ============================================= */

/* =============================================
   🔥 FOOTER HLAVNÉ ŠTÝLY - FARBA AKO PANEL SITE-HEADER
   ============================================= */
.site-footer {
    /* 🔥 ZMENA: Použitie rovnakej farby ako panel site-header */
    background: var(--header-solid-color) !important;
    color: white;
    padding: 24px 0 20px 0;
    position: relative;
    border-top: 3px solid #ffffff;
    width: 100%;
    z-index: 100;
    font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
    margin-top: auto !important;
    flex-shrink: 0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* Jemné tiene na vrchu */
.site-footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: center;
}

/* =============================================
   COPYRIGHT SEKCIE - CENTROVANÉ
   ============================================= */
.copyright-section {
    text-align: center;
    width: 100%;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.copyright-text strong {
    color: white;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #e0e8ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* CENTROVANÝ PODTEXT */
.copyright-subtext {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.copyright-subtext .separator {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
}

.copyright-subtext .version-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =============================================
   FOOTER AKCIE (TLAČIDLÁ) - CENTROVANÉ
   ============================================= */
.footer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn i {
    font-size: 0.9rem;
}

.theme-toggle-text {
    font-size: 0.8rem;
}

/* =============================================
   RESPONZÍVNE ŠTÝLY
   ============================================= */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .site-footer {
        padding: 20px 0 16px 0;
    }
    .footer-container {
        padding: 0 25px;
    }
    .copyright-text {
        font-size: 0.9rem;
    }
    .copyright-subtext {
        font-size: 0.75rem;
    }
    .theme-toggle-btn {
        padding: 7px 16px;
        font-size: 0.8rem;
    }
}

/* Mobil (do 768px) */
@media (max-width: 768px) {
    .site-footer {
        padding: 18px 0 14px 0;
        border-top-width: 2px;
    }
    .footer-container {
        padding: 0 20px;
    }
    .footer-content {
        gap: 12px;
    }
    .copyright-text {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    .copyright-subtext {
        font-size: 0.7rem;
        gap: 6px;
    }
    .theme-toggle-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    .theme-toggle-btn i {
        font-size: 0.85rem;
    }
}

/* Malý mobil (do 480px) */
@media (max-width: 480px) {
    .site-footer {
        padding: 15px 0 12px 0;
    }
    .footer-container {
        padding: 0 15px;
    }
    .footer-content {
        gap: 10px;
    }
    .copyright-text {
        font-size: 0.8rem;
    }
    .copyright-subtext {
        font-size: 0.65rem;
        gap: 4px;
    }
    .copyright-subtext .separator {
        display: none;
    }
    .copyright-subtext .version-badge {
        display: inline-block;
        margin-top: 2px;
    }
    .theme-toggle-btn {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    .theme-toggle-btn i {
        font-size: 0.8rem;
    }
    .theme-toggle-text {
        display: inline-block;
        font-size: 0.7rem;
    }
}

/* Veľmi malý mobil (do 360px) */
@media (max-width: 360px) {
    .copyright-subtext {
        flex-direction: column;
        gap: 4px;
    }
    .copyright-subtext .separator {
        display: none;
    }
}

/* =============================================
   🔥 TMAVÝ REŽIM - ROVNAKÁ FARBA AKO VO SVETLOM REŽIME
   ============================================= */
@media (prefers-color-scheme: dark) {
    .site-footer {
        background: #0d1a4d !important;
    }
}

/* Rovnaké pravidlo pre data-theme="dark" */
html[data-theme='dark'] .site-footer {
    background: #0d1a4d !important;
}

/* =============================================
   ZNÍŽENÁ POHYBLIVOSŤ
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .copyright-text,
    .copyright-subtext,
    .theme-toggle-btn,
    .site-footer::before {
        transition: none !important;
        animation: none !important;
    }
    .theme-toggle-btn:hover {
        transform: none !important;
    }
}

/* =============================================
   TLAČ
   ============================================= */
@media print {
    .site-footer {
        display: none !important;
    }
}
