/* assets/css/footer.css */

.main-footer {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--gray-900) 100%);
    color: var(--white);
    padding-top: 100px;
    padding-bottom: 40px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 168, 107, 0.3) 50%, 
        transparent 100%);
}

.main-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

/* Footer Brand */
.footer-brand {
    animation: fadeInUp 0.8s ease-out;
}

.logo-white {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: transform var(--transition-base);
}

.logo-white:hover {
    transform: translateX(4px);
}

.logo-white img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 4px 12px rgba(0, 168, 107, 0.3));
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 400px;
}

/* Footer Navigation */
.footer-nav-col,
.footer-contact-col {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.footer-nav-col h4,
.footer-contact-col h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.footer-nav-col h4::after,
.footer-contact-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-nav-col ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
    color: var(--primary);
}

.footer-nav-col ul li a:hover {
    color: var(--primary);
    padding-left: 24px;
}

.footer-nav-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact */
.footer-contact-item {
    margin-bottom: 16px;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.phone-highlight {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 168, 107, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: fadeIn 1s ease-out 0.4s both;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Responsivita */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding-top: 60px;
        margin-top: 80px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    .footer-desc {
        max-width: 100%;
    }
    
    .footer-bottom {
        margin-top: 40px;
        padding-top: 24px;
    }
}