/* Navigation CSS - Footer Navigation Styles */

/* Footer Styles */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0 1rem 0;
    margin-top: auto;
    border-top: 3px solid #3498db;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

/* Footer Navigation */
.footer-nav {
    width: 100%;
}

.footer-links {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: auto;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links li {
    display: inline-flex;
    flex-shrink: 0;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

.footer-link:hover,
.footer-link:focus {
    color: #3498db;
    text-decoration: underline;
    outline: none;
}

.footer-link:focus {
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

/* Footer Text Content */
.footer-brand,
.footer-contact {
    text-align: center;
}

.footer-text {
    margin: 0;
    font-size: 0.85rem;
    color: #95a5a6;
    line-height: 1.5;
}

.footer-contact .footer-link {
    color: #95a5a6;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

.footer-contact .footer-link:hover {
    color: #3498db;
}

/* Desktop Layout - Force horizontal on larger screens */
@media (min-width: 769px) {
    .footer-links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-links li {
        display: inline-flex;
        flex: 0 0 auto;
    }
    
    .footer-link {
        display: inline-block;
        white-space: nowrap;
    }
}

/* Large Desktop Layout - Even more space */
@media (min-width: 1200px) {
    .footer-links {
        gap: 2.5rem;
    }
}

/* Tablet Layout - In-between state */
@media (min-width: 600px) and (max-width: 768px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Mobile Layout */
@media (max-width: 599px) {
    .footer-links {
        gap: 0.75rem;
        flex-direction: column !important;
        align-items: center;
    }
    
    .footer-links li {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .footer-link {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
        max-width: 220px;
        display: block;
    }
    
    .site-footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-links {
        gap: 0.5rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .site-footer {
        background-color: #000;
        color: #fff;
        border-top-color: #fff;
    }
    
    .footer-link {
        color: #fff;
    }
    
    .footer-link:hover,
    .footer-link:focus {
        color: #00ffff;
        background-color: #333;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .footer-link {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .site-footer {
        background: none;
        color: #000;
        border-top: 1px solid #000;
        padding: 1rem 0;
    }
    
    .footer-links {
        display: none;
    }
    
    .footer-brand .footer-text {
        color: #000;
        font-size: 0.8rem;
    }
    
    .footer-contact {
        display: none;
    }
}

/* Admin Link Styling */
.admin-link {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3) !important;
}

.admin-link:hover {
    background: linear-gradient(135deg, #e55a2b, #e07b1e) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5) !important;
}

/* Footer Report Button Styles */
.footer-brand .report-problem-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-top: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.footer-brand .report-problem-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.footer-brand .report-problem-btn i {
    font-size: 16px;
}