/* ================================
   FOOTER SECTION
   Modular CSS for footer
   Depends on: base.css
   ================================ */

/* ================================
   FOOTER CONTAINER
   ================================ */
.footer {
    background: rgba(44, 44, 44, 0.95);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

/* Decorative background gradients */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 82, 45, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ================================
   FOOTER CONTENT GRID
   ================================ */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ================================
   FOOTER SECTIONS
   ================================ */
.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f5f5dc;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f5f5dc;
}

/* ================================
   CLIENT LINKS WITH STATUS SYSTEM
   ================================ */
.client-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-links li {
    margin-bottom: 0.5rem;
}

.client-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.client-links a:hover {
    color: #f5f5dc;
    transform: translateX(5px);
}

.client-links a i {
    color: #8b4513;
    transition: color 0.3s ease;
}

.client-links a:hover i {
    color: #cd853f;
}

/* Inactive/Disabled Client Links */
.client-links a[data-status="inactive"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.client-links a[data-status="inactive"]:hover {
    transform: none;
    color: #ccc;
}

.client-links a[data-status="inactive"]:hover i {
    transform: none;
    color: #8b4513;
}

/* ================================
   SOCIAL LINKS
   ================================ */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #8b4513, #a0522d);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.social-links a:hover {
    background: linear-gradient(45deg, #a0522d, #cd853f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Disabled Social Link (e.g., Etsy) */
.social-links a.social-disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.social-links a.social-disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* ================================
   FOOTER BOTTOM
   ================================ */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Tablet and Below (≤1024px) */
@media screen and (max-width: 1024px) {
    .footer {
        padding: 50px 0 20px;
    }
}

/* Mobile (≤768px) */
@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .client-links a {
        justify-content: center;
    }
}

/* Small Mobile (≤480px) */
@media screen and (max-width: 480px) {
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
}