/* 1. VARIABLES 
   (Adjust these colors to match your brand if they aren't already in your theme) 
-------------------------------------------------------------- */
:root {
    --gold: #d4af37;
    --gold-bright: #f1c40f;
    --black: #0a0a0a;
    --black-light: #151515;
    --white: #ffffff;
    --gray-light: #a5a5a5;
    --gray-dark: #333333;
    --transition-fast: all 0.3s ease;
    --neon-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* 2. FOOTER GENERAL STYLES 
-------------------------------------------------------------- */
footer {
    padding: 80px 0 40px;
    background: var(--black-light);
    border-top: 1px solid var(--gray-dark);
    color: var(--white);
    font-family: inherit;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand h3 span {
    color: var(--gold);
    text-shadow: var(--neon-shadow);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--gray-light);
}

/* 3. SOCIAL ICONS 
-------------------------------------------------------------- */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
    border-radius: 4px; /* Slight roundness for elegance */
}

/* Update the hover state */
.onlinetist-fab:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
}

.onlinetist-fab:hover svg {
    fill: var(--white) !important; /* Makes FAB icon white on hover */
}

/* Add specific glows for each button */
.whatsapp-float:hover {
    box-shadow: 0 0 25px #25d366; /* Green Glow */
}

.phone-float:hover {
    box-shadow: 0 0 25px var(--gold); /* Gold Glow */
}

/* 4. FOOTER NAVIGATION 
-------------------------------------------------------------- */
.footer-column h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--gold);
    padding-left: 5px;
}

/* 5. FOOTER BOTTOM 
-------------------------------------------------------------- */
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-light);
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
}

/* 6. FLOATING ACTION BUTTONS (FAB)
-------------------------------------------------------------- */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.onlinetist-fab {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-fast);
}

.onlinetist-fab svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.whatsapp-float {
    background-color: #25d366;
}
.phone-float {
  display: none; /* Hidden on desktop by default */
  background-color: #007BFF;
  right: 25px; /* This positions it on the right for desktop */
  bottom: 25px;
}
.phone-float {
    background-color: var(--gold);
}

.onlinetist-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* 1. The Pulse Animation */
@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 2. Apply Animation to Buttons */
.phone-float {
    animation: ctaPulse 2s infinite;
}

.whatsapp-float {
    animation: whatsappPulse 2s infinite;
}

/* 3. Intense Glow on Hover */
.onlinetist-fab:hover {
    animation: none; /* Stops pulse to show solid glow */
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}
/* 7. RESPONSIVE DESIGN (Media Queries)
-------------------------------------------------------------- */

/* Tablet View */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px;
        text-align: center;
    }
    .phone-float {
    display: flex;
  }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .onlinetist-fab {
        width: 50px;
        height: 50px;
    }
}