/* Custom Footer Styles - Blue & Gold Theme (Barrick Inspired) */

/* Override default footer colors to match blue & gold theme */
.site-footer {
    background: linear-gradient(135deg, #044a61 0%, #06607f 50%, #0983a8 100%);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 96, 127, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(9, 131, 168, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(8, 135, 181, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.site-footer__img {
    opacity: 0.05;
    mix-blend-mode: overlay;
}

.site-footer__top {
    background: rgba(4, 74, 97, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 96, 127, 0.2);
    border-radius: 20px 20px 0 0;
    margin: 20px 20px 0 20px;
    padding: 40px 60px;
    position: relative;
    z-index: 2;
}

.site-footer__middle {
    background: rgba(6, 96, 127, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(6, 96, 127, 0.3);
    margin: 0 20px;
    padding: 60px 40px 80px;
    position: relative;
    z-index: 2;
}

.site-footer__bottom {
    background: rgba(4, 74, 97, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 96, 127, 0.3);
    border-radius: 0 0 20px 20px;
    margin: 0 20px 20px 20px;
    padding: 32px 40px 34px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
}

/* Footer Widget Styling */
.footer-widget__title {
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-widget__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 2px;
}

.footer-widget__Contact-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-widget__Contact-list li {
    margin-bottom: 15px;
}

.footer-widget__Contact-list .icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.footer-widget__Contact-list .icon i {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
}

.footer-widget__Contact-list .text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.footer-widget__Contact-list .text a {
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-widget__Contact-list .text a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Footer Links */
.footer-widget__link-list li {
    margin-bottom: 12px;
}

.footer-widget__link-list a {
    color: #D4AF37;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}

.footer-widget__link-list a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #E5C65A;
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-widget__link-list a:hover {
    color: #ffffff;
    padding-left: 25px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-widget__link-list a:hover::before {
    color: #ffffff;
    transform: translateX(5px);
}

/* Social Media Icons - Enhanced for Facebook & Instagram */
.site-footer__social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.site-footer__social a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.site-footer__social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    transition: all 0.3s ease;
    z-index: -1;
}

.site-footer__social a:hover {
    color: #1a1a1a;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    border-color: #D4AF37;
}

.site-footer__social a:hover::before {
    left: 0;
}

/* Facebook Specific Hover */
.site-footer__social a i.fa-facebook-f {
    transition: all 0.3s ease;
}

/* Instagram Specific Hover - Gold Gradient */
.site-footer__social a:has(i.fa-instagram):hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.site-footer__social a:has(i.fa-instagram):hover::before {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

/* Newsletter Subscription */
.footer-widget__subscribe-text p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-widget__email-input-box input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 96, 127, 0.3);
    border-radius: 25px;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
}

.footer-widget__email-input-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-widget__email-input-box input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.footer-widget__subscribe-btn {
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border: none;
    border-radius: 25px;
    color: #1a1a1a;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.footer-widget__subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #B8961F, #D4AF37);
}

/* Footer Bottom */
.site-footer__bottom-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.site-footer__bottom-text a {
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.site-footer__bottom-text a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.site-footer__bottom-menu ul li {
    display: inline-block;
    margin: 0 15px;
}

.site-footer__bottom-menu a {
    color: #D4AF37;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.site-footer__bottom-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Gallery Section – title link and CTA */
.footer-widget__gallery .footer-widget__title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-widget__gallery .footer-widget__title a:hover {
    color: #E5C65A;
}
.footer-widget__gallery-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.footer-widget__gallery-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    color: #1a1a1a !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 16px;
}
.footer-widget__gallery-btn:hover {
    background: linear-gradient(135deg, #E5C65A, #D4AF37);
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.footer-widget__gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 96, 127, 0.2);
}

.footer-widget__gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.footer-widget__gallery-img img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.footer-widget__gallery-img a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-widget__gallery-img:hover a {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .site-footer__top,
    .site-footer__middle,
    .site-footer__bottom {
        margin: 0 15px;
    }
}

@media (max-width: 991px) {
    .site-footer__top {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .site-footer__middle {
        padding: 40px 20px 60px;
    }
    
    .site-footer__bottom {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .site-footer__top,
    .site-footer__middle,
    .site-footer__bottom {
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .site-footer__top {
        padding: 25px 15px;
    }
    
    .site-footer__middle {
        padding: 30px 15px 40px;
    }
    
    .site-footer__bottom {
        padding: 20px 15px;
    }
}

/* Animation Effects */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-footer__top,
.site-footer__middle,
.site-footer__bottom {
    animation: footerFadeIn 0.8s ease-out;
}

.site-footer__middle {
    animation-delay: 0.2s;
}

.site-footer__bottom {
    animation-delay: 0.4s;
}

/* ===== BRA Institutional Footer Brand ===== */
.footer-widget__logo .bra-brand-logo--footer {
    display: inline-flex;
    background: transparent;
    padding: 0;
    border-left: 2px solid #d4af37;
    padding-left: 14px;
}

.footer-widget__logo .bra-brand-logo--footer img {
    height: 56px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

@media (max-width: 767px) {
    .footer-widget__logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .footer-widget__logo .bra-brand-logo--footer img {
        height: 44px;
        max-width: 200px;
    }
}

/* Compact footer. At 100% zoom the old spacing filled almost a full laptop screen. */
.site-footer__top,
.site-footer__middle,
.site-footer__bottom {
    margin: 0;
    border-radius: 0;
    animation: none;
}

.site-footer__top {
    padding: 12px 28px;
}

.site-footer__middle {
    padding: 18px 28px 16px;
}

.site-footer__bottom {
    padding: 10px 28px;
}

.footer-widget__logo .bra-brand-logo--footer img {
    height: 44px;
    max-width: 210px;
}

.footer-widget__subscribe-text p {
    font-size: 15px;
    line-height: 1.3;
}

.footer-widget__email-input-box input[type="email"] {
    height: 40px;
    padding-left: 14px;
    padding-right: 14px;
}

.footer-widget__subscribe-btn {
    padding: 8px 16px;
}

.footer-widget__title-box {
    margin-bottom: 8px;
}

.footer-widget__title {
    font-size: 13px;
    margin-bottom: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-widget__title::after {
    bottom: -4px;
    width: 24px;
    height: 2px;
}

.footer-widget__Contact-text {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.footer-widget__Contact-list {
    padding-top: 2px;
}

.footer-widget__Contact-list li {
    margin-bottom: 6px;
    align-items: center;
}

.footer-widget__Contact-list .icon {
    width: 26px;
    height: 26px;
    margin-right: 8px;
    box-shadow: none;
}

.footer-widget__Contact-list .icon i,
.footer-widget__Contact-list .icon span {
    font-size: 12px;
}

.footer-widget__Contact-list .text p,
.footer-widget__Contact-list .text a {
    font-size: 13px;
}

.footer-widget__link-list li {
    margin-bottom: 0;
    line-height: 1.4;
}

.footer-widget__link-list li + li {
    margin-top: 3px;
}

.footer-widget__link-list a {
    font-size: 13.5px;
    line-height: 1.45;
    padding-left: 14px;
}

.footer-widget__link-list a::before {
    top: 2px;
    font-size: 8px;
}

.footer-widget__link-list a:hover {
    padding-left: 16px;
}

.site-footer__social {
    margin-top: 8px;
    gap: 8px;
}

.site-footer__social a {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-width: 1px;
    border-radius: 8px;
}

.footer-widget__gallery .footer-widget__title-box {
    margin-bottom: 8px;
}

.footer-widget__gallery-text {
    font-size: 13px;
    margin-bottom: 6px;
}

.footer-widget__gallery-btn {
    padding: 6px 12px;
    margin-bottom: 8px;
    font-size: 13px;
    border-radius: 6px;
}

.footer-widget__gallery-list li {
    margin-bottom: 6px;
}

.footer-widget__gallery-img {
    width: 64px;
    height: 46px;
}

.footer-widget__gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__bottom-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .site-footer__top,
    .site-footer__middle,
    .site-footer__bottom {
        margin: 0;
    }

    .site-footer__top {
        padding: 14px 16px;
    }

    .site-footer__middle {
        padding: 16px 16px 12px;
    }

    .site-footer__bottom {
        padding: 10px 16px;
    }

    .footer-widget__column {
        margin-bottom: 14px;
    }
}
