/* Premium Footer Styles for The Green Genie */

.premium-footer {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
    padding: 4rem 0 2rem 0;
    overflow: hidden;
    border-top: 3px solid #27ae60;
}

/* Background Pattern */
.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(39, 174, 96, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(46, 125, 50, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Brand Section */
.footer-brand {
    position: relative;
    z-index: 2;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.brand-name {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e8f5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.brand-tagline {
    color: #b8d4b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #e8f5e8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #27ae60;
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    margin-right: 12px;
    color: #27ae60;
    font-size: 0.9rem;
}

/* Footer Sections */
.footer-section {
    position: relative;
    z-index: 2;
}

.section-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: 1px;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    color: #e8f5e8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-list li:hover {
    color: #27ae60;
    transform: translateX(5px);
}

.service-list li i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 0.8rem;
    width: 16px;
    transition: all 0.3s ease;
}

.service-list li:hover i {
    transform: scale(1.2);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
    justify-content: center;
    justify-content: flex-start;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid rgba(39, 174, 96, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8f5e8;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    transition: left 0.4s ease;
}

.social-link:hover {
    border-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.social-link:hover::before {
    left: 0;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

/* Newsletter */
.newsletter {
    position: relative;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(39, 174, 96, 0.3);
    border-radius: 12px;
    color: #ffffff;
    padding: 12px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.newsletter-input::placeholder {
    color: #b8d4b8;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
    color: #ffffff;
}

.newsletter-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 12px 18px;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transition: left 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.newsletter-btn:hover::before {
    left: 0;
}

.newsletter-btn i {
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(39, 174, 96, 0.2);
    position: relative;
    z-index: 2;
}

.copyright {
    color: #b8d4b8;
    font-size: 0.9rem;
    margin: 0;
}

.copyright .highlight {
    color: #27ae60;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-links a {
    color: #e8f5e8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #27ae60;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #27ae60;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Decorative Elements */
.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.leaf {
    position: absolute;
    color: rgba(39, 174, 96, 0.1);
    font-size: 2rem;
    animation: leafFloat 6s ease-in-out infinite;
}

.leaf-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.leaf-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.leaf-3 {
    top: 80%;
    right: 5%;
    animation-delay: 4s;
    font-size: 1.2rem;
}

@keyframes leafFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.2;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-footer {
        padding: 3rem 0 1.5rem 0;
    }
    
    .brand-logo {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .leaf {
        display: none; /* Hide decorative elements on mobile for performance */
    }
}

@media (max-width: 576px) {
    .premium-footer {
        padding: 2.5rem 0 1rem 0;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .premium-footer {
        background: #f8f9fa !important;
        color: #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .footer-decoration,
    .leaf {
        display: none !important;
    }
    
    .social-links {
        display: none !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappPulse 3s infinite;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #25d366, #20bf5f, #128c7e);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #20bf5f 0%, #0f6b5c 100%);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(37, 211, 102, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.whatsapp-float:hover::before {
    opacity: 1;
}

.whatsapp-float i {
    position: relative;
    z-index: 2;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.2),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.2),
            0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.2),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp Button Breathing Effect */
@keyframes breathe {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.whatsapp-float:not(:hover) {
    animation: whatsappPulse 3s infinite, breathe 4s ease-in-out infinite;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 90px;
        right: 20px;
        font-size: 24px;
        border-width: 2px;
    }
}
