/* Footer Styles */
.page-footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 0;
    margin-top: 60px;
}

.footer-content-wrapper {
    width: 100%;
    padding: 50px 20px;
    background-color: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Footer Left - Distribution Section */
.footer-left {
    flex: 0 0 450px;
    min-width: 400px;
}

.footer-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.distribution-map {
    width: 100%;
    margin-top: 10px;
}

.map_wrapper {
    width: 100%;
}

/* Interactive Map Styles */
.map_box {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.map_aspect_ratio {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Maintain 1:1 aspect ratio */
}

.map_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map_render {
    width: 100%;
    height: 100%;
    position: relative;
}

.map_render.map_loading {
    background-color: #f5f5f5;
}

.map_render.map_loading:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ddd;
    border-top-color: #5ec89b;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.map_render svg {
    width: 100%;
    height: 100%;
    display: block;
}

.australia-map {
    width: 100%;
    height: auto;
    display: block;
    max-width: 450px;
}

/* Footer Columns - Product Lists */
.footer-columns {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

.footer-column-list li:before {
    content: '▸ ';
    color: #999;
    margin-right: 8px;
    font-size: 12px;
}

.footer-column-list a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-column-list a:hover {
    color: #333;
    padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    padding: 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    flex: 1;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.social-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.social-link.social-youtube svg polygon {
    fill: currentColor;
}

.social-link:hover {
    color: #333;
    transform: translateY(-2px);
}

.social-link.social-instagram:hover {
    color: #E4405F;
}

.social-link.social-facebook:hover {
    color: #1877F2;
}

.social-link.social-youtube:hover {
    color: #FF0000;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-content {
        gap: 40px;
    }

    .footer-columns {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content-wrapper {
        padding: 30px 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-left {
        flex: 1;
        width: 100%;
        min-width: 0;
    }
    
    .map_box {
        max-width: 100%;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content-wrapper {
        padding: 20px 10px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-column-title {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-column-list a {
        font-size: 13px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

