/*
* ----------------------------------------------------------------------------------------
* MINIMAL APPLE-STYLE FOOTER CSS
* ----------------------------------------------------------------------------------------
*/

/* Minimal Footer */
.minimal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e5e5e7;
    padding: 50px 0 30px;
    margin-top: 0px;
}

/* Footer Links */
.footer-links-minimal {
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav a {
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.footer-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom-minimal {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.copyright-minimal {
    text-align: left;
}

.copyright-minimal p {
    color: #6c757d;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.footer-contact {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact a {
    color: #6c757d;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Mobile Responsive - Same Style as Desktop, Optimized Layout */
@media (max-width: 767px) {
    .minimal-footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-nav {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-nav a {
        color: #6c757d;
        font-size: 15px;
        font-weight: 400;
        text-decoration: none;
        transition: color 0.3s ease;
        padding: 12px 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .footer-nav a:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .footer-nav a:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .footer-bottom-minimal {
        border-top: 1px solid #e9ecef;
        padding-top: 20px;
        text-align: center;
    }
    
    .copyright-minimal {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .copyright-minimal p {
        color: #6c757d;
        font-size: 13px;
        font-weight: 400;
        margin: 0;
        line-height: 1.5;
    }
    
    .footer-contact {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-contact a {
        color: #6c757d;
        font-size: 13px;
        font-weight: 400;
        text-decoration: none;
        transition: color 0.3s ease;
        padding: 12px 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .footer-contact a:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .footer-contact a:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 576px) {
    .minimal-footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }
    
    .footer-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 8px;
        justify-content: center;
        text-align: center;
    }
    
    .footer-nav a {
        color: #6c757d;
        font-size: 13px;
        font-weight: 400;
        text-decoration: none;
        transition: color 0.3s ease;
        padding: 10px 4px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .footer-nav a:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .footer-bottom-minimal {
        border-top: 1px solid #e9ecef;
        padding-top: 15px;
    }
    
    .copyright-minimal {
        margin-bottom: 12px;
    }
    
    .copyright-minimal p {
        color: #6c757d;
        font-size: 12px;
        font-weight: 400;
        margin: 0;
        line-height: 1.5;
    }
    
    .footer-contact {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .footer-contact a {
        color: #6c757d;
        font-size: 12px;
        font-weight: 400;
        text-decoration: none;
        transition: color 0.3s ease;
        padding: 10px 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .footer-contact a:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
}

/* Extra small devices - maintaining grid layout */
@media (max-width: 480px) {
    .minimal-footer {
        padding: 25px 0 12px;
        margin-top: 25px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px 6px;
    }
    
    .footer-nav a {
        font-size: 12px;
        padding: 8px 2px;
        min-height: 40px;
    }
    
    .footer-contact a {
        font-size: 11px;
        padding: 8px 6px;
        min-height: 40px;
    }
    
    .copyright-minimal p {
        font-size: 11px;
    }
}

/* Landscape orientation - more compact */
@media (max-width: 767px) and (orientation: landscape) {
    .minimal-footer {
        padding: 20px 0 10px;
    }
    
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer-nav a {
        font-size: 13px;
        padding: 8px 12px;
        min-height: 40px;
    }
    
    .footer-bottom-minimal {
        padding-top: 12px;
    }
    
    .footer-contact {
        flex-direction: row;
        gap: 12px;
    }
    
    .footer-contact a {
        font-size: 12px;
        padding: 8px 12px;
        min-height: 40px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .minimal-footer {
        background: #1a1a1a;
        border-top-color: #333;
    }
    
    .footer-bottom-minimal {
        border-top-color: #333;
    }
    
    .footer-nav a,
    .copyright-minimal p,
    .footer-contact a {
        color: #adb5bd;
    }
    
    .footer-nav a:hover,
    .footer-contact a:hover {
        color: var(--primary-color);
    }
}

/* Touch Optimization */
@media (max-width: 767px) {
    .footer-nav a,
    .footer-contact a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .footer-nav a:active,
    .footer-contact a:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Clean and Simple Design */
.minimal-footer * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .minimal-footer *,
    .minimal-footer *::before,
    .minimal-footer *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
