/* ADA Accessible Footer Styles */
/* Version 1.0 - Redwood Communication */

/* CSS Variables - Match Redwood branding */
:root {
    --forest-green: #0B2B26;
    --primary-tan: #FAF3DD;
    --burgundy: #0B2B26;
    --warm-cream: #FFF8DC;
    --light-tan: #FFF9EC;
}

/* ADA Footer */
.ada-footer {
    background: linear-gradient(135deg, var(--forest-green) 0%, #164039 100%);
    color: var(--primary-tan);
    padding: 2rem 0 1rem 0;
    margin-top: 0;
    font-family: 'Open Sans', sans-serif;
}

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

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

.footer-section h4 {
    color: var(--primary-tan);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(250, 243, 221, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--primary-tan);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: white;
    text-decoration: underline;
}

.footer-services-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.footer-services-list li {
    color: rgba(250, 243, 221, 0.9);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-services-list li i {
    color: #0B2B26;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.ada-toggle-btn {
    background: #FAF3DD;
    color: #0B2B26;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.ada-toggle-btn:hover,
.ada-toggle-btn:focus {
    background: #e8dfbf;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.ada-toggle-btn.active {
    background: #0B2B26;
    border: none;
}

.footer-help-text {
    font-size: 0.85rem !important;
    color: rgba(250, 243, 221, 0.7) !important;
    margin-top: 0.5rem !important;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 243, 221, 0.3);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(250, 243, 221, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom p:last-child {
    font-size: 0.9rem;
    color: rgba(250, 243, 221, 0.9);
}

/* ADA Toolbar */
.ada-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--forest-green);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.ada-toolbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    position: relative;
}

.ada-toolbar-content h3 {
    color: var(--forest-green);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.ada-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--burgundy);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.ada-close-btn:hover,
.ada-close-btn:focus {
    color: var(--forest-green);
}

.ada-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ada-option-btn {
    background: var(--forest-green);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.ada-option-btn:hover,
.ada-option-btn:focus {
    background: #164039;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* High Contrast Mode */
body.high-contrast {
    background: black !important;
    color: yellow !important;
}

body.high-contrast .info-box,
body.high-contrast .task-card,
body.high-contrast .project-card,
body.high-contrast .container,
body.high-contrast main {
    background: black !important;
    border: 2px solid yellow !important;
    color: yellow !important;
}

body.high-contrast a,
body.high-contrast button {
    color: yellow !important;
    border-color: yellow !important;
}

body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select {
    background: black !important;
    color: yellow !important;
    border: 2px solid yellow !important;
}

body.high-contrast .ada-footer {
    background: black !important;
    border-top: 3px solid yellow !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ada-options {
        flex-direction: column;
    }

    .ada-option-btn {
        width: 100%;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .ada-toolbar-content {
        padding: 1rem;
    }
}

/* Print styles - hide footer when printing */
@media print {
    .ada-footer,
    .ada-toolbar {
        display: none !important;
    }
}
