/* ================================================
   Modern Footer Styles
================================================ */

:root {
    --footer-bg-primary: #0a0a0a;
    --footer-bg-secondary: #151515;
    --footer-cta-bg: linear-gradient(135deg, #aff42b 0%, #151515 100%);
    --footer-text-primary: #ffffff;
    --footer-text-secondary: #b0b0b0;
    --footer-text-muted: #808080;
    --footer-accent: #aff42b;
    --footer-hover: #8fd622;
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-shadow: rgba(0, 0, 0, 0.3);
}

/* Main Footer Container */
.footer-modern {
    background: var(--footer-bg-primary);
    color: var(--footer-text-primary);
    position: relative;
    overflow: hidden;
}

/* Footer Main Section */
.footer-main {
    background: var(--footer-bg-primary);
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

/* Footer Brand Section */
.footer-brand {
    position: relative;
}

.footer-logo img {
    max-height: 50px;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: brightness(1.5);
    transform: scale(1.05);
}

.footer-description {
    color: var(--footer-text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 300px;
}

/* Contact Info */
.footer-contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 14px;
    color: var(--footer-bg-primary);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(175, 244, 43, 0.3);
}

.contact-text a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--footer-accent);
}

/* Footer Widget */
.footer-widget {
    position: relative;
}

.footer-widget-title {
    color: var(--footer-text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--footer-accent), var(--footer-hover));
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-accent);
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 6px;
}

/* Social Media Showcase Section */
.footer-social-showcase {
    background: linear-gradient(135deg, var(--footer-bg-primary) 0%, var(--footer-bg-secondary) 100%);
    padding: 80px 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--footer-border);
}

.social-showcase-title {
    color: var(--footer-text-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.social-showcase-subtitle {
    color: var(--footer-text-secondary);
    font-size: 16px;
    margin-bottom: 50px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.social-showcase-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.social-showcase-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--footer-border);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-showcase-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-showcase-link:hover::before {
    left: 100%;
}

.social-showcase-link:hover {
    transform: translateY(-5px);
    border-color: var(--footer-accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.social-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon-wrapper i {
    font-size: 24px;
    color: var(--footer-text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.social-platform {
    color: var(--footer-text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.social-handle {
    color: var(--footer-text-secondary);
    font-size: 14px;
}

/* Platform-specific styles */
.social-showcase-link.facebook:hover .social-icon-wrapper {
    background: #1877f2;
    transform: scale(1.1);
}

.social-showcase-link.facebook:hover .social-icon-wrapper i {
    color: white;
}

.social-showcase-link.linkedin:hover .social-icon-wrapper {
    background: #0077b5;
    transform: scale(1.1);
}

.social-showcase-link.linkedin:hover .social-icon-wrapper i {
    color: white;
}

.social-showcase-link.instagram:hover .social-icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: scale(1.1);
}

.social-showcase-link.instagram:hover .social-icon-wrapper i {
    color: white;
}

.social-showcase-link.github:hover .social-icon-wrapper {
    background: #333;
    transform: scale(1.1);
}

.social-showcase-link.github:hover .social-icon-wrapper i {
    color: white;
}

.social-showcase-link.twitter:hover .social-icon-wrapper {
    background: #1da1f2;
    transform: scale(1.1);
}

.social-showcase-link.twitter:hover .social-icon-wrapper i {
    color: white;
}

.social-showcase-link.youtube:hover .social-icon-wrapper {
    background: #ff0000;
    transform: scale(1.1);
}

.social-showcase-link.youtube:hover .social-icon-wrapper i {
    color: white;
}

/* Footer CTA Section */
.footer-cta {
    background: var(--footer-bg-secondary);
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    color: var(--footer-text-primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-subtitle {
    color: var(--footer-text-secondary);
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-hover));
    color: var(--footer-bg-primary);
    border: 2px solid transparent;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(175, 244, 43, 0.4);
    color: var(--footer-bg-primary);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--footer-text-primary);
    border: 2px solid var(--footer-border);
}

.btn-cta-secondary:hover {
    background: var(--footer-text-primary);
    color: var(--footer-bg-primary);
    border-color: var(--footer-text-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    background: var(--footer-bg-primary);
    padding: 25px 0;
    border-top: 1px solid var(--footer-border);
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: var(--footer-text-secondary);
    font-size: 14px;
    margin: 0;
}

.copyright-link {
    color: var(--footer-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-link:hover {
    color: var(--footer-hover);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--footer-accent);
}

.footer-link:hover::after {
    width: 100%;
}

/* Background Elements */
.footer-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.footer-shape-1,
.footer-shape-2,
.footer-shape-3 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-hover));
    opacity: 0.03;
    animation: floatShapes 20s ease-in-out infinite;
}

.footer-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -150px;
    animation-delay: 0s;
}

.footer-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
}

.footer-shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes floatShapes {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .social-showcase-links {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .footer-cta {
        padding: 50px 0;
    }
    
    .footer-social-showcase {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .social-showcase-title {
        font-size: 24px;
    }
    
    .social-showcase-links {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    /* Adjust footer columns for tablets */
    .footer-main .col-lg-4 {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-social-showcase {
        padding: 50px 0;
    }
    
    .social-showcase-title {
        font-size: 22px;
    }
    
    .social-showcase-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .social-showcase-link {
        padding: 15px;
    }
    
    .social-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .social-icon-wrapper i {
        font-size: 20px;
    }
    
    .social-platform {
        font-size: 16px;
    }
    
    .social-handle {
        font-size: 13px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .footer-bottom-links {
        gap: 15px;
    }
    
    /* Stack footer columns on mobile */
    .footer-main .col-lg-4 {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-links {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 30px 0 15px;
    }
    
    .footer-cta {
        padding: 40px 0;
    }
    
    .footer-social-showcase {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .social-showcase-title {
        font-size: 20px;
    }
    
    .social-showcase-links {
        gap: 15px;
    }
    
    .social-showcase-link {
        padding: 12px;
        border-radius: 10px;
    }
    
    .social-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .social-icon-wrapper i {
        font-size: 18px;
    }
    
    .social-platform {
        font-size: 15px;
    }
    
    .social-handle {
        font-size: 12px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .contact-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    /* Improve mobile spacing */
    .footer-main .col-lg-4 {
        margin-bottom: 35px;
    }
    
    .footer-widget-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
} 