/* --- Footer Section --- */
.site-footer {
    background-color: #1f2937;
    /* bg-gray-800 */
    color: var(--color-white);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-branding h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-branding p {
    color: #9ca3af;
    /* text-gray-400 */
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    max-width: 24rem;
    /* max-w-sm */
}

.footer-social {
    display: flex;
    gap: 1rem;
    /* space-x-4 */
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: #9ca3af;
    /* text-gray-400 */
    transition: color 0.3s ease;
    font-size: 1.25rem;
    /* text-xl */
}

.footer-social a:hover {
    color: var(--color-white);
}

.back-to-top {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Add these to position on the right */
    position: fixed;
    right: 1rem;
    bottom: 1rem;
}

.back-to-top:hover {
    background-color: var(--color-white);
    color: #1f2937;
}

.footer-links h3 {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* space-y-3 */
}

.footer-links a {
    color: #9ca3af;
    /* text-gray-400 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-copyright {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-pink));
    text-align: center;
    padding: 0.75rem 0;
}

.footer-copyright p {
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}


/* --- Responsive Layout --- */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }

    .footer-col-1 {
        grid-column: span 5;
    }

    .footer-col-2 {
        grid-column: span 3;
    }

    .footer-col-3 {
        grid-column: span 3;
    }

    .footer-spacer {
        grid-column: span 1;
    }
}