/* Footer V2 Styles */

.footer-v2 {
    position: relative;
    background-color: var(--sc-footer-v2-root-bg, var(--footer-background-color));
    color: var(--sc-footer-v2-root-text, var(--footer-text-color));
    padding: 60px 0 0;
    margin-top: 80px;
    overflow: hidden;
}

.footer-v2-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--primary-brand-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--primary-brand-color) 0%, transparent 50%);
    pointer-events: none;
}

.footer-v2-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, var(--primary-brand-color) 10px, var(--primary-brand-color) 20px);
    opacity: 0.03;
}

.footer-v2-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-v2-column {
    position: relative;
}

/* Brand Column */
.footer-v2-brand {
    min-width: 280px;
}

.footer-v2-brand-wrapper {
    background: var(--sc-footer-v2-brand-wrapper-bg, transparent);
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-v2-brand-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sc-footer-v2-brand-wrapper-before-bg, var(--footer-text-color));
    opacity: 0.03;
    border-radius: 16px;
    pointer-events: none;
    z-index: 0;
}

.footer-v2-brand-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--sc-footer-v2-brand-wrapper-after-border, var(--primary-brand-color));
    border-radius: 16px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.footer-v2-brand-wrapper:hover {
    transform: translateY(-5px);
}

.footer-v2-brand-wrapper:hover::before {
    opacity: 0.05;
}

.footer-v2-brand-wrapper:hover::after {
    opacity: 0.4;
}

.footer-v2-brand-wrapper:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--primary-brand-color);
    opacity: 0.1;
    pointer-events: none;
}

.footer-v2-brand-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--sc-footer-v2-brand-title-text, var(--footer-accent-color));
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--footer-accent-color) 0%, var(--secondary-brand-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.footer-v2-brand-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--sc-footer-v2-brand-description-text, var(--footer-text-color));
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

/* Social Media Links */
.footer-v2-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-v2-social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: var(--sc-footer-v2-social-link-bg, var(--footer-social-icon-background-color));
    border: 1px solid transparent;
    color: var(--sc-footer-v2-social-link-text, var(--footer-social-icon-color));
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-v2-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--sc-footer-v2-social-link-before-bg, var(--primary-brand-color));
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.footer-v2-social-link:hover::before {
    width: 300px;
    height: 300px;
}

.footer-v2-social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background-color: var(--sc-footer-v2-social-link-hover-bg, var(--footer-social-icon-hover-background-color));
    color: var(--sc-footer-v2-social-link-hover-text, var(--footer-social-icon-hover-color));
}

.footer-v2-social-link:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--primary-brand-color);
    opacity: 0.3;
    pointer-events: none;
}

.footer-v2-social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.footer-v2-social-link:hover i {
    transform: scale(1.2);
}

.footer-v2-social-facebook:hover {
    background: var(--sc-footer-v2-social-facebook-hover-bg, #1877f2);
    border-color: var(--sc-footer-v2-social-facebook-hover-border, #1877f2);
}

.footer-v2-social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: var(--sc-footer-v2-social-instagram-hover-border, #bc1888);
}

.footer-v2-social-tiktok:hover {
    background: var(--sc-footer-v2-social-tiktok-hover-bg, var(--footer-background-color));
    border-color: var(--sc-footer-v2-social-tiktok-hover-border, var(--footer-text-color));
}

/* Column Titles */
.footer-v2-column-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--sc-footer-v2-column-title-text, var(--footer-accent-color));
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    position: relative;
}

.footer-v2-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--sc-footer-v2-column-title-after-bg, var(--primary-brand-color));
    opacity: 0.3;
}

.footer-v2-column-title i {
    font-size: 20px;
}

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

.footer-v2-links-list li {
    margin-bottom: 12px;
}

.footer-v2-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--sc-footer-v2-link-text, var(--footer-text-color));
    opacity: 0.8;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-v2-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--sc-footer-v2-link-before-bg, var(--primary-brand-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.footer-v2-link:hover::before {
    transform: scaleY(1);
}

.footer-v2-link:hover {
    color: var(--sc-footer-v2-link-hover-text, var(--footer-hover-text-color));
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-v2-link:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sc-footer-v2-link-after-hover-bg, var(--primary-brand-color));
    opacity: 0.1;
    border-radius: 8px;
    pointer-events: none;
}

.footer-v2-link i {
    font-size: 14px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.footer-v2-link:hover i {
    transform: scale(1.2);
}

/* Contact Section */
.footer-v2-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-v2-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--sc-footer-v2-contact-item-bg, transparent);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.footer-v2-contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sc-footer-v2-contact-item-before-bg, var(--footer-text-color));
    opacity: 0.03;
    border-radius: 10px;
    pointer-events: none;
    z-index: 0;
}

.footer-v2-contact-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--sc-footer-v2-contact-item-after-border, var(--footer-text-color));
    border-radius: 10px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

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

.footer-v2-contact-item:hover::before {
    opacity: 0.06;
}

.footer-v2-contact-item:hover::after {
    border-color: var(--sc-footer-v2-contact-item-after-hover-border, var(--primary-brand-color));
    opacity: 0.3;
}

.footer-v2-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-footer-v2-contact-icon-bg, transparent);
    border-radius: 10px;
    color: var(--sc-footer-v2-contact-icon-text, var(--primary-brand-color));
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-v2-contact-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sc-footer-v2-contact-icon-before-bg, var(--primary-brand-color));
    opacity: 0.15;
    border-radius: 10px;
    pointer-events: none;
    z-index: -1;
}

.footer-v2-contact-item:hover .footer-v2-contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.footer-v2-contact-item:hover .footer-v2-contact-icon::before {
    opacity: 0.25;
}

.footer-v2-contact-content {
    flex: 1;
    color: var(--sc-footer-v2-contact-content-text, var(--footer-text-color));
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.footer-v2-contact-link {
    color: var(--sc-footer-v2-contact-link-text, var(--footer-text-color));
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.footer-v2-contact-link:hover {
    color: var(--sc-footer-v2-contact-link-hover-text, var(--footer-hover-text-color));
    text-decoration: underline;
}

/* Footer Bottom */
.footer-v2-bottom {
    border-top: 1px solid transparent;
    padding: 30px 0;
    padding-bottom: 7%;
    position: relative;
    z-index: 1;
}

.footer-v2-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sc-footer-v2-bottom-before-bg, var(--primary-brand-color));
}

.footer-v2-bottom-content {
    text-align: center;
}

.footer-v2-copyright {
    color: var(--sc-footer-v2-copyright-text, var(--footer-text-color));
    opacity: 0.7;
    font-size: 14px;
    margin: 0;
}

.footer-v2-developer-link {
    color: var(--sc-footer-v2-developer-link-text, var(--footer-accent-color));
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-v2-developer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sc-footer-v2-developer-link-after-bg, var(--primary-brand-color));
    transition: width 0.3s ease;
}

.footer-v2-developer-link:hover {
    color: var(--sc-footer-v2-developer-link-hover-text, var(--footer-hover-text-color));
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .footer-v2 {
        padding: 40px 0 0;
    }
    
    .footer-v2-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-v2-brand-wrapper {
        padding: 25px;
    }
    
    .footer-v2-brand-title {
        font-size: 24px;
    }
    
    .footer-v2-column-title {
        font-size: 16px;
    }
    
    .footer-v2-social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-v2-contact-item {
        padding: 12px;
    }
    
    .footer-v2-contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-v2 {
        padding: 30px 0 0;
    }
    
    .footer-v2-content {
        gap: 25px;
    }
    
    .footer-v2-brand-wrapper {
        padding: 20px;
    }
    
    .footer-v2-bottom {
        padding: 20px 0;
        padding-bottom: 20%;
    }
    
    .footer-v2-copyright {
        font-size: 12px;
    }
}
