@import url('logo-animation.css');

/* Shared site footer */
html,
body:not(.admin-page) {
    min-height: 100%;
}

body:not(.admin-page) {
    display: flex;
    flex-direction: column;
}

body:not(.admin-page) > .header,
body:not(.admin-page) > section,
body:not(.admin-page) > .login-container,
body:not(.admin-page) > .signup-container {
    flex: 1 0 auto;
}

body:not(.admin-page) .site-footer {
    flex-shrink: 0;
}
.site-footer.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: auto;
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.site-footer .footer-brand .logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.site-footer .footer-brand .logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-footer .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.site-footer .social-links {
    display: flex;
    gap: 12px;
}

.site-footer .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.3s ease;
}

.site-footer .social-links a:hover {
    background: #1a5f2a;
}

.site-footer .footer-links h4,
.site-footer .footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f4a024;
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links ul li {
    margin-bottom: 12px;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.site-footer .footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.site-footer .footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer .footer-contact i {
    color: #f4a024;
    width: 20px;
}

.site-footer .footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.site-footer .footer-contact a:hover {
    color: #ffffff;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.site-footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* Admin panel: full-width footer below sidebar layout */
body.admin-page {
    flex-wrap: wrap;
}

body.admin-page .site-footer {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 260px;
    width: calc(100% - 260px);
}

@media (max-width: 992px) {
    .site-footer .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    body.admin-page .site-footer {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .site-footer.footer {
        padding: 40px 0 20px;
    }
}
