/* 
 * Ottmegastore.in - Mobile-Optimized Footer Styles
 * Author: Ravi Shandilya
 * Version: 1.0
 * Updated: May 29, 2025
 */

/* Mobile-optimized footer links */
@media (max-width: 768px) {
    .footer .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    /* Increase touch target size for all footer links */
    .footer-links li {
        margin-bottom: 15px;
    }
    
    .footer-links a {
        display: block;
        padding: 12px 15px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        -webkit-tap-highlight-color: transparent;
        will-change: transform, background-color;
    }
    
    .footer-links a:hover, 
    .footer-links a:active,
    .footer-links a.active {
        background-color: rgba(255, 255, 255, 0.2);
        -webkit-transform: translateY(-2px);
                transform: translateY(-2px);
    }
    
    /* Improve contact items for touch */
    .footer-contact li {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 12px 15px;
        margin-bottom: 15px;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    
    .footer-contact i {
        font-size: 18px;
        margin-right: 15px;
        width: 24px;
        height: 24px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    
    /* Make phone and email clickable */
    .footer-contact a {
        color: #d1d5db;
        display: block;
        width: 100%;
    }
    
    .footer-contact a:hover,
    .footer-contact a:active {
        color: #fff;
    }
    
    /* Add ripple effect for better touch feedback */
    .touch-ripple {
        position: relative;
        overflow: hidden;
    }
    
    .touch-ripple:after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        background-image: -webkit-radial-gradient(circle, #fff 10%, transparent 10.01%);
        background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
        background-repeat: no-repeat;
        background-position: 50%;
        -webkit-transform: scale(10, 10);
                transform: scale(10, 10);
        opacity: 0;
        -webkit-transition: -webkit-transform 0.5s, opacity 0.8s;
        transition: -webkit-transform 0.5s, opacity 0.8s;
        transition: transform 0.5s, opacity 0.8s;
        transition: transform 0.5s, opacity 0.8s, -webkit-transform 0.5s;
        will-change: transform, opacity;
    }
    
    .touch-ripple:active:after {
        -webkit-transform: scale(0, 0);
                transform: scale(0, 0);
        opacity: 0.3;
        -webkit-transition: 0s;
        transition: 0s;
    }
    
    /* Footer column spacing */
    .footer-content {
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    /* Social icons - larger touch targets */
    .social-icons {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-icons a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        width: 50px;
        height: 50px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        will-change: transform, background-color;
    }
    
    .social-icons a:hover,
    .social-icons a:active {
        background-color: rgba(255, 255, 255, 0.2);
        -webkit-transform: translateY(-3px);
                transform: translateY(-3px);
    }
    
    .social-icons i {
        font-size: 22px;
        color: #fff;
    }
}
