/* =============================================
   FOOTER STYLES
   Styling untuk footer component yang reusable
   ============================================= */

/* Footer Container */
footer { 
    background: #072e41; 
    color: #cbd5e1; 
    margin-top: 40px; 
}

.footer-in { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 30px 20px; 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px; 
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px; 
}

.footer-brand img {
    height: 32px;
    width: auto;
}

.footer-brand strong {
    color: var(--paper);
    font-size: 16px;
    line-height: 1.3;
}

/* Footer Contact Info */
.footer-contact-info {
    margin-bottom: 15px;
}

.footer-contact-info p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact-info strong {
    color: var(--gold);
}

/* Footer Links */
.footer-in a { 
    color: #e2e8f0; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.footer-in a:hover {
    color: var(--gold);
    transform: translateX(3px);
}

.footer-in a i { 
    color: var(--gold); 
    font-size: 16px;
}

/* Navigation Sections */
.footer-in > div > .small {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-in > div > strong {
    display: block;
    margin-bottom: 5px;
}

/* Small Text */
.small { 
    font-size: 14px; 
    color: #94a3b8; 
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px; 
    margin-top: 15px;
}

.social-links a {
    font-size: 24px; 
    color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-3px) scale(1.1);
}

.social-links a i {
    font-size: 24px;
}

/* =============================================
   TABLET RESPONSIVE (768px - 991px)
   ============================================= */
@media (max-width: 991.98px) {
    .footer-in {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    /* First column spans 2 columns */
    .footer-in > div:first-child {
        grid-column: 1 / -1;
    }
}

/* =============================================
   MOBILE RESPONSIVE (< 768px)
   ============================================= */
@media (max-width: 767.98px) {
    footer {
        margin-top: 30px;
    }
    
    .footer-in {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
    }
    
    .footer-in > div:first-child {
        grid-column: 1;
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-brand img {
        height: 28px;
    }
    
    .footer-brand strong {
        font-size: 15px;
    }
    
    .footer-contact-info {
        margin-bottom: 12px;
    }
    
    .footer-contact-info p {
        margin-bottom: 10px;
        font-size: 13px;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 12px;
        margin-top: 12px;
    }
    
    .social-links a {
        font-size: 20px;
    }
    
    .social-links a i {
        font-size: 20px;
    }
    
    .footer-in > div > strong {
        font-size: 15px;
    }
    
    .footer-in a {
        font-size: 13px;
    }
    
    .footer-in a i {
        font-size: 14px;
    }
}

/* =============================================
   SMALL MOBILE (< 480px)
   ============================================= */
@media (max-width: 479.98px) {
    .footer-in {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .footer-brand strong {
        font-size: 14px;
    }
    
    .footer-contact-info p {
        font-size: 12px;
    }
}