/**
 * STICKY FOOTER - CSS
 * Footer-ul ramane intotdeauna jos, indiferent de continut
 */

/* ======================
   STICKY FOOTER SETUP
   ====================== */

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* ======================
   FOOTER STYLING
   ====================== */

.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0 1rem 0;
    border-top: 3px solid #34495e;
}

.footer-widgets {
    margin-bottom: 2rem;
}

.footer-widgets .widget {
    margin-bottom: 1.5rem;
}

.footer-widgets .widget-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #34495e;
}

.footer-widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widgets ul li {
    padding: 0.375rem 0;
}

.footer-widgets ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-widgets ul li a:hover {
    color: #3498db;
    padding-left: 0.5rem;
}

/* Site Info */
.site-info {
    padding: 1.5rem 0 1rem 0;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
    color: #95a5a6;
}

.site-info a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-info a:hover {
    color: #2ecc71;
}

/* Footer Menu */
.footer-menu {
    margin: 1rem 0 0 0;
    padding: 0;
}

.footer-menu li {
    display: inline-block;
    margin: 0 1rem;
}

.footer-menu li a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #3498db;
}

/* ======================
   RESPONSIVE FOOTER
   ====================== */

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-widgets {
        margin-bottom: 1.5rem;
    }
    
    .footer-widgets .widget {
        margin-bottom: 1.25rem;
    }
    
    .footer-widgets .widget-title {
        font-size: 1rem;
    }
    
    .site-info {
        padding: 1rem 0;
        font-size: 0.85rem;
    }
    
    .footer-menu li {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 1rem 0 0.75rem 0;
    }
    
    .footer-widgets .widget-title {
        font-size: 0.95rem;
    }
    
    .site-info {
        font-size: 0.8rem;
    }
}

/* ======================
   VARIANTE DE CULORI
   ====================== */

/* Footer Dark (default) */
.site-footer.footer-dark {
    background: #2c3e50;
    color: #ecf0f1;
}

/* Footer Light */
.site-footer.footer-light {
    background: #f8f9fa;
    color: #212529;
    border-top: 1px solid #dee2e6;
}

.site-footer.footer-light .widget-title {
    color: #212529;
    border-bottom-color: #dee2e6;
}

.site-footer.footer-light a {
    color: #495057;
}

.site-footer.footer-light a:hover {
    color: #0d6efd;
}

.site-footer.footer-light .site-info {
    border-top-color: #dee2e6;
    color: #6c757d;
}

/* Footer Gradient */
.site-footer.footer-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-top: none;
}

.site-footer.footer-gradient .widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}

.site-footer.footer-gradient a {
    color: rgba(255,255,255,0.9);
}

.site-footer.footer-gradient a:hover {
    color: #fff;
}

.site-footer.footer-gradient .site-info {
    border-top-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

/* ======================
   PRINT STYLES
   ====================== */

@media print {
    .site-footer {
        position: static;
        margin-top: 2rem;
    }
}
