/*
 * Footer Stylesheet
 * This file contains styles specifically for the website footer
 * Author: Performance Test Website
 * Date: 2026-03-30
 * Version: 1.0.0
 * 
 * This is another separate CSS file to increase the number of HTTP requests
 * and demonstrate performance issues with non-concatenated CSS files.
 */

/* ========================================================================
   FOOTER MAIN STYLES
   ======================================================================== */

.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #007bff, #6610f2, #e83e8c, #fd7e14);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================================================
   FOOTER CONTENT GRID
   ======================================================================== */

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

/* ========================================================================
   FOOTER LINKS
   ======================================================================== */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-item {
    margin-bottom: 0.75rem;
}

.footer-link {
    font-size: 0.95rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-link::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
}

/* ========================================================================
   SOCIAL MEDIA LINKS
   ======================================================================== */

.social-media-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-media-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #34495e;
    color: #ecf0f1;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-media-link:hover {
    background-color: #007bff;
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    text-decoration: none;
}

.social-media-link:active {
    transform: translateY(-1px) scale(1.05);
}

/* ========================================================================
   NEWSLETTER SIGNUP
   ======================================================================== */

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-input {
    padding: 0.75rem 1rem;
    border: 2px solid #34495e;
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: #34495e;
    color: #ffffff;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #95a5a6;
}

.newsletter-input:focus {
    outline: none;
    border-color: #007bff;
    background-color: #2c3e50;
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.newsletter-button:active {
    transform: translateY(0);
}

/* ========================================================================
   CONTACT INFORMATION
   ======================================================================== */

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #bdc3c7;
}

.contact-info-icon {
    font-size: 1.1rem;
    color: #007bff;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.contact-info-text {
    line-height: 1.6;
}

/* ========================================================================
   FOOTER BOTTOM
   ======================================================================== */

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 0.9rem;
    color: #95a5a6;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-link {
    font-size: 0.9rem;
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #ffffff;
    text-decoration: none;
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

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

@media screen and (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .social-media-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}
