/* Modern Footer Styles */
.footer-wrapper {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Img/Index/footer-pattern.svg') repeat;
    opacity: 0.05;
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Main Footer Content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Company Info Section */
.company-info {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 1rem 0;
    font-family: 'Playfair Display', serif;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Section Titles */
.footer-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-green);
    border-radius: 1px;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--accent-green);
}

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

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
}

.footer-nav a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    color: var(--accent-green);
}

.footer-nav a:hover {
    color: var(--accent-green);
    transform: translateX(10px);
}

.footer-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Media */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--accent-green);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(127, 176, 105, 0.4);
}

.social-link.line:hover {
    background: #00C300;
}

.social-link.facebook:hover {
    background: #1877F2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #F56040, #E1306C, #833AB4);
}

/* Google Map Link */
.google-map-link {
    margin-top: 1rem;
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-button:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 176, 105, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent-green);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .map-button {
        width: 100%;
        justify-content: center;
    }
}


/* Local Farmers Section Styles - 簡化版本 */
.footer-section.local-farmers {
    /* 繼承基本的 footer-section 樣式 */
}

.footer-section.local-farmers .footer-section-title {
    color: var(--white);
    position: relative;
}

.footer-section.local-farmers .footer-section-title::after {
    background: var(--accent-green);
}

.local-farmers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.local-farmers-list li {
    margin-bottom: 0.8rem;
}

.local-farmers-list li:last-child {
    margin-bottom: 0;
}

.local-farmers-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
    position: relative;
}

.local-farmers-list a:hover {
    color: var(--white);
    transform: translateX(10px);
}

/* Special styling for Coming Soon */
.local-farmers-list a.coming-soon {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    cursor: default;
}

.local-farmers-list a.coming-soon:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .local-farmers-list a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .local-farmers-list a:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .local-farmers-list a {
        font-size: 0.85rem;
    }
}

/* Special focus effect for accessibility */
.local-farmers-list a:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
    background: rgba(127, 176, 105, 0.1);
    border-radius: 4px;
}

/* Grid layout adjustment to accommodate the new section */
.footer-main {
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-section.local-farmers {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
}
