/**
 * eLfilms.cz - Společné styly pro footer
 *
 * @package    eLfilms
 * @subpackage Frontend
 * @file       css/footer.css
 * @version    4.1 - copyright-break fix
 * @datum      Březen 2026
 * @author     eLfilms Team
 * @copyright  2009-2026 eLfilms.cz
 *
 * Styly pro patičku webu na všech frontend stránkách.
 *
 * STYLUJE:
 * - Footer layout (grid, brand, sloupce, social)
 * - Footer bottom (copyright, love)
 * - Scroll to top tlačítko
 * - Responsive breakpointy (768px, 480px, 389px)
 *
 * POUŽÍVÁ:
 * - includes/footer.php
 *
 * DESIGN:
 * - Barvy: tmavě modrá (#0d1b2a, #0b334f–#1a4f72), zlatá (#EEB500)
 * - Max šířka obsahu: 1200px
 *
 * NOTE:
 * - footer-mobile.css je duplicitní a lze smazat
 * - .copyright-break: display:block pouze pod 390px
 */

/* ============================================ */
/* FOOTER */
/* ============================================ */
.site-footer {
    background-color: #0a2d45;
    color: #fff;
    padding: 65px 30px 25px;
    position: relative;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: white;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 18px;
}
.footer-brand .logo-img {
    height: 36px;
    width: auto;
}
.footer-brand > p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b334f;
    font-size: 15px;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-social a:hover {
    background: #EEB500;
    transform: scale(1.1);
}
.footer-column h4 {
    font-size: 17px;
    font-weight: bold;
    color: #EEB500;
    margin-bottom: 22px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-column ul li a.active {
    color: #EEB500;
    font-weight: 600;
}
.footer-column ul li a:hover {
    color: #EEB500;
}
.footer-separator {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 35px 0 25px;
}
.footer-bottom {
    text-align: center;
}
.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}
.footer-love {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* ============================================ */
/* SCROLL TO TOP BUTTON */
/* ============================================ */
.scroll-to-top {
    position: absolute;
    top: 20px;
    right: 30px;
    background: linear-gradient(90deg, #EEB500 0%, #FF8C42 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 8px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    margin-bottom: 50px;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: linear-gradient(90deg, #ffc107 0%, #ff9f5a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(238, 181, 0, 0.4);
}
.scroll-to-top i {
    font-size: 16px;
}

/* ============================================ */
/* RESPONSIVE - 768px */
/* ============================================ */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-brand .logo {
        justify-content: center;
        margin: 0 auto 15px;
    }
    .footer-brand > p {
        max-width: 185px;
        margin: 0 auto 25px;
        line-height: 1.6;
    }
    .footer-social {
        justify-content: center;
    }
    .site-footer {
        padding: 40px 20px 20px;
    }
    .scroll-to-top {
        top: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ============================================ */
/* RESPONSIVE - 480px */
/* ============================================ */
@media (max-width: 480px) {
    .footer-brand > p {
        max-width: 170px;
        font-size: 14px;
    }
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .scroll-to-top {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
    }
    .scroll-to-top i {
        font-size: 14px;
    }
}

/* ============================================ */
/* RESPONSIVE - 389px (copyright zalomení) */
/* ============================================ */
@media (max-width: 389px) {
    .copyright-break {
        display: block;
    }
}