/* ============================================
   FOOTER - ONE LINE LAYOUT
   ============================================ */

.mkm-footer {
    margin-top: 60px;
}

/* ============================================
   ONE LINE FOOTER (1 Column & Bottom Bar)
   ============================================ */
.mkm-footer-oneline {
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mkm-footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* LEFT - Copyright */
.mkm-footer-left {
    font-size: 14px;
    opacity: 0.9;
    white-space: nowrap;
}

/* CENTER - Credit (Protected) */
.mkm-footer-center {
    font-size: 13px;
    opacity: 0.75;
    text-align: center;
    flex: 1;
}

.mkm-footer-center a {
    color: #e91e63;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mkm-footer-center a:hover {
    color: #ff4081;
    text-decoration: underline;
}

.mkm-footer-center span {
    margin: 0 5px;
    opacity: 0.6;
}

.mkm-footer-center strong {
    font-weight: 600;
}

/* RIGHT - Page Links */
.mkm-footer-right {
    font-size: 14px;
    white-space: nowrap;
}

.mkm-footer-right a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.mkm-footer-right a:hover {
    opacity: 1;
    color: #e91e63;
}

.mkm-sep {
    margin: 0 10px;
    opacity: 0.5;
}

/* ============================================
   2+ COLUMNS WIDGETS
   ============================================ */
.mkm-footer-widgets {
    padding: 60px 0 40px;
}

.mkm-footer-grid {
    display: grid;
    gap: 40px;
}

.mkm-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mkm-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mkm-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }

.mkm-footer-column {
    min-width: 0;
}

.mkm-footer-logo {
    margin-bottom: 20px;
}

.mkm-footer-logo img {
    max-width: 180px;
    height: auto;
}

.mkm-footer-about {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 20px;
}

.mkm-footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mkm-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: all 0.3s ease;
}

.mkm-footer-social a:hover {
    background: #e91e63;
    transform: translateY(-3px);
}

.mkm-footer-social svg {
    width: 18px;
    height: 18px;
}

.mkm-footer-column .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: relative;
}

.mkm-footer-column .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e91e63;
}

.mkm-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mkm-footer-column ul li {
    margin-bottom: 12px;
}

.mkm-footer-column ul li a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mkm-footer-column ul li a:hover {
    opacity: 1;
    color: #e91e63;
    padding-left: 5px;
}

/* Bottom Bar (after widgets) */
.mkm-footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.mkm-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.mkm-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mkm-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.5);
}

.mkm-back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 991px) {
    .mkm-footer-cols-4,
    .mkm-footer-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mkm-footer-flex {
        justify-content: center;
        text-align: center;
    }
    
    .mkm-footer-left,
    .mkm-footer-center,
    .mkm-footer-right {
        flex: none;
        width: 100%;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 767px) {
    .mkm-footer {
        margin-top: 40px;
    }
    
    .mkm-footer-oneline {
        padding: 20px 0;
    }
    
    .mkm-footer-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .mkm-footer-left {
        font-size: 13px;
        order: 1;
    }
    
    .mkm-footer-center {
        font-size: 12px;
        order: 2;
    }
    
    .mkm-footer-right {
        font-size: 13px;
        order: 3;
        white-space: normal;
    }
    
    .mkm-sep {
        margin: 0 6px;
    }
    
    .mkm-footer-cols-2,
    .mkm-footer-cols-3,
    .mkm-footer-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .mkm-footer-widgets {
        padding: 40px 0 30px;
    }
    
    .mkm-footer-column {
        text-align: center;
    }
    
    .mkm-footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .mkm-footer-social {
        justify-content: center;
    }
    
    .mkm-footer-column .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mkm-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}