/**
 * Chemistry Hub - Footer Styles
 */

/* =====================================================
   Footer
   ===================================================== */
.ch-footer {
    background-color: var(--ch-primary);
    color: var(--ch-primary-foreground);
    width: 100%;
}

.ch-footer-top {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.ch-footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .ch-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ch-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.ch-footer-brand {
    max-width: 20rem;
}

.ch-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ch-footer-logo img {
    height: 3rem;
    width: 3rem;
}

.ch-footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.ch-footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ch-footer-social {
    display: flex;
    gap: 1rem;
}

.ch-footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: hsl(0 0% 100% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.ch-footer-social a:hover {
    background-color: var(--ch-secondary);
}

.ch-footer-links h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.ch-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ch-footer-links li {
    margin-bottom: 0.75rem;
}

.ch-footer-links a {
    color: hsl(0 0% 100% / 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ch-footer-links a:hover {
    color: var(--ch-secondary);
}

.ch-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ch-footer-contact-item svg {
    color: var(--ch-secondary);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.ch-footer-contact-item span {
    opacity: 0.8;
}

.ch-footer-contact-item a {
    color: hsl(0 0% 100% / 0.8);
    text-decoration: none;
}

.ch-footer-contact-item a:hover {
    color: var(--ch-secondary);
}

.ch-footer-bottom {
    border-top: 1px solid hsl(0 0% 100% / 0.1);
    padding: 1.5rem 0;
}

.ch-footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .ch-footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }
}

.ch-footer-copyright {
    opacity: 0.8;
    font-size: 0.875rem;
}

.ch-footer-legal {
    display: flex;
    gap: 2rem;
}

.ch-footer-legal a {
    color: hsl(0 0% 100% / 0.8);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ch-footer-legal a:hover {
    color: var(--ch-secondary);
}
