/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer p {
    margin: 0.5rem 0;
    color: #ccc;
    line-height: 1.5;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer Bottom - Enhanced Professional Style */
.footer-bottom {
    background-color: #2a2a2a;
    border-top: 2px solid #444;
    margin-top: 3rem;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #999;
    font-size: 0.85rem;
}

.footer-bottom .copyright {
    font-weight: 500;
}

.footer-bottom .credits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Infopanel Link with Red Color */
.infopanel-link {
    color: #ff4444 !important;
    font-weight: 600;
    text-decoration: none !important;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 68, 68, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.infopanel-link:hover {
    color: #fff !important;
    background: #ff4444;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.infopanel-link:active {
    transform: translateY(0);
}

/* Add a subtle arrow for external links */
.infopanel-link::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-bottom .credits {
        justify-content: center;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding: 1rem 0;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .infopanel-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
}