/* Custom Styles for Estudio Jurídico Giacobone */

@layer utilities {
    .glass-card {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(229, 231, 235, 0.8);
        box-shadow: 0 4px 20px 0 rgba(20, 33, 61, 0.05);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Active Nav Indicator */
.active-nav {
    color: #26998E !important;
    position: relative;
}

.active-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #26998E;
    border-radius: 9999px;
}

/* Smooth scrolling offset for fixed header */
html {
    scroll-padding-top: 90px;
}

/* Bento Card Hover Animations */
.bento-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(20, 33, 61, 0.15);
}

/* Outstanding Glow & Bounce Animation when clicked from Sidebar */
.card-highlight {
    animation: highlightPulse 2.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    border-color: #26998E !important;
    background-color: #ffffff !important;
    z-index: 20;
}

@keyframes highlightPulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 0 rgba(38, 153, 142, 0.8);
    }
    15% {
        transform: translateY(-10px) scale(1.04);
        box-shadow: 0 0 0 10px rgba(38, 153, 142, 0.45), 0 25px 40px -10px rgba(20, 33, 61, 0.3);
    }
    30% {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 0 0 6px rgba(38, 153, 142, 0.5), 0 20px 35px -10px rgba(20, 33, 61, 0.25);
    }
    70% {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 0 0 6px rgba(38, 153, 142, 0.4), 0 15px 30px -10px rgba(20, 33, 61, 0.2);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px 0 rgba(20, 33, 61, 0.05);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F8F9FA;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #26998E;
}
