/* ============================================================
   RADHA KRISHNA MANDIR — Footer Styles
   Quick links, newsletter, social icons
   ============================================================ */

.site-footer {
    background-color: var(--tan);
    border-top: 3px solid var(--gold);
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        padding: 0 var(--space-xl);
    }
}

@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ── Footer Links ────────────────────────────────────────── */
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--burgundy);
    margin-bottom: var(--space-md);
    position: relative;
}

.footer-links h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-top: var(--space-xs);
}

.footer-link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-xl);
}

.footer-link-grid a {
    font-size: var(--fs-sm);
    color: var(--text-body);
    padding: var(--space-xs) 0;
    transition: color var(--transition);
}

.footer-link-grid a:hover {
    color: var(--gold-dark);
}

/* ── Newsletter ──────────────────────────────────────────── */
.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--burgundy);
    margin-bottom: var(--space-md);
    position: relative;
}

.footer-newsletter h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-top: var(--space-xs);
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--tan-dark);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background: var(--white);
    font-size: var(--fs-sm);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    outline: none;
}

.newsletter-form button {
    padding: var(--space-sm) var(--space-md);
    background-color: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: var(--fs-md);
    cursor: pointer;
    transition: background-color var(--transition);
    display: flex;
    align-items: center;
}

.newsletter-form button:hover {
    background-color: var(--gold-dark);
}

/* ── Social ──────────────────────────────────────────────── */
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--burgundy);
    margin-bottom: var(--space-md);
    position: relative;
}

.footer-social h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-top: var(--space-xs);
}

.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--burgundy);
    color: var(--gold);
    font-size: var(--fs-md);
    transition: all var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ── Footer Bottom ───────────────────────────────────────── */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--tan-dark);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: var(--space-xs);
}

/* ── Decorative Star ─────────────────────────────────────── */
.footer-star {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    color: var(--gold);
    opacity: 0.4;
    pointer-events: none;
}