/* Mobile Footer - Shared across all pages */

/* Mobile-only footer */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 76px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 44px; /* email + instagram sit centered, close together */
}

/* Fading top line, mirroring the header divider */
.mobile-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.12) 22%, rgba(255, 255, 255, 0.12) 78%, transparent 100%);
}


/* Footer layout - icons centered together (like the menu items) */
.mobile-footer .footer-email,
.mobile-footer .footer-instagram {
    position: static;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Email icon - maintain original aspect ratio */
.mobile-footer .footer-email img {
    width: auto;
    height: 19px; /* Fixed height to maintain proportions */
    transition: transform 0.3s ease, opacity 0.3s ease;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Force the icon white for the dark theme */
}

/* Instagram icon */
.mobile-footer .footer-instagram img {
    width: 23px;
    height: 23px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: brightness(0) invert(1); /* Force the icon white for the dark theme */
}

/* LinkedIn icon (already white SVG) */
.mobile-footer .footer-linkedin img {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Get yours button in the center */
.mobile-footer .footer-cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mobile-footer .footer-cta-button {
    background: linear-gradient(90deg, 
        #000000 0%, 
        #222222 25%, 
        #444444 35%,
        #666666 50%,
        #444444 65%,
        #222222 75%, 
        #000000 100%);
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
    color: white;
    border: none;
    padding: 9px 23px;
    font-family: 'Apercu Pro Medium', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: lowercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}


.mobile-footer .footer-cta-button:hover,
.mobile-footer .footer-cta-button:active {
    transform: scale(1.05);
    animation: shimmer 2s linear infinite;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}


/* Links styling */
.mobile-footer a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-footer a:hover img,
.mobile-footer a:active img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Shimmer animation */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Show footer only on mobile */
@media (max-width: 768px) {
    .mobile-footer {
        display: flex;
    }
    
    /* Add padding to body to prevent content from being hidden behind footer */
    body {
        padding-bottom: 86px;
    }
    
    /* Hide the original CTA button on mobile when footer is present */
    .cta-button {
        display: none !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .mobile-footer {
        height: 70px;
    }
    
    .mobile-footer .footer-email img {
        height: 17px; /* Slightly smaller but maintaining aspect ratio */
    }
    
    .mobile-footer .footer-instagram img {
        width: 21px;
        height: 21px;
    }
    
    .mobile-footer .footer-cta-button {
        padding: 8px 21px;
        font-size: 14px;
    }
    
    body {
        padding-bottom: 80px;
    }
}