/**
 * FOOTER STYLES - MOBILE FIRST - UPDATED
 * 
 * Changes:
 * - Removed Mobile App section
 * - Removed social media icons
 * - Updated background to match navbar (#19427f)
 * - Improved button styling for Register and Review
 * - Better mobile responsiveness
 * 
 * @package MidwayWholesale
 * @version 4.0 - Updated Design
 * @author GoneClear Development Team
 */

/* ================================
   MAIN FOOTER CONTAINER (Mobile First)
   ================================ */

.main-footer {
    margin-top: 40px;
    background-color: #19427f;  /* Match navbar blue */
    color: white;
    padding: 40px 0 0;
    width: 100%;
}

/* ================================
   FOOTER CONTENT (Mobile: Single Column)
   ================================ */

.footer-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* ================================
   FOOTER SECTIONS (Mobile First)
   ================================ */

.footer-section {
    width: 100%;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section:last-child {
    border-bottom: none;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 600;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.footer-section a:hover,
.footer-section a:active {
    color: white;
}

/* ================================
   COMPANY BRANDING (Mobile First)
   ================================ */

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Make logo white on dark background */
}

.tagline {
    font-style: italic;
    margin-bottom: 25px;
    margin-top: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* ================================
   REGISTER NOW SECTION (Mobile First)
   ================================ */

.register-now {
    width: 100%;
}

.register-now h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

/* ================================
   FOOTER BUTTONS (Register & Review)
   Mobile: Full width, nice styling
   ================================ */

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.register-btn {
    background: linear-gradient(135deg, #dc382b 0%, #b92d21 100%);
    color: white !important;
    text-align: center;
}

.register-btn i {
    font-size: 18px;
}

.register-btn:hover,
.register-btn:active {
    background: linear-gradient(135deg, #c62f23 0%, #9b281e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 56, 43, 0.5);
}

.review-btn {
    background: linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
    color: white !important;
    margin-top: 15px;
    text-align: center;
}

.review-btn i {
    color: #FBBC05;
    font-size: 18px;
}

.review-btn:hover,
.review-btn:active {
    background: linear-gradient(135deg, #3367D6 0%, #2952B3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.5);
}

.review-btn:active {
    transform: translateY(0);
}

/* ================================
   REVIEW LINK CONTAINER
   ================================ */

.review-link {
    margin-top: 20px;
}

/* ================================
   FOOTER BOTTOM (Mobile First)
   ================================ */

.footer-bottom {
    margin-top: 40px;
    padding: 25px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ================================
   TABLET BREAKPOINT (576px and up)
   ================================ */

@media (min-width: 576px) {
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-section {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-logo {
        max-width: 220px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
     .footer-btn {
        width: auto;
        min-width: 220px;
        padding: 18px 36px;
        font-size: 16px;
    }
}

/* ================================
   TABLET LANDSCAPE (768px and up)
   ================================ */

@media (min-width: 768px) {
    .main-footer {
        margin-top: 50px;
        padding: 50px 0 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        padding: 0 40px;
    }
    
    .footer-section h3 {
        font-size: 19px;
        margin-bottom: 20px;
    }
    
    .footer-section a {
        font-size: 15px;
    }
    
    .footer-btn {
        padding: 18px 40px;
        font-size: 16px;
        min-width: 240px;
    }
    
    .footer-bottom {
        margin-top: 50px;
        padding: 28px 40px;
    }
    
    .footer-bottom p {
        font-size: 15px;
    }
}

/* ================================
   DESKTOP (992px and up)
   ================================ */

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer-section h3 {
        font-size: 20px;
        margin-bottom: 22px;
    }
    
    .footer-section a {
        font-size: 16px;
    }
    
    .tagline {
        font-size: 17px;
    }
    
     /* Desktop buttons: Better spacing */
    .footer-btn {
        padding: 20px 44px;
        font-size: 17px;
        min-width: 260px;
        gap: 14px;
    }
    
    .footer-btn i {
        font-size: 20px;
    }
}

/* ================================
   LARGE DESKTOP (1200px and up)
   ================================ */

@media (min-width: 1200px) {
    .footer-content {
        max-width: 1400px;
    }
}

/* ================================
   ACCESSIBILITY ENHANCEMENTS
   ================================ */

/* Focus indicators */
.footer-section a:focus,
.footer-btn:focus {
    outline: 2px solid white;
    outline-offset: 3px;
}

/* Ensure minimum touch target size on mobile */
@media (max-width: 767px) {
    .footer-section a,
    .footer-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer-section {
        border-bottom-width: 2px;
    }
    
    .footer-btn {
        border: 2px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer-section a,
    .footer-btn {
        transition: none;
    }
}