/*==================== FOOTER ====================*/
.footer {
    background-color: var(--container-color);
    padding: 3rem 0;
    margin-top: auto; /* Push to bottom if flex container */
    width: 100%;
}
  
.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}
  
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
  
.footer-logo {
    width: 120px;
}
  
.footer-left p {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}
  
.footer-center {
    display: flex;
    justify-content: center;
}
  
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
  
.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
}
  
.footer-links a:hover {
    color: var(--first-color);
}
  
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}
  
.social-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}
  
.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: 0.3s;
}
  
.social-links a:hover {
    color: var(--first-color);
    transform: translateY(-3px);
}
  
.legal-links {
    display: flex;
    gap: 1.5rem;
}
  
.clickable-text {
    cursor: pointer;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    transition: 0.3s;
}
  
.clickable-text:hover {
    color: var(--first-color);
    text-decoration: underline;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-left, .footer-center, .footer-right {
        align-items: center;
    }
    .footer-center .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-right .social-links {
        justify-content: center;
    }
    .legal-links {
        justify-content: center;
    }
}
