/* ===================================
   Footer Component - The Chatbot Genius
   =================================== */

.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    margin-top: auto;
}

.footer .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer p {
    margin: 0;
    font-size: var(--font-size-md);
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* Footer with multiple sections (for pages that use it) */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--text-white);
    font-size: 1.5rem;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

/* Footer Contact Section */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-contact p {
    margin: 0;
}

.footer-contact a {
    color: var(--text-white);
    text-decoration: underline;
    font-size: 1.1rem;
}

/* Simple footer bottom (2-line format) */
.footer-bottom {
    text-align: center;
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.footer-bottom p {
    margin: var(--spacing-xs) 0;
    opacity: 0.9;
}

.footer-bottom p:first-child {
    margin-bottom: var(--spacing-xs);
}

/* When footer-bottom has border (legacy) */
.footer-bottom.with-border {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}