@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

.site-footer {
    --footer-bg: #eee6d9;
    --footer-bg-soft: #fffaf2;
    --footer-bg-muted: #e4dacb;
    --footer-text: #2b2620;
    --footer-muted: #5c5044;
    --footer-border: rgba(66, 54, 43, 0.16);
    --footer-accent: #5b6f57;
    --footer-accent-warm: #8a5f3d;
    --footer-shadow: 0 18px 46px rgba(54, 43, 31, 0.08);
    margin-top: clamp(24px, 4vw, 40px);
    padding-top: clamp(24px, 3.5vw, 42px) !important;
    padding-bottom: clamp(28px, 4vw, 42px) !important;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(238, 230, 217, 0.98)),
        var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
}

[data-bs-theme="dark"] .site-footer,
body.dark-mode .site-footer {
    --footer-bg: #201c18;
    --footer-bg-soft: #29231d;
    --footer-bg-muted: #332a22;
    --footer-text: #f7f3ec;
    --footer-muted: #d0c2b2;
    --footer-border: rgba(255, 253, 248, 0.13);
    --footer-accent: #d8b58d;
    --footer-accent-warm: #d8b58d;
    --footer-shadow: none;
    background:
        linear-gradient(180deg, rgba(36, 31, 26, 0.98), rgba(28, 24, 20, 0.99)),
        var(--footer-bg);
}

.site-footer a {
    color: var(--footer-text);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--footer-accent);
}

.site-footer .brand-text-gothic {
    font-family: "Marcellus", Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
    color: var(--footer-text) !important;
    -webkit-text-fill-color: var(--footer-text) !important;
}

.site-footer p,
.site-footer .opacity-75 {
    color: var(--footer-muted);
}

.site-footer-main {
    border-bottom: none;
}

.footer-col {
    padding: 4px;
}

.site-footer h5,
.footer-heading {
    color: var(--footer-text);
    font-family: "Manrope", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer h5 i,
.footer-heading i {
    color: var(--footer-accent) !important;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--footer-muted);
}

.footer-feed-link {
    color: var(--footer-muted);
    font-weight: 500;
    transition: color 0.25 ease, transform 0.2s ease;
}

.footer-feed-link:hover,
.footer-feed-link:focus-visible {
    color: var(--footer-accent);
    transform: translateY(-1px);
}

.footer-menu-list li {
    margin-bottom: 0.5rem;
}

.footer-menu-list a {
    color: var(--footer-text);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-menu-list a:hover,
.footer-menu-list a:focus-visible {
    color: var(--footer-accent);
    transform: translateX(4px);
}

[dir="rtl"] .footer-menu-list a:hover,
[dir="rtl"] .footer-menu-list a:focus-visible {
    transform: translateX(-4px);
}

.footer-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--footer-border);
    border-radius: 50%;
    background: var(--footer-bg-muted);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-icon-box i {
    color: var(--footer-accent) !important;
}

.footer-contact-list li:hover .footer-icon-box {
    background: var(--footer-accent);
    border-color: var(--footer-accent);
    transform: scale(1.08);
}

.footer-contact-list li:hover .footer-icon-box i {
    color: var(--footer-bg-soft) !important;
}

.footer-contact-link {
    color: var(--footer-text);
    font-size: 0.92rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
    color: var(--footer-accent);
    transform: translateX(3px);
}

.footer-address-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--footer-muted);
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--footer-border) !important;
    background: var(--footer-bg-muted) !important;
    color: var(--footer-text) !important;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon-btn:hover,
.social-icon-btn:focus-visible {
    background: var(--footer-accent) !important;
    border-color: var(--footer-accent) !important;
    color: var(--footer-bg-soft) !important;
    transform: translateY(-3px) scale(1.08);
}

.footer-map-wrapper {
    background: var(--footer-bg-soft);
    border-color: var(--footer-border) !important;
}

.map-container {
    overflow: hidden;
    border: 1px solid var(--footer-border) !important;
    border-radius: 8px !important;
    filter: grayscale(0.16) contrast(0.98) saturate(0.92);
}

.site-sub-footer {
    border-top: 1px solid var(--footer-border);
    color: var(--footer-muted);
    font-size: 0.85rem;
}

.producer-link {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.producer-link:hover,
.producer-link:focus-visible {
    opacity: 1;
    transform: translateY(-1px);
}

.version-badge {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

[data-bs-theme="dark"] .social-icon-btn:hover,
[data-bs-theme="dark"] .social-icon-btn:focus-visible,
body.dark-mode .social-icon-btn:hover,
body.dark-mode .social-icon-btn:focus-visible {
    color: #201c18 !important;
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .site-footer-main {
        border-bottom: none;
    }

    .footer-col {
        padding: 4px 0;
    }

    .site-sub-footer {
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .site-footer .site-frame {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Premium Brand Font & Colors for Business in Footer */
.brand-text-footer {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    font-size: 1.05rem !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-learn {
    color: #2563eb !important; /* Premium Modern Blue */
    transition: color 0.3s ease;
}

.brand-ly {
    color: #10b981 !important; /* Premium Emerald/Green */
    transition: color 0.3s ease;
}

/* Micro-animations on hover */
.site-footer a:hover .brand-text-footer {
    transform: scale(1.05);
}

.site-footer a:hover .brand-learn {
    color: #1d4ed8 !important;
}

.site-footer a:hover .brand-ly {
    color: #059669 !important;
}

/* UI/UX Improvements for Footer Brand Icon & Title */
.footer-brand-title {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.footer-logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--footer-bg-soft);
    border: 1px solid var(--footer-border);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.footer-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.footer-brand-title:hover .footer-logo-wrapper {
    transform: translateY(-2px) scale(1.08) rotate(-2deg);
    border-color: var(--footer-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
