/* Footer Styles for NoCoolDowns Website */

.site-footer {
    background-color: var(--color-dark);
    color: var(--text-color);
    padding: 3rem 0 2rem 0;
    margin-top: auto;
    border-top: 1px solid var(--color-light);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-right: 0.75rem;
}

.footer-brand .footer-title {
    color: var(--highlight-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    font-family: 'Oxanium', sans-serif;
}

.footer-description {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-heading {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--highlight-color);
    opacity: 1;
    text-decoration: none;
}

.footer-link i {
    margin-right: 0.5rem;
    width: 16px;
}

/* Responsive Design */

/* Large screens (desktop) - 4 columns */
@media (min-width: 992px) {
    .site-footer .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .footer-section {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Medium screens (tablet) - 4 columns but with adjusted spacing */
@media (min-width: 768px) and (max-width: 991.98px) {
    .site-footer {
        padding: 2rem 0 1.5rem 0;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .site-footer .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .footer-section {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Small screens (mobile) - 2 columns */
@media (min-width: 576px) and (max-width: 767.98px) {
    .site-footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .site-footer .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .footer-section {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer-brand .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-logo-icon {
        font-size: 1.75rem;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
}

/* Extra small screens (mobile) - 2 columns stacked */
@media (max-width: 575.98px) {
    .site-footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .site-footer .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .footer-section {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 0.75rem;
    }
    
    .footer-brand .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-logo-icon {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
    
    .footer-heading {
        font-size: 0.95rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

/* Prevent horizontal scrolling on all mobile devices */
@media (max-width: 767.98px) {
    .site-footer {
        overflow-x: hidden;
    }
    
    .site-footer .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .site-footer .row {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    
    .footer-section {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

/* Responsive layout utilities */
.footer-section {
    box-sizing: border-box;
}

/* Ensure proper spacing between sections on all screen sizes */
@media (min-width: 768px) {
    .footer-section:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 1.5rem;
    }
    
    .footer-section:not(:first-child) {
        padding-left: 1.5rem;
    }
}

/* Mobile-specific adjustments for better readability */
@media (max-width: 767.98px) {
    .footer-section {
        border-right: none;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Add subtle separation between sections on mobile */
    .footer-section:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Ensure footer stays at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content-container {
    flex: 1;
}

/* Additional responsive utilities */
@media (max-width: 480px) {
    .site-footer {
        padding: 1rem 0 0.75rem 0;
    }
    
    .footer-section {
        margin-bottom: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .footer-brand .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-logo-icon {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
    
    .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
}