/* footer.css */

footer {
    background-color: var(--clr-footer-background);
    color: var(--clr-background);
    padding: 1rem 1rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid var(--clr-muted-greys);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

footer hr {
    border: none;
    border-top: 1px solid var(--clr-secondary-accent);
    margin: 1rem auto;
    width: 50%;
    max-width: 300px;
}

/* New styles for footer content */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}


footer .footer-social-links { /* Now targets the new class */
    display: flex;
    flex-direction: row; /* Explicitly set to row for horizontal display */
    justify-content: center; /* Center the icons horizontally */
    align-items: center; /* Align items vertically in the center */
    gap: 1.2rem; /* Slightly more space for icons */
    margin-bottom: 0.5rem;
}

/* IMPORTANT: Updated selector for social icons within the footer */
footer .footer-social-links i { /* Targeting the Font Awesome icon directly */
    font-size: 1.8rem; /* Adjust size of social icons */
    color: var(--clr-background); /* Color of the icons */
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

/* IMPORTANT: Updated selector for social icons hover within the footer */
footer .footer-social-links i:hover {
    color: var(--clr-primary-accent); /* Change color on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

footer p a {
    color: var(--clr-primary-accent);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

footer p a:hover {
    color: var(--clr-secondary-accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer { padding: 1rem 0.75rem; }
    footer p { font-size: 0.85rem; }
    /* IMPORTANT: Updated selector for social links in media query */
    .footer-social-links {
        gap: 1rem;
    }
    /* IMPORTANT: Updated selector for social icons in media query */
    .footer-social-links i {
        font-size: 1.5rem; /* Smaller icons on mobile */
    }
}