/**
 * Modern Footer V2 - Professional Design
 * Author: Claude Code
 * Date: 2025
 */

/* ============================================
   FOOTER MAIN CONTAINER
   ============================================ */
.modern-footer-v2 {
    background: #0f172a;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.modern-footer-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(102, 126, 234, 0.5) 50%,
        transparent 100%);
}

/* ============================================
   FOOTER MAIN SECTION
   ============================================ */
.footer-main {
    padding: 80px 0 40px;
    position: relative;
}

.footer-main::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   FOOTER WIDGETS
   ============================================ */
.footer-widget {
    margin-bottom: 40px;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

/* ============================================
   FOOTER LOGO & COMPANY INFO
   ============================================ */
.footer-logo {
    margin-bottom: 20px;
}

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

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

.footer-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 14px;
}

/* ============================================
   FOOTER SOCIAL LINKS
   ============================================ */
.footer-social {
    margin-bottom: 28px;
}

.footer-social-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    color: #667eea;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* ============================================
   APP DOWNLOAD BADGES
   ============================================ */
.footer-apps {
    margin-top: 24px;
}

.footer-apps-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-badge img {
    height: 44px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.app-badge:hover {
    transform: translateY(-3px);
}

.app-badge:hover img {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* ============================================
   FOOTER MENU LISTS
   ============================================ */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    bottom: -2px;
}

.footer-menu a:hover {
    color: #ffffff;
    padding-left: 12px;
}

.footer-menu a:hover::before {
    width: 20px;
}

.footer-menu a i {
    margin-right: 8px;
    color: #667eea;
    font-size: 12px;
}

/* ============================================
   FOOTER CONTACT INFO
   ============================================ */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: #ffffff;
    margin-right: 14px;
    font-size: 16px;
}

.footer-contact-content h6 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-content p,
.footer-contact-content a {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    text-decoration: none;
}

.footer-contact-content a:hover {
    color: #667eea;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.footer-copyright a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-copyright a:hover {
    color: #ffffff;
}

/* ============================================
   FOOTER BOTTOM LINKS
   ============================================ */
.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* ============================================
   SCROLL TO TOP BUTTON (if needed)
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.scroll-to-top.show {
    display: flex;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    .footer-main {
        padding: 60px 0 30px;
    }

    .footer-widget {
        margin-bottom: 35px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-main::after {
        display: none;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .footer-widget-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-description {
        font-size: 13px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .app-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-badge img {
        height: 40px;
    }

    .footer-contact-item {
        padding: 12px;
    }

    .footer-contact-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-content {
        gap: 15px;
    }

    .footer-copyright,
    .footer-bottom-links a {
        font-size: 13px;
    }

    .footer-bottom-links {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* Extra small mobile */
@media (max-width: 575px) {
    .footer-main {
        padding: 30px 0 15px;
    }

    .footer-widget-title {
        font-size: 15px;
    }

    .footer-menu a {
        font-size: 13px;
    }

    .footer-contact-content h6 {
        font-size: 12px;
    }

    .footer-contact-content p,
    .footer-contact-content a {
        font-size: 13px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-widget {
    animation: fadeInUp 0.6s ease-out backwards;
}

.footer-widget:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-widget:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-widget:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-widget:nth-child(4) {
    animation-delay: 0.4s;
}

/* ============================================
   PRINT STYLES
   ============================================ */
/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.footer-newsletter {
    background: rgba(102, 126, 234, 0.05);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 60px 0;
    margin-bottom: 60px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-text h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: #94a3b8;
    font-size: 16px;
    margin: 0;
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.footer-trust {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    color: #ffffff;
}

.trust-badge i {
    font-size: 24px;
    color: #667eea;
    transition: all 0.3s ease;
}

.trust-badge:hover i {
    transform: scale(1.1);
    color: #764ba2;
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-label {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    gap: 12px;
}

.payment-icons i {
    font-size: 32px;
    color: #64748b;
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: #667eea;
    transform: translateY(-2px);
}

/* ============================================
   ENHANCED FOOTER ANIMATIONS
   ============================================ */
.social-link:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.footer-menu a::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-menu a:hover::after {
    opacity: 1;
    margin-left: 8px;
}

/* ============================================
   NEWSLETTER RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-text h3 {
        font-size: 24px;
    }

    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-newsletter {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    .newsletter-text h3 {
        font-size: 22px;
    }

    .newsletter-text p {
        font-size: 14px;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }

    .trust-badges {
        gap: 24px;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-payments {
        flex-direction: column;
        gap: 12px;
    }
}

@media print {
    .modern-footer-v2 {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .footer-widget-title,
    .footer-menu a,
    .footer-contact-content h6 {
        color: #000000 !important;
    }

    .social-link,
    .footer-contact-icon,
    .footer-newsletter,
    .footer-trust {
        display: none !important;
    }
}
