@charset "UTF-8";

/* =============================================
   ESTIMATION IMMO LOCAL - FOOTER STYLES
   Site footer, widgets, bottom bar
============================================= */

/* ===========================================
   SITE FOOTER
============================================= */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-white);
}

/* ===========================================
   FOOTER MAIN
============================================= */
.footer-main {
    padding: 4rem 0 3rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
}

.footer__widget {
    margin-bottom: 0;
}

/* Footer Brand Widget */
.footer__brand {
    margin-bottom: 1.5rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.footer__logo-image {
    height: 48px;
    width: auto;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.footer__logo-tagline {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    opacity: 0.8;
}

.footer__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Footer Social */
.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ===========================================
   FOOTER WIDGET TITLES
============================================= */
.footer__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer__title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    position: absolute;
    bottom: -8px;
    left: 0;
}

/* ===========================================
   FOOTER LINKS
============================================= */
.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__links a::before {
    content: "";
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

.footer__links a:hover::before {
    width: 10px;
}

/* ===========================================
   FOOTER CONTACT
============================================= */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.footer__contact-icon {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    color: var(--color-accent);
    font-size: 1rem;
    margin-top: 0.125rem;
}

.footer__contact-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer__contact-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer__contact-text a:hover {
    color: var(--color-accent);
}

/* ===========================================
   FOOTER NEWSLETTER
============================================= */
.footer__newsletter {
    margin-top: 1rem;
}

.footer__newsletter-text {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.footer__newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.footer__newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    outline: none;
    transition: all var(--transition-fast);
}

.footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer__newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
}

.footer__newsletter-btn {
    padding: 0.75rem 1.25rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.footer__newsletter-btn:hover {
    background-color: var(--color-accent-dark);
}

/* ===========================================
   FOOTER BOTTOM BAR
============================================= */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    font-size: 0.875rem;
    opacity: 0.85;
}

.footer__copyright a {
    color: var(--color-accent);
    text-decoration: none;
}

.footer__copyright a:hover {
    text-decoration: underline;
}

/* Footer Bottom Links */
.footer-bottom__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom__links li {
    margin: 0;
}

.footer-bottom__links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom__links a:hover {
    color: var(--color-accent);
}

/* ===========================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__widget:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom__links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer__newsletter-form {
        flex-direction: column;
    }

    .footer__newsletter-btn {
        width: 100%;
    }
}

/* ===========================================
   SCROLL TO TOP
============================================= */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--color-accent-dark);
    box-shadow: 0 6px 16px rgba(201, 162, 77, 0.4);
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}
