/**
 * Footer Styles - PT Arsitekta Marine
 * Premium Footer Style
 */

/* ============================================
   Footer
============================================ */
.footer {
    position: relative;
    background: #000000;
    color: var(--gray-300);
}

.footer-wave {
    color: #000000;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: auto;
}

.footer-content {
    padding: var(--spacing-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-brand i {
    color: var(--secondary);
}

.footer-description {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--primary);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--secondary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

/* ============================================
   Social Links Large (with text)
============================================ */
.footer-social-large {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-link-lg {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 0.5rem 0;
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.social-link-lg:hover {
    color: var(--secondary);
}

.social-link-lg i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.social-link-lg:hover i {
    background: var(--secondary);
    color: var(--primary);
}

/* ============================================
   Support By Section (White Background)
============================================ */
.footer-support {
    background: var(--white);
    padding: 3rem 0;
}

.support-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.support-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.support-logos {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.support-logo {
    width: 180px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.support-logo:hover {
    transform: scale(1.08) translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Weichai sedikit lebih kecil karena sangat lebar */
.support-logo[alt="Weichai"] {
    width: 160px;
}

/* Yanmar diperbesar */
.support-logo[alt="Yanmar"] {
    width: 220px;
    max-height: 80px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    padding: var(--spacing-lg) 0;
    text-align: center;
    font-size: 0.875rem;
}

/* ============================================
   Footer Responsive
============================================ */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .support-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .support-logos {
        gap: var(--spacing-lg);
    }
    
    .support-logo {
        width: 130px;
        max-height: 50px;
    }
    
    .support-logo[alt="Weichai"] {
        width: 120px;
    }
}

/* ============================================
   Back to Top
============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}
