/* --- Profile / Social Menu --- */
.ca-menu {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none; /* Removes bullet points */
    gap: 20px; /* Modern way to space items */
}

.ca-menu li {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: relative;
    /* Soft border instead of heavy shadow */
    border: 1px solid #e0dcd5;
    border-radius: 50%; /* Cleaner circle */
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ca-menu li i {
    color: #4a4540; /* Earthy charcoal instead of white */
    transition: color 0.4s ease;
}

.ca-menu li a {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ca-icon {
    font-size: 1.2em;
    color: #4a4540;
    transition:
        transform 0.4s ease,
        color 0.4s ease;
}

.ca-icon img {
    width: 40%;
    height: auto;
    /* Makes images/icons match your natural brown color */
    filter: sepia(20%) brightness(50%);
}

/* --- Refined Hover States --- */
/* We replace the 360-degree spin with a gentle lift and color change */
.ca-menu li:hover {
    background-color: #f8f4ed; /* Very slight depth change */
    border-color: #8c7e6d; /* Highlight with your taupe color */
    transform: translateY(-3px); /* Gentle "lift" effect */
}

.ca-menu li:hover .ca-icon {
    color: #8c7e6d;
    transform: scale(1.1); /* Subtle grow instead of massive zoom */
}

.ca-menu li:hover .ca-icon img {
    filter: sepia(0%) brightness(30%);
}

@media all and (max-width: 420px) {
    .ca-menu li {
        width: 45px;
        height: 45px;
    }
}
