/* Footer base styles */
.site-footer {
    background-color: var(--bs-body-tertiary-bg, #f8f9fa);
    color: var(--bs-body-color, #212529);
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

/* Links */
.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover {
    color: var(--bs-primary, #0d6efd);
    text-decoration: none;
}

.site-footer a.text-decoration-underline:hover {
    text-decoration: underline;
}

/* Social media icons */
.social-icon-btn {
    width: 32px; 
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary, #6c757d);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-btn:hover {
    color: #fff;
    background-color: var(--bs-primary, #0d6efd);
    transform: translateY(-3px);
}

/* Footer icon box */
.footer-icon-box {
    width: 35px;
    height: 35px;
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-body-bg, #fff);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover .footer-icon-box {
    transform: scale(1.1);
}

/* Link animations */
.transition-link {
    transition: all 0.2s ease;
    display: inline-block;
}

.transition-link:hover {
    padding-left: 5px;
    color: var(--bs-primary, #0d6efd) !important;
}

/* Map and cards */
.map-card, .contact-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
    background-color: var(--bs-card-bg, #fff);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card:hover, .contact-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.map-container {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.map-card:hover .map-container {
    filter: grayscale(0%);
}

/* Copyright area */
.copyright-section {
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    color: var(--bs-secondary-color, #6c757d);
}

/* Dark mode support */
[data-bs-theme="dark"] .site-footer,
body.dark-mode .site-footer {
    background-color: #1a1d20;
    color: #e9ecef;
    border-top-color: #2c3034;
}

[data-bs-theme="dark"] .map-card,
[data-bs-theme="dark"] .contact-card,
body.dark-mode .map-card,
body.dark-mode .contact-card {
    background-color: #212529;
    border-color: #373b3e !important;
}

[data-bs-theme="dark"] .footer-icon-box,
body.dark-mode .footer-icon-box {
    background-color: #2c3034;
}

[data-bs-theme="dark"] .social-icon-btn,
body.dark-mode .social-icon-btn {
    background-color: #2c3034;
    color: #adb5bd;
}

/* Site title wordmark in footer */
.site-footer .brand-text-gothic {
    font-family: 'Marcellus', serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.1 !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-decoration: none !important;
}

[data-bs-theme="dark"] .site-footer .brand-text-gothic,
body.dark-mode .site-footer .brand-text-gothic {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
