/* ========================================
   STX POWERHOUSE - FOOTER STYLES
   Shared across all pages
   ======================================== */

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: #000000;
    color: #cccccc;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer .contact-item i {
    color: #d8a957;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.footer .contact-item strong {
    display: block;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.footer .contact-item p {
    line-height: 1.6;
    margin: 0;
}

.footer .contact-item a {
    color: #cccccc;
    transition: color 300ms ease-in-out;
    text-decoration: none;
}

.footer .contact-item a:hover {
    color: #d8a957;
}

.hours-list {
    line-height: 1.8;
}

.hours-note {
    display: block;
    margin-top: 0.75rem;
    font-style: italic;
    color: #d8a957;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #cccccc;
    transition: color 300ms ease-in-out;
    text-decoration: none;
}

.footer-links a:hover {
    color: #d8a957;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cccccc;
    font-weight: 500;
    transition: all 300ms ease-in-out;
    text-decoration: none;
}

.social-link:hover {
    color: #d8a957;
    transform: translateX(4px);
}

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

.footer-tagline {
    padding-top: 1rem;
    border-top: 1px solid #1a1a1a;
}

.footer-tagline p {
    margin-bottom: 0.5rem;
}

.footer-tagline strong {
    color: #d8a957;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.certifications {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #666666;
}

.certifications span:not(:last-child):not(:nth-child(even)) {
    font-weight: 600;
}

.copyright {
    text-align: center;
    font-size: 0.875rem;
    color: #666666;
}

.copyright p {
    margin: 0;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: #d8a957;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease-in-out;
    z-index: 300;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #b88f42;
    transform: translateY(-4px);
}

.back-to-top i {
    font-size: 1.25rem;
}

/* ========================================
   RESPONSIVE - FOOTER
   ======================================== */

/* Mobile */
@media (max-width: 767px) {
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
