/**
 * Footer Styles
 * 
 * Centralized footer CSS for consistent styling across all pages
 * Extracted from style.css to prevent individual page overrides
 *
 * @package TravelSuggest
 * @since 1.0.0
 */

/* ========================================
   BASE FOOTER STYLES
   ======================================== */

.site-footer {
    background: transparent;
    color: #6b7280;
    border-top: none;
    padding: 0;
    box-shadow: none;
    margin-top: var(--spacing-xl, 3rem);
}

/* Footer Widgets Section */
.footer-widgets {
    /* Background color controlled by Customizer */
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets-inner {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--spacing-lg, 2rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-widget-column {
    /* Color controlled by Customizer */
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white, #ffffff);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-logo a:hover {
    color: var(--color-secondary, #f8961e);
}

.footer-widget {
    margin-bottom: 1.5rem;
}

.footer-widget:last-child {
    margin-bottom: 0;
}

.footer-widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    /* Color controlled by Customizer */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-secondary, #f8961e);
}

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

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

.footer-widget ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
    /* Color controlled by Customizer */
}

.footer-widget ul li a:hover {
    color: var(--color-secondary, #f8961e);
}

.footer-widget p {
    line-height: 1.6;
    /* Color controlled by Customizer */
}

/* Footer Widget - Comparison Widget Overrides */
.footer-widget .ts-popular-comparisons-widget li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.footer-widget .ts-popular-comparisons-widget li a:hover,
.footer-widget .ts-popular-comparisons-widget li a:focus {
    color: var(--color-secondary, #f8961e) !important;
}

.footer-widget .ts-popular-comparisons-cta {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: var(--color-secondary, #f8961e);
    color: #fff !important;
}

.footer-widget .ts-popular-comparisons-cta:hover {
    background: #cc7a00 !important;
    border-color: #cc7a00 !important;
    color: #fff !important;
}

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

.footer-bottom {
    /* Background color controlled by Customizer */
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom-inner {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--spacing-lg, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm, 1rem);
}

.footer-content {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--spacing-lg, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm, 1rem);
    font-size: 0.875rem;
}

.footer-content p {
    margin: 0;
}

.footer-content a {
    /* Color controlled by Customizer via .footer-bottom */
    text-decoration: none;
}

.footer-content a:hover,
.footer-content a:focus {
    color: var(--color-secondary, #f8961e);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Footer Navigation */
.footer-nav {
    margin: 0;
}

.footer-menu {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    /* Color controlled by Customizer via .footer-bottom */
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--color-secondary, #f8961e);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-left .footer-brand a {
    /* Color controlled by Customizer via .footer-bottom */
    text-decoration: none;
}

.footer-left .footer-brand a:hover {
    color: var(--color-secondary, #f8961e);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .footer-widgets-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner,
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-menu {
        flex-direction: column;
        gap: 8px;
    }

    .footer-widgets {
        padding: 2rem 0 1.5rem;
    }

    .footer-widgets-inner {
        padding: 0 1rem;
        gap: 1.5rem;
    }
}

