/* Behavioral Adaptation Styles */

/* Highlighted service cards */
.service-card.behavior-highlight {
    border: 2px solid #3498db;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.service-card.behavior-highlight h3 {
    color: #3498db;
}

.service-card.behavior-highlight .service-icon {
    color: #3498db;
    transform: scale(1.1);
}

/* Emphasized project cards */
.project-card.behavior-emphasis {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 2px solid #2ecc71;
    transition: all 0.3s ease;
}

.project-card.behavior-emphasis::before {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    color: #2ecc71;
    font-size: 18px;
}

/* Navigation emphasis */
.nav-links a.nav-emphasis {
    color: #3498db;
    font-weight: 700;
    position: relative;
}

.nav-links a.nav-emphasis::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* Behavior indicator */
.behavior-indicator {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.behavior-indicator.visible {
    transform: translateY(0);
    opacity: 1;
}

.behavior-indicator.hidden {
    display: none;
}

.indicator-icon {
    margin-right: 12px;
    color: #3498db;
    font-size: 18px;
}

.indicator-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.indicator-close {
    margin-left: 15px;
    color: #999;
    cursor: pointer;
    font-size: 12px;
    padding: 5px;
}

.indicator-close:hover {
    color: #333;
}

/* Dark mode adjustments */
body.dark-mode .behavior-indicator {
    background-color: #2a2a2a;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .indicator-text {
    color: #eee;
}

body.dark-mode .indicator-close {
    color: #aaa;
}

body.dark-mode .indicator-close:hover {
    color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .behavior-indicator {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 10px 15px;
    }
    
    .indicator-icon {
        font-size: 16px;
    }
    
    .indicator-text {
        font-size: 12px;
    }
}
