/* Base Styles */
:root {
    --foot-primary-color: #ffffff;
    --foot-primary-light: #f5f5f5;
    --foot-primary-dark: #333333;
    --foot-secondary-color: #f5f5f5;
    --foot-text-light: #333333;
    --foot-text-dark: #333333;
    --foot-primary: #ffcf3f;
    --foot-primary-hover: #FAFAD2;
    --foot-border: #d3d3d3;
    --foot-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --foot-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

main {
    flex-grow: 1;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(180deg, var(--foot-primary) 0%, #ffffff 100%);
    color: var(--foot-text-light);
    padding: 2rem 1rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-top: auto;
    width: 100%;
    box-shadow: var(--foot-shadow);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.footer-section {
    flex: 1;
    min-width: 0;
    padding: 0 1.5rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.footer-section:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.footer-section:last-child::after {
    display: none;
}

.map-section {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.20rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foot-text-dark);
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--foot-transition);
    text-decoration: none;
}

.footer-section h3:hover {
    color: inherit;
    text-decoration: none;
}

.footer-section p,
.footer-section a {
    font-size: 1.0rem;
    color: var(--foot-text-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
    transition: var(--foot-transition);
}

.footer-section a:hover {
    text-decoration: underline;
    text-decoration-color: black;
    color: inherit;
}

.footer-section .material-icons {
    vertical-align: middle;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    text-decoration: none !important;
}

/* Map Styles */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    background-color: var(--foot-primary-color);
    max-width: 100%;
    width: 100%;
    transition: var(--foot-transition);
}

.map-container:hover {
    transform: translateY(-2px);
}

.map-container iframe {
    border: none;
    width: 100%;
    height: 250px;
    border-radius: 8px;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--foot-primary-dark);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: var(--foot-transition), transform 0.2s ease;
    z-index: 1000;
    display: none;
}

#scrollTopBtn:hover {
    background-color: #555555;
    transform: scale(1.15) rotate(5deg);
}

#scrollTopBtn .material-icons {
    font-size: 22px;
    text-decoration: none !important;
}

/* Footer Bottom */
.php-footer-bottom {
    margin-top: 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    opacity: 0.9;
    color: var(--foot-text-light);
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--foot-transition);
}

.social-link:hover {
    text-decoration: underline;
    text-decoration-color: black;
    color: inherit;
}

.php-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.php-social-link:hover {
    color: #25D366;
    transform: translateY(-2px);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: var(--foot-transition);
}

.whatsapp-link:hover {
    text-decoration: underline;
    text-decoration-color: black;
    color: inherit;
}

.php-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.php-whatsapp-link:hover {
    color: #128C7E;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 1rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-section:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -0.75rem;
        left: 10%;
        width: 80%;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .footer-section {
        padding: 0 1rem;
    }

    .map-section {
        flex: 1;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .map-container iframe {
        height: 200px;
    }

    .php-footer-bottom {
        font-size: 0.95rem;
        font-weight: bold;
    }

    #scrollTopBtn {
        bottom: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }

    #scrollTopBtn .material-icons {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1rem 0.75rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
    }

    .map-container iframe {
        height: 150px;
    }

    .php-footer-bottom {
        font-size: 0.9rem;
        font-weight: bold;
    }

    #scrollTopBtn {
        width: 32px;
        height: 32px;
    }

    #scrollTopBtn .material-icons {
        font-size: 18px;
    }
}