/* Professional & Refined Effects - Toned Down Version */

/* Disable overly fancy effects for professional look */
.custom-cursor,
.mouse-trail,
#interactive-bg,
.floating-element,
.voice-command-btn,
#fps-counter {
    display: none !important;
}

/* Keep only subtle professional animations */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateZ(0); /* Performance optimization */
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Disable 3D transforms - too fancy */
.project-card {
    transform-style: initial !important;
}

/* Subtle particle effect - much lighter */
#particle-canvas {
    opacity: 0.15 !important;
}

/* Professional skill progress bars - keep these */
.skills-progress-container {
    margin-top: 2rem;
}

.skill-progress-item {
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.skill-progress-header {
    margin-bottom: 0.4rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.skill-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--background-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Professional scroll indicator - simplified */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.scroll-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s ease;
}

/* Professional section indicators - keep but simplify */
.section-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot:hover,
.indicator-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.indicator-label {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--background-secondary);
    color: var(--text-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.indicator-dot:hover .indicator-label {
    opacity: 1;
    visibility: visible;
}

/* Professional project card styling */
.project-card {
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    height: 250px !important;
    aspect-ratio: unset !important;
    border-radius: 12px 12px 0 0;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    background: var(--background-tertiary);
}

/* Special styling for square Yumigo image */
.project-img[src*="yumigo_app_project.jpg"] {
    width: 70%;
    height: 70%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.project-card:hover .project-img {
    transform: scale(1.03);
}

/* Hover effect for centered Yumigo image */
.project-card:hover .project-img[src*="yumigo_app_project.jpg"] {
    transform: translate(-50%, -50%) scale(1.05);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.9rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.project-tags span {
    background: var(--background-tertiary);
    color: var(--accent);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(153, 213, 232, 0.3);
}

.project-links {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--accent);
    color: var(--background);
}

/* Professional button effects */
.cta-btn {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--background);
}

/* Professional social links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-secondary);
    color: var(--text-secondary);
    border-radius: 4px;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--accent);
    color: var(--background);
    transform: translateY(-2px);
}

/* Keep typing effect but make it subtle */
.typing-cursor::after {
    content: '|';
    color: var(--accent);
    animation: blink 1s infinite;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide overly animated elements on mobile */
@media (max-width: 768px) {
    .section-indicator {
        display: none;
    }
    
    .project-card:hover {
        transform: translateY(-4px);
    }
    
    .project-image {
        height: 200px !important;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-link {
        text-align: center;
        justify-content: center;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .project-image {
        height: 220px !important;
    }
}

/* Ensure professional look for all interactive elements */
* {
    will-change: auto !important;
}

.project-card {
    will-change: transform, box-shadow;
}