/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 50%, #16213e 100%); /* Dark gradient effect */
    color: #fff;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1); /* Light border above footer */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    padding-bottom: 20px;
}

.footer-widgets-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-logo-section {
    flex: 0 0 200px; /* Fixed width for logo */
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* Set a reasonable max height for footer logo */
}

.footer-logo {
    display: inline-block;
    max-width: 200px; /* Limit width as well to prevent oversized logos */
    overflow: hidden;
}

/* Also ensure custom logo classes from WordPress don't override our sizing */
.footer-logo .custom-logo {
    max-width: 100%;
    max-height: 80px;
    height: auto;
}

.footer-site-title {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
}

.footer-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center align menu items */
}

.footer-navigation a {
    text-decoration: none;
    color: #ddd;
    font-size: 13px; /* Smaller font size */
    transition: color 0.2s ease;
}

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

.footer-contact-info {
    margin-top: 10px;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1); /* Light border above copyright */
}

.footer-social-and-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-social-icons a {
    display: inline-block;
    color: #ddd;
}

.footer-social-icons a:hover {
    color: #fff;
}

.site-info {
    margin-top: 5px;
    color: #ccc;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-widgets-inner {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-logo-section {
        flex: none;
        text-align: center;
    }
    
    .footer-content-section {
        text-align: center;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
}