/* Custom Design Styles */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-in {
    animation: slideInLeft 0.5s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

/* Skill Tags */
.skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(13, 148, 136, 0.15));
    color: #0d9488;
    border: 1px solid rgba(20, 184, 166, 0.3);
    transition: all 0.2s ease;
}

.dark .skill-tag {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(13, 148, 136, 0.2));
    color: #5eead4;
    border-color: rgba(94, 234, 212, 0.5);
    border-width: 1px;
}

.skill-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}

/* Experience/Content Cards - shared styles */
.content-card,
.experience-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(250, 250, 250, 0.9));
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark .content-card,
.dark .experience-card {
    background: linear-gradient(135deg, rgba(39, 39, 42, 0.6), rgba(24, 24, 27, 0.8));
    border-color: rgba(255, 255, 255, 0.08);
}

.content-card::before,
.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #14b8a6, #0d9488);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-card:hover,
.experience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.dark .content-card:hover,
.dark .experience-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.content-card:hover::before,
.experience-card:hover::before {
    opacity: 1;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.03) 0%, 
        rgba(255, 255, 255, 0) 50%,
        rgba(99, 102, 241, 0.02) 100%);
}

.dark .hero-gradient {
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.08) 0%, 
        rgba(0, 0, 0, 0) 50%,
        rgba(99, 102, 241, 0.05) 100%);
}

/* Section Title with Accent Bar */
.section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    width: 3px;
    height: 1.5rem;
    background: linear-gradient(to bottom, #14b8a6, #0d9488);
    border-radius: 2px;
}

/* Progress/Language Bars - shared styles */
.progress-bar,
.language-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.dark .progress-bar,
.dark .language-bar {
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar-fill,
.language-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    transition: width 1s ease-out;
}

/* Feature/Project Cards - shared styles */
.feature-card,
.project-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05), rgba(99, 102, 241, 0.03));
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
}

.dark .feature-card,
.dark .project-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(99, 102, 241, 0.05));
    border-color: rgba(20, 184, 166, 0.25);
}

.feature-card:hover,
.project-card:hover {
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateX(4px);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge-active {
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.dark .status-badge-active {
    color: #5eead4;
    border-color: rgba(94, 234, 212, 0.3);
}

.status-badge-default {
    background: rgba(0, 0, 0, 0.05);
    color: #52525b;
}

.dark .status-badge-default {
    background: rgba(255, 255, 255, 0.08);
    color: #a1a1aa;
}

/* CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    background-color: #0d9488;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #0f766e;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.25);
}

/* Tool Grid */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 250, 250, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.dark .contact-card {
    background: linear-gradient(135deg, rgba(39, 39, 42, 0.6), rgba(24, 24, 27, 0.8));
    border-color: rgba(255, 255, 255, 0.08);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.dark .contact-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* List Styling */
.styled-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

/* Prose Enhancements */
.prose-enhanced h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.prose-enhanced h3::before {
    content: '';
    width: 3px;
    height: 1.25rem;
    background: linear-gradient(to bottom, #14b8a6, #0d9488);
    border-radius: 2px;
}

.prose-enhanced h4 {
    color: #0d9488;
}

.dark .prose-enhanced h4 {
    color: #5eead4;
}

/* Page Header */
.page-header {
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .page-header h1 {
        font-size: 3rem;
    }
}

.page-header p {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: #52525b;
}

.dark .page-header p {
    color: #a1a1aa;
}




/* Timeline (Resume) */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.75rem;
    width: 2px;
    height: calc(100% - 0.5rem);
    background: linear-gradient(to bottom, #14b8a6 0%, transparent 100%);
}

.timeline-item:last-child::after {
    display: none;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: #000;
    margin: 1.5em 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
