/* ============================================
   FOOTER.CSS - PUNKROCK GADGETS
   ============================================ */

/* ==== LAYOUT ==== */

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

/* ==== FOOTER ==== */

.site-footer {
    background: var(--bg-primary);
    border-top: 2px solid var(--accent-primary);
    padding-top: 1rem;
}

.footer-inner {
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-icon svg {
    display: block;
    width: 36px;
    height: 36px;
    transform: translateY(-4px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 360px;
}

/* Footer Headings */
.site-footer h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Footer Links */
.footer-links,
.footer-social {
    padding-top: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 1.5rem;
}

.footer-links ul {
    list-style: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

/* Social Button Color Variants */
.social-btn.accent-1:hover {
    color: var(--accent-primary);
}

.social-btn.accent-2:hover {
    color: var(--accent-secondary);
}

.social-btn.accent-3:hover {
    color: var(--accent-tertiary);
}

/* Footer Bottom Bar */
.footer-bottom {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    text-transform: uppercase;
}

.footer-bottom .font-mono {
    font-size: 0.8rem;
    line-height: 1;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent-primary);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.footer-bottom a:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.footer-bottom svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* ==== MEDIA QUERIES ==== */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-bottom .font-mono {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links,
    .footer-social {
        border-left: none;
        padding-left: 0;
        padding-top: 1.5rem;
    }
}