﻿/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: linear-gradient(135deg, #751526 0%, #b61a2c 40%, #d0223c 70%, #751526 100%);
    color: white;
    padding: 50px 0 18px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* ── Shimmer gold top border ──────────────────────────────── */
.footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        #fff8e1 25%,
        var(--gold-light) 50%,
        #fff8e1 75%,
        var(--gold) 100%
    );
    background-size: 200% 100%;
    animation: goldShimmer 3s linear infinite;
    z-index: 2;
}

@keyframes goldShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ── Breathing radial glow ────────────────────────────────── */
.footer::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: glowBreathe 7s ease-in-out infinite;
}

@keyframes glowBreathe {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1;   transform: translateX(-50%) scale(1.25); }
}

/* ============================================================
   SCROLL REVEAL — columns
============================================================ */
.footer-col {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.footer-col.fc-visible { opacity: 1; transform: translateY(0); }

/* Staggered delay per column */
.footer-col:nth-child(1) { transition-delay: 0s;    }
.footer-col:nth-child(2) { transition-delay: 0.13s; }
.footer-col:nth-child(3) { transition-delay: 0.26s; }
.footer-col:nth-child(4) { transition-delay: 0.39s; }

/* ── Logo spacer ──────────────────────────────────────────── */
.footer-logo-spacer {
    height: 60px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}
@media (max-width: 991px) {
    .footer-logo-spacer { height: auto; margin-bottom: 15px; }
}

/* ============================================================
   FOOTER COLUMN TITLES
============================================================ */
.footer-title {
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transition: width 0s; /* reset — animated via JS reveal */
}
.footer-col.fc-visible .footer-title::after {
    animation: underlineGrow 0.55s ease forwards;
    animation-delay: 0.35s;
}
@keyframes underlineGrow {
    from { width: 0; }
    to   { width: 30px; }
}

/* ============================================================
   NAVIGATION LINKS
============================================================ */
.footer .list-unstyled { display: flex; flex-direction: column; gap: 8px; }
.footer .list-unstyled a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0;
    position: relative;
    padding-bottom: 2px;
    align-self: flex-start;
}

/* Underline sweep */
.footer .list-unstyled a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--gold-light);
    transition: width 0.3s ease;
}

/* Arrow icon — hidden until hover */
.footer .list-unstyled a::before {
    content: '›';
    font-size: 1rem;
    line-height: 1;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    color: var(--gold-light);
    margin-right: 0;
    display: inline-block;
    width: 0;
    overflow: hidden;
}
.footer .list-unstyled a:hover::before {
    opacity: 1;
    transform: translateX(0);
    width: 12px;
    margin-right: 4px;
}
.footer .list-unstyled a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}
.footer .list-unstyled a:hover::after { width: 100%; }

/* ============================================================
   CONTACT ITEMS
============================================================ */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    transition: color 0.25s ease;
}
.footer-contact-item:hover { color: rgba(255,255,255,1); }
.footer-contact-item i {
    color: var(--gold);
    font-size: 1rem;
    margin-right: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    transition: color 0.25s ease, transform 0.3s ease;
}
.footer-contact-item:hover i {
    color: var(--gold-light);
    animation: iconBounce 0.45s ease;
}
@keyframes iconBounce {
    0%   { transform: translateY(0)   rotate(0deg); }
    30%  { transform: translateY(-5px) rotate(-8deg); }
    60%  { transform: translateY(-2px) rotate(4deg); }
    100% { transform: translateY(0)   rotate(0deg); }
}

/* ============================================================
   OPENING HOURS
============================================================ */
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
}
.hours-row:last-child { border-bottom: none; }
.hours-row:hover {
    background: rgba(255,255,255,0.05);
    padding-left: 12px;
    color: rgba(255,255,255,1);
}

/* ============================================================
   FOOTER BOTTOM BAR
============================================================ */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 30px;
    padding-top: 18px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.55s, transform 0.5s ease 0.55s;
}
.footer-bottom.fc-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SOCIAL BUTTONS
============================================================ */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    transition: background 0.25s ease, color 0.25s ease,
                border-color 0.25s ease, transform 0.3s cubic-bezier(.34,1.56,.64,1),
                box-shadow 0.3s ease;
    animation: socialIdlePulse 4s ease-in-out infinite;
}
.social-btn:nth-child(2) { animation-delay: 1.3s; }
.social-btn:nth-child(3) { animation-delay: 2.6s; }

@keyframes socialIdlePulse {
    0%, 80%, 100% { box-shadow: 0 0 0 0   rgba(201,168,76,0);    }
    90%            { box-shadow: 0 0 0 5px rgba(201,168,76,0.18); }
}

.social-btn:hover {
    background: #f3f2ee;
    color: var(--bank-maroon);
    border-color: #ffffff;
    transform: scale(1.18) translateY(-3px);
    box-shadow: 0 10px 24px rgba(255,255,255,0.18);
    animation: none;
}

/* Ripple ring on hover */
.social-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0);
    transition: inset 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
    opacity: 0;
}
.social-btn:hover::after {
    inset: -6px;
    border-color: rgba(255,255,255,0.25);
    opacity: 1;
}

