﻿/* =============================================
   wwwroot/css/footer.css
   Premium Footer Styles
   ============================================= */

/* ---------- Base Footer ---------- */
.footer-premium {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #2d2a5c 100%);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

/* ---------- Wave Divider ---------- */
.wave-divider {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave-divider svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 80px;
    }

    .wave-divider .shape-fill {
        fill: #0a0e27;
    }

/* ---------- Logo ---------- */
.footer-logo .logo-orb {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: borderPulse 3s ease-in-out infinite alternate;
}

    .footer-logo .logo-orb img {
        width: 85%;
        height: 85%;
        object-fit: contain;
        border-radius: 15px;
    }

.logo-text h3 {
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #a8c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

/* ---------- Widgets ---------- */
.footer-content {
    position: relative;
    z-index: 2;
}

.footer-widget {
    position: relative;
}

.widget-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.2rem;
}

    .widget-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        border-radius: 2px;
    }

/* ---------- Contact Info ---------- */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text h6 {
    color: #a8c0ff;
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ---------- Footer Links ---------- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }

        .footer-links a i {
            font-size: 0.7rem;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: #a8c0ff;
            transform: translateX(5px);
        }

            .footer-links a:hover i {
                transform: translateX(3px);
                color: #667eea;
            }

.products-links a i {
    width: 18px;
}

/* ---------- Newsletter ---------- */
.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 20px;
}

    .newsletter-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .newsletter-form .form-control:focus {
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
    }

.btn-newsletter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

    .btn-newsletter:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

/* ---------- Social Links ---------- */
.social-links-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-footer {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

    .social-footer.facebook {
        background: linear-gradient(135deg, #1877f2, #00a2ff);
    }

    .social-footer.whatsapp {
        background: linear-gradient(135deg, #25d366, #128c7e);
    }

    .social-footer.youtube {
        background: linear-gradient(135deg, #ff0000, #ff6b6b);
    }

    .social-footer.linkedin {
        background: linear-gradient(135deg, #0077b5, #00a0dc);
    }

    .social-footer.instagram {
        background: linear-gradient(135deg, #e4405f, #ffd93d);
    }

    .social-footer:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

    .social-footer[data-tooltip]::before {
        content: attr(data-tooltip);
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.7rem;
        white-space: nowrap;
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .social-footer:hover::before {
        opacity: 1;
        bottom: -30px;
    }

/* ---------- Footer Bottom ---------- */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
        font-size: 0.85rem;
    }

.footer-badges {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

    .footer-badges .badge {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 500;
        gap: 5px;
    }

        .footer-badges .badge i {
            margin-right: 5px;
            font-size: 0.7rem;
        }

/* ---------- Floating Elements ---------- */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(102, 126, 234, 0.3);
    font-size: 1.2rem;
    animation: floatRandom 15s infinite linear;
}

.ele-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.ele-2 {
    top: 45%;
    left: 8%;
    animation-delay: 2s;
    width: 35px;
    height: 35px;
}

.ele-3 {
    top: 70%;
    left: 3%;
    animation-delay: 4s;
}

.ele-4 {
    top: 25%;
    right: 8%;
    animation-delay: 6s;
    width: 45px;
    height: 45px;
}

.ele-5 {
    top: 55%;
    right: 5%;
    animation-delay: 8s;
    width: 35px;
    height: 35px;
}

.ele-6 {
    top: 80%;
    right: 10%;
    animation-delay: 10s;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.back-to-top-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
}

    .back-to-top-btn.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        color: white;
    }

/* ---------- Animations ---------- */
@keyframes borderPulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    100% {
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
    }
}

@keyframes floatRandom {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    20% {
        transform: translateY(-30px) rotate(72deg);
    }

    40% {
        transform: translateY(20px) rotate(144deg);
    }

    60% {
        transform: translateY(-15px) rotate(216deg);
    }

    80% {
        transform: translateY(25px) rotate(288deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .footer-badges {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .wave-divider {
        top: -40px;
    }

        .wave-divider svg {
            height: 40px;
        }

    .footer-logo {
        text-align: center;
    }

        .footer-logo .d-flex {
            justify-content: center;
        }

    .widget-title {
        text-align: center;
    }

        .widget-title::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .footer-links {
        text-align: center;
    }

        .footer-links a {
            justify-content: center;
        }

    .contact-item {
        justify-content: center;
    }

    .social-links-footer {
        justify-content: center;
    }

    .footer-badges {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .footer-logo .logo-orb {
        width: 45px;
        height: 45px;
    }

    .footer-badges .badge {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .float-element {
        display: none;
    }
}
