/*---------------------
  MODERN FOOTER STYLES
  Used in: layout/partials/footer.blade.php
-----------------------*/

/* Modern Footer Section */
.modern-footer-section {
    background: linear-gradient(135deg, #1a0b3d 0%, #2d1b69 50%, #1a0b3d 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #eb2b63, #8b5cf6, #eb2b63) 1;
}

.modern-footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(235, 43, 99, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.modern-footer-section .container {
    position: relative;
    z-index: 2;
}

/* Footer Main Content */
.footer-main-content {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

/* Footer Bottom Section */
.footer-bottom {
    padding-bottom: 30px;
}

/* Footer Widget Styling */
.footer-widget {
    margin-bottom: 40px;
    padding: 0 15px;
}

.footer-widget.company-info {
    padding-right: 25px;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 25px;
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* Company Description */
.company-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Widget Titles */
.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #eb2b63, #8b5cf6);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(235, 43, 99, 0.3);
}

.widget-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.3px;
}

.footer-links a:hover {
    color: #eb2b63;
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(235, 43, 99, 0.3);
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    color: #eb2b63;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-links li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #eb2b63, transparent);
    transition: width 0.3s ease;
}

.footer-links li:hover::after {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link i {
    color: white;
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1.1);
}

.social-link.youtube:hover::before {
    background: #ff0000;
}

.social-link.facebook:hover::before {
    background: #1877f2;
}

.social-link.instagram:hover::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter:hover::before {
    background: #1da1f2;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Country Selector */
.country-selector {
    position: relative;
    margin-bottom: 25px;
}

/* Contact Support Section */
.contact-support-section {
    margin-top: 25px;
}

.contact-support-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.contact-item-compact i {
    color: #eb2b63;
    font-size: 14px;
    min-width: 16px;
}

.contact-value-compact {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-value-compact:hover {
    color: #eb2b63;
}

.selected-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    max-width: 150px;
}

.selected-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.selected-option .flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.selected-option span {
    flex: 1;
    font-size: 14px;
    color: white;
}

.selected-option i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 11, 61, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-top: 5px;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-options li {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
    font-size: 14px;
    color: white;
}

.dropdown-options li:hover {
    background: rgba(235, 43, 99, 0.2);
}

.dropdown-options li .flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-item i {
    color: #eb2b63;
    font-size: 16px;
    margin-top: 2px;
    min-width: 16px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: #eb2b63;
}

/* Legal Links */
.legal-links {
    margin-top: 20px;
}

.legal-links-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-links .footer-links {
    margin-top: 0;
}

.legal-links .footer-links li {
    margin-bottom: 8px;
}

.legal-links .footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.legal-links .footer-links a:hover {
    color: #eb2b63;
    transform: translateX(5px);
}

.legal-links .footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #eb2b63;
    transition: width 0.3s ease;
}

.legal-links .footer-links a:hover::before {
    width: 10px;
}

/* Payment Methods */
.payment-methods {
    text-align: center;
    padding: 40px 0 20px;
    position: relative;
}

.payment-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #eb2b63, #8b5cf6, #eb2b63, transparent);
    border-radius: 1px;
}

.payment-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.payment-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #eb2b63, #8b5cf6);
    border-radius: 1px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.payment-icon {
    height: 40px;
    width: auto;
    filter: brightness(0.9) saturate(0.8);
    transition: all 0.4s ease;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.payment-icon:hover {
    filter: brightness(1.2) saturate(1.1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(235, 43, 99, 0.2);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(235, 43, 99, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-footer-section {
        padding: 50px 0 20px;
    }
    
    .footer-widget.company-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-icons {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .modern-footer-section {
        padding: 40px 0 20px;
    }
    
    /* Center logo on mobile */
    .footer-logo {
        width: 120px;
        display: block;
        margin: 0 auto 25px;
    }
    
    /* Center company description */
    .company-description {
        text-align: center;
    }
    
    /* Center widget titles and their underlines */
    .widget-title {
        font-size: 16px;
        text-align: center;
    }
    
    .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .widget-title::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Center footer links */
    .footer-links {
        text-align: center;
    }
    
    /* Center contact support section */
    .contact-support-section {
        text-align: center;
    }
    
    .contact-support-title {
        text-align: center;
    }
    
    .contact-info-compact {
        align-items: center;
    }
    
    /* Center legal links section */
    .legal-links {
        text-align: center;
    }
    
    .legal-links-title {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-item i {
        margin-top: 0;
    }
    
    .inline-links {
        justify-content: center;
    }
    
    .payment-icons {
        gap: 15px;
        margin-top: 15px;
    }
    
    .payment-icon {
        height: 55px;
        width: auto;
        padding: 5px 8px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-width: none;
    }
    
    .selected-option {
        max-width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .modern-footer-section {
        padding: 30px 0 15px;
    }
    
    .company-description {
        text-align: center;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 14px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .payment-icons {
        gap: 8px;
    }
    
    .payment-icon {
        height: 25px;
    }
}

/* Animation for dropdown */
.dropdown-options.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect for footer sections */
.footer-widget:hover .widget-title::after {
    width: 50px;
    transition: width 0.3s ease;
}

/* END OF MODERN FOOTER STYLES */