/**
 * FOOTER STYLES
 * -------------
 * Dedicated stylesheet for footer component
 * This file is loaded last to ensure it has priority over other stylesheets
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* Modern Grey Footer */
.modern-footer {
    background: #F8F9FA;
    color: #212529;
    border-top: 1px solid #E9ECEF;
    position: relative;
}

.footer-main {
    padding: 30px 0 15px;
}

.footer-section-title {
    font-family: 'Playfair Display', serif;
    color: #212529;
    font-size: 1.4375rem; /* 1.15rem * 1.25 = 1.4375rem */
    font-weight: 700;
    margin-bottom: 22px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

/* Footer About */
.footer-about {
    padding-right: 25px;
}

.footer-logo-img {
    max-width: 140px;
    margin-bottom: 18px;
}

.footer-description {
    color: #212529;
    line-height: 1.7;
    margin-bottom: 22px;
    font-size: 1.375rem; /* 1.1rem * 1.25 = 1.375rem */
    font-weight: 500;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #212529;
    transition: all 0.3s ease;
    font-size: 1.3125rem; /* 1.05rem * 1.25 = 1.3125rem */
    font-weight: 500;
}

.footer-contact-item:hover {
    color: #4A90E2;
}

.footer-contact-item i {
    width: 32px;
    height: 32px;
    background: #E9ECEF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #6C757D;
    font-size: 0.85rem;
}

.footer-contact-item:hover i {
    background: #4A90E2;
    color: #FFFFFF;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #212529;
    text-decoration: none;
    font-size: 1.3125rem; /* 1.05rem * 1.25 = 1.3125rem */
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #4A90E2;
    padding-left: 4px;
}

/* Newsletter */
.newsletter-box {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #E9ECEF;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    color: #212529;
    font-size: 1.375rem; /* 1.1rem * 1.25 = 1.375rem */
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-text {
    color: #212529;
    margin-bottom: 18px;
    font-size: 1.3125rem; /* 1.05rem * 1.25 = 1.3125rem */
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #E9ECEF;
    border-radius: 50px;
    background: #F8F9FA;
    color: #212529;
    font-size: 1.125rem; /* 0.9rem * 1.25 = 1.125rem */
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #4A90E2;
    background: #FFFFFF;
}

.newsletter-input::placeholder {
    color: #ADB5BD;
}

.newsletter-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, #6C757D, #495057);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #495057, #343A40);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: #E9ECEF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6C757D;
    font-size: 1.25rem; /* 1rem * 1.25 = 1.25rem */
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: #4A90E2;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.25);
}

/* Footer Bottom */
.footer-bottom {
    background: #FFFFFF;
    padding: 25px 0;
    border-top: 1px solid #E9ECEF;
    width: 100%;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
    margin: 0;
}

.footer-powered, .footer-copyright, .footer-payment-icons {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0;
}

.footer-powered {
    color: #6C757D;
    font-size: 1.25rem; /* 1rem * 1.25 = 1.25rem */
    font-weight: 500;
}

.footer-copyright {
    color: #212529;
    font-size: 1.25rem; /* 1rem * 1.25 = 1.25rem */
    font-weight: 500;
}

.footer-payment-icons {
    gap: 15px;
}

.footer-payment-icons i {
    font-size: 2.25rem; /* 1.8rem * 1.25 = 2.25rem */
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #6C757D;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top-btn:hover {
    background: #4A90E2;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

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

@media (max-width: 768px) {
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF !important;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2.2rem !important;
    z-index: 997;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float-btn:hover {
    background: #20BA5A;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
    }
    
    .back-to-top-btn {
        bottom: 85px;
    }
}

@media (max-width: 991px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 25px;
    }

    .footer-about {
        padding-right: 0;
        margin-bottom: 35px;
    }

    .footer-section-title {
        font-size: 1.65rem; /* Increased for mobile - 1.3125rem * 1.25 = 1.640625rem (rounded to 1.65rem) */
        margin-bottom: 18px;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .footer-social {
        justify-content: center;
    }
}
