/* ================================================
   GOLED Footer Styles
   Clean, responsive, with light/dark theme support
   ================================================ */

/* Mobile Large - 2 columns */

/* Mobile Small - 1 column */

/* Reduce motion for accessibility */

.goled-footer {
    position: relative;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

/* Ambient Glow Animation */
.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-color) 20%,
            #ffcc00 50%,
            var(--primary-color) 80%,
            transparent 100%);
    opacity: var(--footer-glow-opacity);
    animation: footer-glow-pulse 3s ease-in-out infinite;
}

.footer-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    height: 60px;
    background: var(--footer-glow-after-gradient);
    filter: blur(20px);
    animation: footer-glow-pulse 3s ease-in-out infinite;
}

@keyframes footer-glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(0.9);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

/* Footer Container */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 30px;
}

/* Footer Grid - 4 columns on desktop */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-brand {
    padding-right: 20px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    transform: scale(1.05);
}

/* Logo visibility based on theme */
.footer-logo.logo-light {
    display: var(--footer-logo-light-display);
}

.footer-logo.logo-dark {
    display: var(--footer-logo-dark-display);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(254, 185, 0, 0.2);
}

.social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

i.fab.fa-whatsapp {
    font-size: 1.22rem;
}

.social-link i {
    font-size: 1.1rem;
}

.social-facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877f2;
}

.social-facebook:hover i {
    color: #1877f2;
}

.social-whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
}

.social-whatsapp:hover i {
    color: #25d366;
}

/* Footer Headings */
.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    margin-top: 3px;
}

.footer-contact-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--primary-color);
}

/* Payment Methods */
.footer-payments {
    display: flex;
    justify-content: center;
    padding: 25px 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--footer-payments-shadow);
}

.footer-payments img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.payments-mobile {
    display: none;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ===========================================
   RESPONSIVE BREAKPOINTS
   =========================================== */

@media (max-width: 992px) {
    .footer-container {
        padding: 50px 30px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 30px;
        padding-right: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 10px;
    }

    .footer-logo-link {
        margin-bottom: 0;
    }

    .footer-logo {
        max-width: 120px;
        width: 120px;
    }

    .footer-tagline {
        margin-bottom: 0;
    }

    .footer-social {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-tagline {
        margin-bottom: 10px;
    }

    .footer-social {
        margin-left: 0;
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col {
        text-align: center;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .footer-payments {
        padding: 20px;
    }

    .payments-desktop {
        display: none;
    }

    .payments-mobile {
        display: block;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-brand {
        margin-bottom: 0;
    }

    .footer-glow {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .footer-glow,
    .footer-glow::after {
        animation: none;
    }

    .social-link:hover,
    .footer-links a:hover {
        transform: none;
    }
}