/* ===================================
   FOOTER STYLES
   =================================== */

/* Footer Top Section */
.footer-top {
    background: linear-gradient(135deg, var(--bright-yellow), var(--yellow));
    padding: 20px 0;
    text-align: center;
}

.footer-top h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-top p {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Newsletter Section in Footer */
.newsletter-section {
    background: var(--bright-yellow);
    padding: 40px 0;
    text-align: center;
}

.newsletter-section h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
}

.newsletter-section p {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Main Section */
.footer-main {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Proxima Nova', sans-serif;
}

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

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-transform: none !important;
    font-weight: normal !important;
}

.footer-section a[href*="foodbooking.com"] {
    text-transform: none !important;
    font-weight: normal !important;
    color: var(--white);
}

.footer-section .nav-link {
    text-transform: none !important;
    font-weight: normal !important;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--bright-yellow);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background-color: var(--bright-yellow);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-buttons .delivery-link,
.footer-buttons .social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-buttons .delivery-link:hover,
.footer-buttons .social-link:hover {
    background-color: var(--bright-yellow);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.footer-app-btn {
    background-color: var(--yellow);
    color: var(--primary-green);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-app-btn:hover {
    background-color: var(--white);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--white);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Frogbit Solutions link styling */
.footer-bottom a[href*="frogbit.dev"] {
    color: var(--bright-yellow) !important;
    text-decoration: none !important;
    font-weight: 600;
}

.footer-bottom a[href*="frogbit.dev"]:hover {
    color: var(--bright-yellow) !important;
    text-decoration: none !important;
}

.footer-links .separator {
    color: rgba(255,255,255,0.5);
    font-weight: 300;
}

/* Policy Footer (for legal pages) */
.policy-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.policy-footer p {
    margin: 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
}

/* Hide Elfsight branding */
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 .eapps-link,
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 .eapps-branding,
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 .eapps-instagram-feed-footer,
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 [data-eapps-branding],
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 a[href*="elfsight"],
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 a[href*="free"],
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 .eapps-instagram-feed-widget-footer,
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 .eapps-instagram-feed-widget-header,
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 .eapps-widget-footer,
.elfsight-app-e94eb2a8-b827-42e9-8ce6-ba1bd5f0fed5 .eapps-widget-header {
    display: none !important;
}

/* Desktop footer centering */
@media (min-width: 769px) {
    .footer-section {
        text-align: center;
    }
    
    .footer-section ul {
        display: block;
        text-align: center;
    }
    
    .footer-section .social-links {
        justify-content: center;
    }
    
    .footer-section .delivery-options {
        display: flex;
        justify-content: center;
    }
    
    .footer-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-buttons .delivery-link,
    .footer-buttons .social-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
        text-decoration: none;
        border-radius: 25px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .footer-buttons .delivery-link:hover,
    .footer-buttons .social-link:hover {
        background-color: var(--bright-yellow);
        color: var(--primary-green);
        transform: translateY(-2px);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-buttons .delivery-link,
    .footer-buttons .social-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
        text-decoration: none;
        border-radius: 25px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .footer-buttons .delivery-link:hover,
    .footer-buttons .social-link:hover {
        background-color: var(--bright-yellow);
        color: var(--primary-green);
        transform: translateY(-2px);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    /* Footer buttons mobile */
    .footer-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: center;
    }
    
    .footer-buttons .delivery-link,
    .footer-buttons .social-link {
        padding: 16px 24px !important;
        min-height: 48px !important;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}