/* ====================================
   PREMIUM FOOTER STYLES
   ==================================== */

/* Premium Footer Background with Gradient */
.site-footer.custom-astra-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.site-footer.custom-astra-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.02) 35px, rgba(255,255,255,.02) 70px);
    pointer-events: none;
}

/* Top border accent */
.site-footer.custom-astra-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #63AB45, #85C765, #63AB45);
    box-shadow: 0 2px 15px rgba(99, 171, 69, 0.5);
}

/* Premium Section Headings */
.site-footer h3 {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin-bottom: 30px !important;
    padding-bottom: 15px !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.site-footer h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #63AB45, #85C765) !important;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(99, 171, 69, 0.5);
}

/* Premium Logo */
.footer-custom-logo img {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%) !important;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
}

.footer-custom-logo img:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 25px rgba(99, 171, 69, 0.3) !important;
}

/* Premium Site Title */
.footer-site-title {
    background: linear-gradient(135deg, #d4af37 0%, #f5d576 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Premium Social Icons */
.footer-socials a {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%) !important;
    border: 2px solid #444;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 40px !important;
    height: 40px !important;
}

.footer-socials a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 171, 69, 0.3), transparent);
    transition: left 0.5s ease;
}

.footer-socials a:hover::before {
    left: 100%;
}

.footer-socials a:hover {
    background: linear-gradient(135deg, #63AB45 0%, #85C765 100%) !important;
    border-color: #63AB45;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 171, 69, 0.4);
}

/* Premium Contact Icons */
.contact-icon {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%) !important;
    border: 2px solid #444;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-list li:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(99, 171, 69, 0.3);
    border-color: #63AB45;
}

.contact-list li:hover .contact-icon.icon-phone {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%) !important;
}

.contact-list li:hover .contact-icon.icon-email {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
}

.contact-list li:hover .contact-icon.icon-map {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

/* Premium Text */
.site-footer p,
.site-footer .contact-list li,
.license-info {
    color: #bbb !important;
    line-height: 1.8 !important;
}

/* Menu Links Premium */
.site-footer ul.menu li a {
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.site-footer ul.menu li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #63AB45;
}

.site-footer ul.menu li a:hover {
    color: #63AB45 !important;
    padding-left: 25px;
}

.site-footer ul.menu li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ====================================
   PREMIUM BACK TO TOP BUTTON
   ==================================== */

/* Target Astra's scroll button - ALWAYS VISIBLE WHEN SCROLLED */
#ast-scroll-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 96px !important;
    left: auto !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #63AB45 0%, #85C765 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 30px rgba(99, 171, 69, 0.5) !important;
    border: 3px solid rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 768px) {
    #ast-scroll-top {
        right: 96px !important;
        bottom: 24px !important;
    }
}

/* Icon styling */
#ast-scroll-top .ast-icon,
#ast-scroll-top svg,
#ast-scroll-top span {
    color: white !important;
    fill: white !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

/* Animated ring effect */
#ast-scroll-top::after {
    content: none !important;
    display: none !important;
}

@keyframes pulse-ring-astra {
    0% {
        transform: scale(0.85);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Shimmer effect overlay */
#ast-scroll-top::before {
    content: none !important;
    display: none !important;
}

/* Hover effects */
#ast-scroll-top:hover {
    transform: translateY(-8px) scale(1.1) !important;
    box-shadow: 0 20px 45px rgba(99, 171, 69, 0.7) !important;
    background: linear-gradient(135deg, #85C765 0%, #63AB45 100%) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Active/Click effect */
#ast-scroll-top:active {
    transform: translateY(-5px) scale(1.05) !important;
}

/* Override any left positioning */
#ast-scroll-top.ast-scroll-to-top-left {
    left: auto !important;
    right: 30px !important;
}

/* Ensure right positioning */
#ast-scroll-top.ast-scroll-to-top-right {
    right: 30px !important;
    left: auto !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #ast-scroll-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
    }
    
    #ast-scroll-top .ast-icon,
    #ast-scroll-top svg {
        font-size: 20px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    #ast-scroll-top {
        bottom: 25px !important;
        right: 25px !important;
    }
}
