/* ========================================
   NOWOCZESNA STOPKA - MODERN FOOTER
   ======================================== */

.site-footer {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    border-top: 3px solid #dee2e6;
    margin-top: 60px;
    padding: 50px 0 20px;
}

/* Kontener główny stopki */
.footer-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid z kolumnami */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Kolumny stopki */
.footer-column h3 {
    color: #212529;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: #007bff;
    transform: translateX(5px);
}

/* Ikony przy linkach (opcjonalnie) */
.footer-column a::before {
    content: '→';
    opacity: 0;
    margin-right: 5px;
    transition: opacity 0.3s ease;
}

.footer-column a:hover::before {
    opacity: 1;
}

/* Sekcja z informacjami */
.footer-info {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.footer-info p {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0;
}

.footer-info a {
    color: #007bff;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Bottom bar z copyright */
.footer-bottom {
    border-top: 1px solid #dee2e6;
    padding-top: 30px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #6c757d;
    font-size: 14px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
}

/* Przycisk "Informacje techniczne" */
.tech-info-toggle {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tech-info-toggle:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.tech-info-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.tech-info-toggle.active::after {
    transform: rotate(180deg);
}

/* Panel z informacjami technicznymi */
.tech-info-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8f9fa;
    border-radius: 6px;
    margin-top: 20px;
}

.tech-info-panel.active {
    max-height: 800px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.tech-info-panel p {
    font-size: 13px;
    color: #6c757d;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
}

/* Panel administracyjny */
.admin-info-box {
    background: linear-gradient(135deg, #77DD77 0%, #5cb85c 100%);
    border: none;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(119, 221, 119, 0.3);
}

.admin-info-box a {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.admin-info-box a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.admin-info-box hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
}

.admin-info-box p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 13px;
    margin: 8px 0;
}

/* Badge dla statusu administratora */
.admin-status-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    margin-top: 10px;
}

/* Responsywność - Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 15px;
    }
    
    .tech-info-panel.active {
        max-height: 1200px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 20px 0 15px;
        margin-top: 40px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-column h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-column a {
        font-size: 13px;
    }
}

/* Animacja fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeIn 0.5s ease forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }