/* ========================================
   FOOTER KOMPONENTA - BEM METODIKA
   MOBILE FIRST - základní styly pro mobil
   ======================================== */

/* ========================================
   HLAVNÍ KONTEJNER FOOTERU - MOBIL
   ======================================== */

.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 36px 20px 20px 20px;
    margin-top: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   SEKCE S ODKAZY - MOBIL (pod sebou)
   ======================================== */

.footer__sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.footer__section {
    /* Každá sekce s odkazy */
}

.footer__section-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__link-item {
    /* Margin už není potřeba, máme gap */
}

.footer__link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer__link:hover,
.footer__link:active {
    color: #ffffff;
}

/* ========================================
   SPODNÍ ČÁST S LOGEM A SOCIÁLNÍMI SÍTĚMI - MOBIL
   ======================================== */

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer__brand {
    text-align: center;
}

.footer__logo {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.footer__tagline {
    font-size: 13px;
    color: #95a5a6;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   SOCIÁLNÍ SÍTĚ - MOBIL
   ======================================== */

.footer__social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #95a5a6;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.footer__social-link:hover,
.footer__social-link:active {
    transform: scale(1.1);
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer__social-link svg {
    width: 22px;
    height: 22px;
}

/* ========================================
   COPYRIGHT - MOBIL
   ======================================== */

.footer__copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright-text {
    font-size: 12px;
    color: #95a5a6;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   RESPONZIVITA - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .footer {
        padding: 48px 40px 24px 40px;
        margin-top: 60px;
    }

    .footer__sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
        margin-bottom: 44px;
    }

    .footer__section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer__links {
        gap: 10px;
    }

    .footer__link {
        font-size: 14px;
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 36px;
        margin-bottom: 28px;
        gap: 24px;
    }

    .footer__brand {
        text-align: left;
    }

    .footer__logo {
        font-size: 22px;
    }

    .footer__tagline {
        font-size: 14px;
    }

    .footer__social {
        gap: 16px;
    }

    .footer__social-link {
        width: 46px;
        height: 46px;
    }

    .footer__social-link svg {
        width: 24px;
        height: 24px;
    }

    .footer__copyright-text {
        font-size: 13px;
    }
}

/* ========================================
   RESPONZIVITA - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .footer {
        padding: 60px 20px 30px 20px;
        margin-top: 80px;
    }

    .footer__sections {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        margin-bottom: 48px;
    }

    .footer__section-title {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .footer__links {
        gap: 12px;
    }

    .footer__link {
        font-size: 15px;
    }

    .footer__bottom {
        padding-top: 40px;
        margin-bottom: 32px;
    }

    .footer__logo {
        font-size: 24px;
    }

    .footer__tagline {
        font-size: 14px;
    }

    .footer__social-link {
        width: 48px;
        height: 48px;
    }

    .footer__copyright-text {
        font-size: 13px;
    }
}
