/* Footer Variables */
:root {
    --footer-bg: #1a1a1a;
    --footer-bg-light: #2d2d2d;
    --footer-text: #b0b0b0;
    --footer-text-light: #d0d0d0;
    --footer-border: #404040;
    --pink-primary: #e91e63;
    --pink-light: #fce4ec;
    --green-primary: #8bc34a;
    --green-light: #f1f8e9;
}

/* Main Footer Styles */
.footer-section {
    background: linear-gradient(135deg, var(--footer-bg) 0%, #2d2d2d 100%);
    color: var(--footer-text);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink-primary), var(--green-primary));
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-primary), var(--green-primary));
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.footer-text {
    color: var(--footer-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--footer-bg-light);
    color: var(--footer-text);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--pink-primary), var(--green-primary));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

/* Footer Links */
.footer-links {
    margin-bottom: 2rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--pink-primary), var(--green-primary));
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-link {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

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

.footer-link:hover {
    color: var(--pink-primary);
    transform: translateX(5px);
    text-decoration: none;
}

.footer-link:hover::before {
    width: 10px;
}

/* Newsletter Section */
.footer-newsletter {
    margin-bottom: 2rem;
}

.footer-input-group {
    position: relative;
    margin-bottom: 1rem;
}

.footer-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    background: var(--footer-bg-light);
    border: 2px solid var(--footer-border);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-input:focus {
    outline: none;
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    background: #333;
}

.footer-input::placeholder {
    color: var(--footer-text);
}

.footer-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--pink-primary), var(--green-primary));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.footer-newsletter-success {
    padding: 10px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

/* Contact Info */
.footer-contact-info {
    margin-top: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--footer-text);
    font-size: 14px;
}

.footer-contact-item i {
    margin-right: 10px;
    width: 16px;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-border), transparent);
    margin: 40px 0 30px;
}

/* Footer Bottom */
.footer-bottom {
    margin-bottom: 30px;
}

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

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

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

.footer-bottom-link:hover {
    color: var(--pink-primary);
    text-decoration: none;
}

/* Payment Methods */
.footer-payment {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
}

.footer-payment-title {
    color: var(--footer-text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 35px;
    background: var(--footer-bg-light);
    border-radius: 8px;
    color: var(--footer-text-light);
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: var(--footer-border);
    transform: translateY(-2px);
}

.payment-text {
    font-size: 10px;
    font-weight: bold;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pink-primary), var(--green-primary));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .footer-brand,
    .footer-links,
    .footer-newsletter {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-payment-icons {
        gap: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
        margin-bottom: 15px;
    }
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section > .container > .row > div {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section > .container > .row > div:nth-child(1) { animation-delay: 0.1s; }
.footer-section > .container > .row > div:nth-child(2) { animation-delay: 0.2s; }
.footer-section > .container > .row > div:nth-child(3) { animation-delay: 0.3s; }
.footer-section > .container > .row > div:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for footer sections */
.footer-brand:hover .footer-logo-circle {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

/* Text selection colors */
.footer-section ::selection {
    background: var(--pink-primary);
    color: white;
}

.footer-section ::-moz-selection {
    background: var(--pink-primary);
    color: white;
}
