/* Modern Navigation Card Effects */

/* Glass morphism effect */
.nav-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav-card:hover::before {
    opacity: 1;
}

/* Subtle hover effects */
.nav-card:hover {
    background: rgba(255, 255, 255, 1) !important;
    border: 1px solid rgba(74, 85, 104, 0.1) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Icon subtle animation */
.nav-card i {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.nav-card:hover i {
    transform: scale(1.1);
    color: #2b6cb0 !important;
}

/* Remove excessive animations */
.nav-card:hover i {
    animation: none;
}

/* Individual card subtle accents */
.nav-card-about:hover i {
    color: #3182ce !important;
}

.nav-card-projects:hover i {
    color: #38a169 !important;
}

.nav-card-services:hover i {
    color: #d69e2e !important;
}

.nav-card-news:hover i {
    color: #e53e3e !important;
}

.nav-card-contact:hover i {
    color: #805ad5 !important;
}

/* Refined text effects */
.nav-card h5 {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    transition: all 0.3s ease;
    color: #2d3748 !important;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.nav-card:hover h5 {
    color: #1a202c !important;
}

/* Remove ripple effect - too flashy */
.nav-card:active::after {
    display: none;
}

/* Subtle tilt effect */
.nav-card {
    perspective: 1000px;
}

.nav-card:hover {
    transform: 
        translateY(-8px) 
        scale(1.02) 
        rotateX(1deg) !important;
    transform-style: preserve-3d;
}

/* Very subtle breathing animation */
@keyframes breathe {
    0%, 100% { 
        opacity: 0.95;
    }
    50% { 
        opacity: 1;
    }
}

.nav-card {
    animation: breathe 8s ease-in-out infinite;
}

.nav-card:hover {
    animation: none;
    opacity: 1;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .nav-card:hover {
        transform: translateY(-4px) scale(1.01) !important;
    }
    
    .nav-card {
        animation: none; /* Disable breathing on mobile */
    }
}

/* Disable complex animations */
.nav-card:hover::before {
    animation: none;
}

/* Clean loading state */
.nav-card {
    animation-play-state: running;
}

.nav-card.loaded {
    animation-play-state: running;
}
