/* Custom CSS for Arooj Abbasi Portfolio */

/* Cursor glow effect */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(74, 155, 142, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    mix-blend-mode: screen;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse 2s infinite;
}

.animate-breathe {
    animation: breathe 4s ease-in-out infinite;
}

/* Interactive puzzle styles */
.puzzle-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.puzzle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.puzzle-card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.puzzle-card.correct {
    background-color: #10B981;
    color: white;
    transform: scale(1.05);
}

.puzzle-card.incorrect {
    background-color: #EF4444;
    color: white;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Breathing visualizer styles */
.breathing-circle {
    transition: all 1s ease-in-out;
}

.breathing-circle.inhale {
    transform: scale(1.2);
    background-color: #4A9B8E;
}

.breathing-circle.hold {
    transform: scale(1.1);
    background-color: #6B9BD2;
}

.breathing-circle.exhale {
    transform: scale(1);
    background-color: #8B9BA8;
}

/* Modal styles */
.modal-overlay {
    backdrop-filter: blur(4px);
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Skill tags hover effect */
.skill-tag {
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Service card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Timeline item animations */
.timeline-item {
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive text sizing */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cursor-glow {
        display: none;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #4A9B8E;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/error states */
.success {
    color: #10B981;
    background-color: #D1FAE5;
    border: 1px solid #A7F3D0;
}

.error {
    color: #EF4444;
    background-color: #FEE2E2;
    border: 1px solid #FECACA;
}
