/**
 * HAMMERTIME CREATORS LIMITED
 * Modern Footer Styles v7.0
 * 
 * Features:
 * - Clean, minimalist layout
 * - Mobile-first responsive design
 * - Clear information hierarchy
 * - Accessible navigation
 */

/* ===================================
   MAIN FOOTER
   =================================== */
.main-footer {
    background: var(--gray-900, #18181B);
    color: var(--gray-400, #A1A1AA);
    font-size: 0.9375rem;
    margin-top: auto;
}

/* ===================================
   FOOTER CONTENT
   =================================== */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 380px;
}

.footer-logo-wrapper {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-brand p {
    margin: 0 0 1.5rem 0;
    line-height: 1.75;
    color: var(--gray-400, #A1A1AA);
    font-size: 0.9375rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400, #A1A1AA);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--brand-primary, #F59E0B);
    color: var(--gray-900, #18181B);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.125rem;
}

/* Footer Section Headings */
.footer-section h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.25rem 0;
    letter-spacing: 0.025em;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400, #A1A1AA);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-primary, #F59E0B);
    transform: translateX(4px);
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-400, #A1A1AA);
}

.contact-item i {
    color: var(--brand-primary, #F59E0B);
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: var(--gray-400, #A1A1AA);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--brand-primary, #F59E0B);
}

.contact-item .contact-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin-bottom: var(--space-1);
}

.contact-item .contact-value {
    color: var(--gray-300);
}

/* Business Hours */
.business-hours {
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.business-hours i {
    color: var(--brand-primary);
    margin-right: var(--space-2);
}

.business-hours p {
    margin: var(--space-2) 0 0 0;
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* ===================================
   FOOTER BOTTOM
   =================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    margin: 0;
    color: var(--gray-500, #71717A);
    font-size: 0.875rem;
}

.footer-tagline {
    margin: 0;
    color: var(--gray-500, #71717A);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline i {
    color: var(--brand-primary, #F59E0B);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
}

/* Copyright */
.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-copyright p {
    margin: 0;
    color: var(--gray-500);
    font-size: var(--text-xs);
}

.footer-copyright a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--brand-primary);
}

/* Footer Links Bottom */
.footer-links-bottom {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

.footer-links-bottom a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--duration-fast);
}

.footer-links-bottom a:hover {
    color: var(--brand-primary);
}

.footer-links-bottom .separator {
    color: var(--gray-700);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.payment-methods span {
    color: var(--gray-500);
    font-size: var(--text-xs);
    margin-right: var(--space-2);
}

.payment-icons {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.payment-icon {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--gray-400);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-icon i {
    font-size: var(--text-sm);
}

/* Built with Love */
.footer-built {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-500);
    font-size: var(--text-xs);
}

.footer-built .heart {
    color: var(--brand-primary);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--duration-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--brand-primary);
    color: var(--brand-secondary);
    transform: translateY(-2px);
    border-color: var(--brand-primary);
}

/* App Download Section */
.app-download {
    margin-top: var(--space-6);
}

.app-download h5 {
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    margin: 0 0 var(--space-3) 0;
}

.app-buttons {
    display: flex;
    gap: var(--space-3);
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--gray-300);
    text-decoration: none;
    font-size: var(--text-xs);
    transition: all var(--duration-fast);
}

.app-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

.app-button i {
    font-size: var(--text-lg);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet (< 1024px) */
@media (max-width: 1023px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-logo-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .footer-brand p {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-logo {
        height: 70px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
}

/* Accessibility */
.footer-links a:focus-visible,
.social-link:focus-visible,
.contact-item a:focus-visible {
    outline: 2px solid var(--brand-primary, #F59E0B);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-links a,
    .footer-tagline i {
        transition: none;
        animation: none;
    }
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .footer-badges {
        justify-content: center;
    }
}
