/* 
 * Modern Footer Styles
 * Professional footer with wave animation and modern layout
 */

/* ==========================================
   FOOTER WAVE ANIMATION
   ========================================== */
.footer-wave {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: #2c3e50;
}

/* ==========================================
   MODERN FOOTER LAYOUT
   ========================================== */
.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: #ecf0f1;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 177, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding: var(--space-4xl) 0 var(--space-2xl);
    position: relative;
    z-index: 1;
}

/* ==========================================
   FOOTER LOGO SECTION
   ========================================== */
.footer-main {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-logo-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.footer-logo-text h3 {
    color: #fff;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin: 0 0 var(--space-xs);
    background: linear-gradient(45deg, #fff, #bdc3c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #bdc3c7;
    font-size: var(--font-size-sm);
    margin: 0;
    font-style: italic;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

/* ==========================================
   SOCIAL LINKS
   ========================================== */
.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-icon {
    font-size: 1.2rem;
}

/* ==========================================
   FOOTER SECTIONS
   ========================================== */
.footer-section h4 {
    color: #fff;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 1px;
}

/* ==========================================
   FOOTER LINKS
   ========================================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: var(--space-xs) 0;
    border-radius: var(--border-radius-sm);
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
    padding-left: var(--space-sm);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.footer-contact {
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: #bdc3c7;
}

.contact-icon {
    width: 20px;
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.legal-link {
    color: #95a5a6;
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #3498db;
}

/* ==========================================
   FOOTER BOTTOM
   ========================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-copyright p {
    margin: 0;
    color: #bdc3c7;
}

.footer-copyright p:first-child {
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.footer-disclaimer {
    font-size: var(--font-size-sm);
    color: #95a5a6;
}

.footer-badges {
    display: flex;
    gap: var(--space-md);
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    color: #ecf0f1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .footer-main {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-wave svg {
        height: 40px;
    }
    
    .footer-content {
        padding: var(--space-2xl) 0;
    }
    
    .footer-logo-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
}
