/* ===================================================================== */
/* COMPLETE FOOTER CSS - EXTRACTED FROM HOMEPAGE                        */
/* ===================================================================== */
/* This file contains all CSS rules for footer styling, layout, colors, */
/* responsive design, and proper text contrast for complete independence */
/* ===================================================================== */

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

/* Main Footer Container */
footer {
    background: #1d1d1f;
    color: #f5f5f7;
    padding: 80px 0 40px;
    margin-top: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
}

/* Footer Content Grid Container */
.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ===================================================================== */
/* FOOTER SECTION STYLES                                                */
/* ===================================================================== */

/* Individual Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Footer Section Headers */
.footer-section h3 {
    color: #f5f5f7;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: left;
    letter-spacing: -0.022em;
}

/* Footer Section Content */
.footer-section p {
    color: #f5f5f7;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    margin-top: 0;
    text-align: left;
    opacity: 0.9;
}

/* Footer Lists */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

/* Footer Links */
.footer-section a {
    color: #f5f5f7;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    font-size: 14px;
}

.footer-section a:hover {
    color: #007aff;
    opacity: 1;
}

/* Focus states for accessibility */
.footer-section a:focus {
    color: #007aff;
    outline: 2px solid #007aff;
    outline-offset: 2px;
    opacity: 1;
}

/* ===================================================================== */
/* BUSINESS HOURS STYLES                                                */
/* ===================================================================== */

/* Business Hours Container */
.business-hours {
    margin-top: 10px;
}

/* Individual Hours Items */
.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    align-items: center;
}

/* Day Labels */
.hours-item .day {
    font-weight: 500;
    color: #f5f5f7;
    flex-shrink: 0;
}

/* Time Labels */
.hours-item .time {
    color: #f5f5f7;
    text-align: right;
    opacity: 0.9;
}

/* ===================================================================== */
/* FOOTER MAP STYLES                                                    */
/* ===================================================================== */

/* Map Container */
.footer-map {
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-map a {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.footer-map a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Map Iframe */
.footer-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 12px;
    display: block;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Map overlay text */
.footer-map a::after {
    content: 'View on Google Maps';
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-map a:hover::after {
    opacity: 1;
}

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

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid #424245;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #f5f5f7;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
}

/* ===================================================================== */
/* RESPONSIVE DESIGN - TABLET (1024px and below)                        */
/* ===================================================================== */

@media (max-width: 1024px) {
    /* Adjust footer grid to 2 columns */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Adjust padding for smaller screens */
    footer {
        padding: 60px 0 30px;
    }
}

/* ===================================================================== */
/* RESPONSIVE DESIGN - MOBILE (768px and below)                         */
/* ===================================================================== */

@media (max-width: 768px) {
    /* Single column layout on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 16px;
    }
    
    /* Reduce footer padding on mobile */
    footer {
        padding: 50px 0 30px;
    }
    
    /* Adjust footer sections for mobile */
    .footer-section {
        text-align: left;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-section:last-child {
        border-bottom: none;
    }
    
    /* Improve mobile readability */
    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Enhance mobile business hours */
    .hours-item {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    /* Adjust map on mobile */
    .footer-map iframe {
        height: 180px;
    }
    
    /* Footer bottom mobile adjustments */
    .footer-bottom {
        margin-top: 35px;
        padding-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 16px;
    }
}

/* ===================================================================== */
/* RESPONSIVE DESIGN - SMALL MOBILE (480px and below)                   */
/* ===================================================================== */

@media (max-width: 480px) {
    /* Further reduce spacing on very small screens */
    footer {
        padding: 40px 0 25px;
    }
    
    .footer-content {
        padding: 0 12px;
        gap: 25px;
    }
    
    /* Stack hours items on very small screens if needed */
    .hours-item {
        font-size: 14px;
    }
    
    /* Smaller map on very small screens */
    .footer-map iframe {
        height: 150px;
    }
}

/* ===================================================================== */
/* ACCESSIBILITY ENHANCEMENTS                                           */
/* ===================================================================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
    footer {
        background: #000000;
    }
    
    .footer-section h3,
    .footer-section p,
    .footer-section a,
    .hours-item .day,
    .hours-item .time,
    .footer-bottom p {
        color: #ffffff;
    }
    
    .footer-section a:hover,
    .footer-section a:focus {
        color: #00aaff;
    }
    
    .footer-bottom {
        border-top-color: #666666;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer-section a,
    .footer-map,
    .footer-map a {
        transition: none;
    }
}

/* ===================================================================== */
/* PRINT STYLES                                                         */
/* ===================================================================== */

@media print {
    footer {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }
    
    .footer-content {
        display: block !important;
    }
    
    .footer-section {
        margin-bottom: 20px;
        page-break-inside: avoid;
    }
    
    .footer-section h3,
    .footer-section p,
    .footer-section a,
    .hours-item .day,
    .hours-item .time,
    .footer-bottom p {
        color: #000000 !important;
    }
    
    .footer-map {
        display: none; /* Hide interactive map in print */
    }
    
    .footer-bottom {
        border-top: 1px solid #cccccc !important;
    }
}

/* ===================================================================== */
/* USAGE NOTES                                                          */
/* ===================================================================== */

/*
RESPONSIVE BREAKPOINTS:
- Desktop: Above 1024px (5-column grid)
- Tablet: 769px to 1024px (2-column grid)
- Mobile: 481px to 768px (1-column grid)
- Small Mobile: Below 480px (1-column with adjusted spacing)

REQUIRED HTML STRUCTURE:
- footer (main container)
- .footer-content (grid container)
- .footer-section (individual columns)
- .footer-section h3 (section headers)
- .business-hours (hours container)
- .hours-item (day/time rows)
- .day and .time (individual components)
- .footer-map (map container)
- .footer-bottom (copyright section)

COLOR SCHEME:
- Background: #1d1d1f (dark gray)
- Text: #f5f5f7 (white/light gray)
- Links: #f5f5f7 (hover: #007aff blue)
- Border: #424245 (darker gray)

KEY FEATURES:
- White text on dark background for proper contrast
- Hover effects on links change to blue (#007aff)
- Responsive grid layout that adapts to screen size
- Interactive Google Maps with hover effect
- Accessibility features including focus states
- Print-friendly styles

This CSS provides complete styling independence for the footer component
and ensures proper white text visibility on the dark background.
*/