/* ==========================================================================
   FOOTER.CSS
   Footer Layout, Brand Widget, Links, Newsletter, and Bottom Bar
   ========================================================================== */

/* Main Footer Container */
.site-footer { 
    background-color: #0b0f14; 
    color: #a3a3a3; 
    padding: 4rem 0 2rem; 
    margin-top: 4rem; 
}

/* Footer Widget Grid Layout */
.footer-widgets { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 3rem; 
    margin-bottom: 3rem; 
}

.footer-widget-title { 
    color: #fff; 
    font-family: 'Aleo', serif !important; 
    font-size: 15px !important; 
    font-weight: 800 !important; 
    margin-bottom: 1.5rem; 
    letter-spacing: 0.5px; 
    text-transform: uppercase; 
}

/* Brand Bio & Extensions */
.footer-text { 
    font-family: 'Roboto', sans-serif !important; 
    font-size: 14px !important; 
    font-weight: 400 !important; 
    line-height: 1.8; 
    color: #e0e0e0; 
    margin-bottom: 1rem; 
}

.footer-bio { 
    font-family: 'Aleo', serif !important; 
    font-size: 14px !important; 
    font-weight: 800 !important; 
}

.footer-extensions-wrap {
    margin-top: 1.5rem;
}

.footer-ext-title {
    display: block;
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.footer-ext-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ext-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #1a1f24;
    color: #fff;
    border: 1px solid #2a2e33;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.ext-badge-btn:hover {
    background-color: #2a2e33;
    border-color: var(--color-orange);
    color: #fff;
}

/* Navigation Links */
.footer-links { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
}

.footer-links a { 
    color: #fff; 
    font-family: 'Roboto', sans-serif !important; 
    font-size: 14px !important; 
    font-weight: 400 !important; 
    transition: color 0.2s ease; 
}

.footer-links a:hover { 
    color: var(--color-orange); 
}

/* Newsletter Subscription Form */
.newsletter-form { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
}

.newsletter-intro { 
    font-family: 'Roboto', sans-serif !important; 
    font-size: 14px !important; 
    font-weight: 400 !important; 
    color: #e0e0e0; 
    margin-bottom: 0.5rem; 
    line-height: 1.5; 
}

.newsletter-input-group { 
    display: flex; 
    width: 100%; 
}

.newsletter-input-group input { 
    flex: 1; 
    padding: 0.85rem 1rem; 
    background-color: #1a1f24; 
    border: 1px solid #2a2e33; 
    color: #fff; 
    font-family: var(--font-meta); 
    border-radius: 4px 0 0 4px; 
    outline: none; 
}

.newsletter-input-group input::placeholder { 
    color: #888; 
}

.newsletter-input-group button { 
    background-color: var(--color-orange); 
    color: #fff; 
    border: none; 
    padding: 0 1.5rem; 
    font-weight: bold; 
    font-size: 0.9rem; 
    cursor: pointer; 
    font-family: var(--font-meta); 
    text-transform: uppercase; 
    border-radius: 0 4px 4px 0; 
    transition: background 0.2s; 
}

.newsletter-input-group button:hover { 
    background-color: #e68a1d; 
}

.terms-wrapper { 
    display: flex; 
    align-items: flex-start; 
    gap: 0.5rem; 
    font-family: var(--font-meta); 
    font-weight: 400; 
    font-size: 0.85rem; 
    color: #e0e0e0; 
    margin-top: 0.25rem; 
}

.terms-wrapper input[type="checkbox"] { 
    margin-top: 4px; 
}

/* Footer Bottom Bar & Copyright */
.footer-bottom { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    padding-top: 2rem; 
    font-family: 'Roboto', sans-serif !important; 
    font-size: 14px !important; 
    font-weight: 400 !important; 
}

.footer-brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
}

.footer-logo-title {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

.footer-logo-subtitle {
    font-family: var(--font-meta);
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: #a3a3a3;
    margin-top: 2px;
}

/* Fallback Logo */
.footer-logo { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    font-family: var(--font-sans); 
    font-weight: 700; 
    font-size: 1.6rem; 
    color: #fff; 
    text-transform: uppercase; 
    text-decoration: none; 
}

.footer-logo-icon { 
    color: var(--color-orange); 
    font-size: 1.8rem; 
    line-height: 1; 
}

.footer-logo-sub { 
    font-family: var(--font-meta); 
    font-size: 0.55rem; 
    letter-spacing: 3px; 
    color: #a3a3a3; 
    margin-top: 2px; 
    text-transform: uppercase; 
}

.footer-social { 
    display: flex; 
    align-items: center; 
    gap: 1.25rem; 
    color: #fff; 
    font-family: var(--font-meta); 
    font-weight: bold; 
    text-transform: uppercase; 
}

.footer-social-text { 
    font-family: 'Roboto', sans-serif !important; 
    font-size: 14px !important; 
    font-weight: 400 !important; 
}

.footer-social-icons { 
    display: flex; 
    gap: 1rem; 
    font-size: 1.2rem; 
    color: #fff; 
}

.footer-social-icons a { 
    color: inherit; 
    text-decoration: none; 
    transition: color 0.2s; 
}

.footer-social-icons a:hover { 
    color: var(--color-orange); 
}

/* Desktop Multi-column Layout (min-width: 992px) */
@media (min-width: 992px) {
    .footer-widgets { 
        grid-template-columns: 1.5fr 1fr 1fr 2fr; 
        gap: 2rem; 
    }
    
    .footer-bottom { 
        flex-direction: row; 
    }
}
/* ==========================================================================
   Back To Top Button (Screenshot Match)
   ========================================================================== */
.af-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.2s, opacity 0.3s ease, visibility 0.3s ease;
}

.af-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.af-scroll-top:hover {
    background-color: var(--color-logo-pink);
    color: #fff;
}

[data-theme="dark"] .af-scroll-top {
    background-color: #fff;
    color: #000;
}

[data-theme="dark"] .af-scroll-top:hover {
    background-color: var(--color-logo-pink);
    color: #fff;
}