/**
 * Footer Widget Styles
 * PUIUX Maps Plugin
 */

/* Footer Base Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9c8e78, transparent);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Content Layout */
.footer-content-new {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Footer Columns */
.footer-col {
    position: relative;
}

.footer-col-logo {
    max-width: 350px;
}

/* Footer Logo */
.footer-logo-wrapper {
    margin-bottom: 30px;
}

.footer-logo-svg {
    display: inline-block;
}

.footer-logo-full {
    min-height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo-full:hover {
    transform: scale(1.05);
}

/* Footer Text */
.footer-text-new {
    font-size: 16px;
    line-height: 1.8;
    color: #b0b0b0;
    margin: 0;
    font-weight: 300;
}

/* Footer Titles */
.footer-title-new {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #9c8e78;
}

/* Footer Links */
.footer-links-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-new li {
    margin-bottom: 15px;
}

.footer-link-item {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-link-item:hover {
    color: #9c8e78;
    transform: translateX(5px);
}

.footer-link-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #9c8e78;
    transition: width 0.3s ease;
}

.footer-link-item:hover .footer-link-underline {
    width: 100%;
}

/* Service Links */
.footer-services-list .footer-link-item {
    justify-content: space-between;
}

.footer-link-dot {
    width: 6px;
    height: 6px;
    background: #9c8e78;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.footer-service-link:hover .footer-link-dot {
    transform: scale(1.5);
}

/* Contact Info */
.footer-contact-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-new li {
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: #9c8e78;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(156, 142, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: #9c8e78;
    font-size: 16px;
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.footer-contact-subtitle {
    font-size: 14px;
    color: #b0b0b0;
    margin: 0;
}

/* Newsletter Section */
.newsletter {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.newsletter h4 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.newsletter p {
    font-size: 16px;
    color: #b0b0b0;
    margin: 0;
}

/* Social Media */
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #9c8e78;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #9c8e78;
}

.social-link i {
    font-size: 18px;
}

/* Decorative Line */
.footer-decorative-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 142, 120, 0.3), transparent);
    margin-bottom: 30px;
}

/* Bottom Footer */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-left a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-left a:hover {
    color: #9c8e78;
}

.footer-bottom-left span {
    color: #666;
    font-size: 14px;
}

.footer-bottom-center {
    flex: 1;
    text-align: center;
}

.footer-bottom-center p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
}

.footer-logo-link {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 2.6rem !important;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 1;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content-new {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col-logo {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-left {
        order: 2;
    }
    
    .footer-bottom-center {
        order: 1;
    }
    
    .footer-logo-link {
        order: 3;
    }
    
    .whatsapp-btn {
        display: none;
    }
    
    .social-media {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer .container {
        padding: 0 15px;
    }
    
    .footer-title-new {
        font-size: 18px;
    }
    
    .footer-text-new {
        font-size: 14px;
    }
    
    .footer-link-item {
        font-size: 14px;
    }
    
    .newsletter h4 {
        font-size: 20px;
    }
    
    .newsletter p {
        font-size: 14px;
    }
    
    .footer-bottom-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom-left span {
        display: none;
    }
}

/* Animation Classes */
.footer {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer-link-item:hover {
        color: #ffffff;
    }
    
    .social-link:hover {
        background: #ffffff;
        color: #1a1a1a;
    }
    
    .whatsapp-btn {
        background: #ffffff;
        border: 2px solid #9c8e78;
    }
    
    .whatsapp-btn i {
        color: #9c8e78;
    }
}
