/* === FOWLER MEAT & FISH FOOTER STYLES === */

/* Site Footer Base Styles */
.site-footer {
    margin-top: 2rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    background-color: #fff;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Map Section Styles */
.delivery-map-section {
    background: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.delivery-map-section h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #00a04a;
    font-size: 1.5rem;
    font-weight: 600;
}

.delivery-map-section p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

#delivery-map {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    border: 1px solid #eaeaea;
}

.delivery-check {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    gap: 0.5rem;
}

#address-check {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.delivery-btn {
    background: #00a04a;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-btn:hover {
    background: #008a3f;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.delivery-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    text-align: left;
    max-width: 250px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

.info-box i {
    font-size: 1.2rem;
    color: #00a04a;
    background: rgba(0,160,74,0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-box h4 {
    margin: 0 0 0.3rem 0;
    font-size: 0.95rem;
    color: #333;
}

.info-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Main Footer Section */
.footer-main {
    padding: 3rem 0;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* === Footer Column Redefinition === */
.footer-col h3 {
    color: #00a04a;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.45rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2px;
    background: currentColor;
}

.footer-col p {
    margin: 0 0 0.8rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    position: relative;
    padding-left: 0;
}

.footer-col ul li a:hover {
    color: #00a04a;
    padding-left: 5px;
}

/* === Store marker & radius label styling === */
.store-icon .store-marker {
    width: 34px;
    height: 34px;
    background: #fff;
    border: 3px solid #d62329;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d62329;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.radius-label-container {
    font-weight: 600;
    color: #00a04a;
    background: rgba(255,255,255,0.85);
    border: 1px solid #00a04a;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

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

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.contact-info i {
    color: #00a04a;
    font-size: 1rem;
    margin-top: 0.2rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #555;
    transition: all 0.2s;
}

.social-icons a:hover {
    background-color: #00a04a;
    color: white;
    transform: translateY(-3px);
}

/* Newsletter Form */
.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: #00a04a;
    color: white;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-form button:hover {
    background-color: #008a3f;
}

/* Copyright Section */
.footer-bottom {
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .delivery-info {
        flex-direction: column;
        align-items: center;
    }
    
    .info-box {
        max-width: 100%;
        width: 100%;
    }
    
    #delivery-map {
        height: 250px;
    }
    
    .delivery-check {
        flex-direction: column;
    }
    
    .delivery-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col {
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* Leaflet Map Customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
    margin: 0.7rem 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

.leaflet-container a.leaflet-popup-close-button {
    color: #666;
}

.leaflet-control-attribution {
    font-size: 0.7rem;
}

/* Map directions button */
.map-directions-btn {
    display: inline-block;
    background: #00a04a;
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.map-directions-btn:hover {
    background: #008a3f;
}
