
/* footer.css */
:root {
    --footer-bg-color: #f8f8f8;
    --footer-text-color: #555;
    --footer-link-hover: #0292c7;
    --footer-border-color: #ddd;
    --footer-bottom-bg: #777;
    --footer-bottom-text: #fff;
}

footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    background-color: var(--main-bg-color);
    font-family: Arial, sans-serif;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col1, 
.footer-col2, 
.footer-col3 {
    display: flex;
    flex: 1;
    min-width: 200px;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.logo-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 49px;
    width: auto;
}

.logo-name {
    font-size: 1.8935rem;
    color: #555;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.logo-name:hover {
    color: #0292c7;
}

.logo-link {
    height: 49px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--footer-text-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: var(--footer-link-hover);
}

.social-header {
    height: 16px;
    color: var(--footer-text-color);
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.social-media {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.social-link {
    height: 24px;
    width: auto;
}

.social-logo {
    height: 24px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.social-logo:hover {
    filter: grayscale(0%);
}

.separator {
    width: 1px;
    height: 70%;
    background-color: #555;
    margin: 0 10px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 32px;
    background-color: var(--footer-bottom-bg);
    color: var(--footer-bottom-text);
    font-size: 0.9rem;
    text-align: center;
    z-index: 5;
    box-sizing: border-box;
}

.footer-bottom p {
    margin: 0;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 15px;
        padding: 20px 10px;
    }
    
    .footer-col1, 
    .footer-col2, 
    .footer-col3 {
        width: 100%;
        min-width: 100%;
        padding: 10px 0;
    }
    
    .separator {
        width: 80%;
        height: 1px;
        margin: 10px auto;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1.5rem;
    }
    
    .social-media {
        gap: 10px;
    }
}
