footer {
    background-color: #000;
    background-image: url('../assets/footer_bg.webp');
    background-size: 800px;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    padding: 80px 5% 40px;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

/* Remove old individual decors as we use the full background now */
.footer-decor {
    display: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7); /* Adds contrast against the background image */
    padding: 40px;
    border-radius: 20px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    color: #fff;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-color, #E88D23); /* Using a more vibrant gold/yellow from spice image */
}

.footer-col p, .footer-col ul {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition, all 0.3s ease);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px !important;
}

.contact-info svg {
    flex-shrink: 0;
    margin-top: 5px;
    color: var(--accent-color, #e67e22);
}

.social-links {
    display: flex;
    flex-direction: column;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form p {
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px 15px;
    color: #fff;
    border-radius: 5px;
    flex: 1;
    font-family: inherit;
}

.newsletter-form button {
    background: var(--accent-color, #e67e22);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition, all 0.3s ease);
}

.newsletter-form button:hover {
    filter: brightness(1.1);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.back-to-top {
    background: #fff;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition, all 0.3s ease);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--accent-color, #e67e22);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 60px 25px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
        text-align: left;
    }

    .footer-col h3::after {
        left: 0;
        transform: none;
    }

    .footer-col ul li a {
        justify-content: flex-start;
    }

    .contact-info li {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-decor {
        display: none;
    }
}
