﻿body {
}
/* Trigger Wrapper */
.footer-alecadd-nav {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-nav-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-menu-text {
    color: #1a1a1a !important;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Manrope', sans-serif;
}

/* The Three Dots */
.footer-svg-icon {
    width: 3rem;
    height: auto;
    fill: #1a1a1a !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-alecadd-nav:hover .footer-svg-icon,
.footer-alecadd-nav.is-open .footer-svg-icon {
    transform: rotate(90deg);
}

/* --- THE DROPUP (Narrow & Aligned) --- */
.footer-dropdown-content {
    display: none;
    flex-direction: column !important;
    /* Strict Upward Geometry */
    position: absolute !important;
    top: auto !important;
    bottom: 100% !important;
    /* THE WIDTH & ALIGNMENT FIX */
    left: 0 !important; /* Anchors exactly to the left edge of the 'Menu' text */
    margin-left: 0 !important; /* Prevents shifting off-screen */
    width: max-content !important; /* Adapts exactly to the width of your links */
    min-width: 160px !important; /* Narrower baseline */
    margin-bottom: 10px !important;
    /* Aesthetics */
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 999999 !important;
}

    /* Hover Bridge */
    .footer-dropdown-content::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0; /* Updated to match the new alignment */
        width: 100%;
        height: 40px;
        background: transparent;
    }

    /* Menu Links */
    .footer-dropdown-content a {
        display: block;
        padding: 6px 25px; /* Slightly tighter vertical padding */
        color: #1a1a1a !important;
        text-decoration: none;
        font-family: 'Manrope', sans-serif;
        font-size: 1.0rem;
        font-weight: 500;
        line-height: 1.2; /* Ensures taller fonts don't overlap */
        transition: all 0.2s ease;
    }

        .footer-dropdown-content a:hover {
            background: rgba(212, 175, 55, 0.1) !important;
            color: #D4AF37 !important;
            padding-left: 35px;
        }

/* --- ANIMATION LOGIC --- */
@media (min-width: 1025px) {
    .footer-alecadd-nav:hover .footer-dropdown-content {
        display: flex !important;
        animation: footerPop 0.3s ease-out forwards;
    }
}

.footer-alecadd-nav.is-open .footer-dropdown-content {
    display: flex !important;
    animation: footerPop 0.3s ease-out forwards;
}

@keyframes footerPop {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
