/* Footer Styles */
.site-footer {
    background-color: #fff;
    color: #000;
    padding: 4rem 2rem 2rem;
    font-family: var(--font-body);
    font-weight: 400;
    border-top: 1px solid #f0f0f0;
}

/* Newsletter Section */
.footer-newsletter {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.footer-newsletter h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.privacy-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.btn-signup {
    background: transparent;
    border: 1px solid #000;
    padding: 0.8rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-signup:hover {
    background: #000;
    color: #fff;
}

/* Middle Section: Socials, Go To, Legal */
.footer-middle {
    display: flex;
    justify-content: space-between;
    /* Space out the 3 blocks */
    align-items: flex-start;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    /* Responsive wrap */
    gap: 2rem;
    text-align: center;
    /* Default to center for mobile, override for desktop if needed */
}

/* Force specific alignment essentially like grid but flex */
.footer-middle>div {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #222;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s;
}

.social-icon:hover {
    border-color: #000;
    color: #000;
}

.goto-buttons {
    display: flex;
    gap: 1rem;
}

.btn-outline-sm {
    border: 1px solid #ccc;
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #444;
    border-radius: 4px;
}

.btn-outline-sm:hover {
    border-color: #000;
    color: #000;
}

.legal-section {
    align-items: flex-end !important;
    /* Push to right on desktop */
    justify-content: flex-start;
}

.lang-selector {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.lang-selector span {
    margin: 0 5px;
    cursor: pointer;
}

.legal-links {
    font-size: 0.75rem;
    color: #666;
}

.legal-links a {
    color: #666;
    margin: 0 5px;
}

/* Bottom Links Grid */
.footer-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid #f0f0f0;
    /* Slight separation if needed, not in image but clean */
    padding-top: 3rem;
}

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #222;
}

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

.footer-col ul li a {
    font-size: 0.9rem;
    color: #555;
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: #000;
}

/* Tablet/Mobile Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 3rem 2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }

    .legal-section {
        align-items: center !important;
        padding: 2rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem 1.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-section a {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .footer-middle {
        flex-direction: column;
        gap: 1.5rem;
    }

    .goto-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-outline-sm {
        width: 100%;
        display: block;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .legal-section {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .footer-section h3 {
        font-size: 0.9rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    .footer-section a {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .goto-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .btn-outline-sm {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding: 1rem;
        gap: 1rem;
    }

    .legal-section {
        padding: 1rem;
        font-size: 0.75rem;
    }
}