/* Humanistic Elements Styles */
/* Adds warmth, personality, and emotional connection to the portfolio */

/* Personal Story Section */
.personal-story-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
}

.section-subtitle {
    text-align: center;
    color: #9CA3AF;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.story-card:hover::before {
    transform: scaleX(1);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.story-card h3 {
    color: #F9FAFB;
    margin-bottom: 15px;
    font-weight: 600;
}

.story-card p {
    color: #9CA3AF;
    margin-bottom: 25px;
    line-height: 1.6;
}

.read-story-btn {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-story-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.read-story-btn:hover::before {
    left: 100%;
}

.read-story-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Journey Timeline Section */
.journey-timeline-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #8B5CF6, #EC4899, #10B981);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin: 0 30px;
}

.timeline-marker.psychology {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.timeline-marker.military {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.timeline-marker.socialwork {
    background: linear-gradient(135deg, #059669, #10B981);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.timeline-marker.it {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.timeline-marker.ai {
    background: linear-gradient(135deg, #EC4899, #F472B6);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    flex: 1;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.timeline-content h3 {
    color: #F9FAFB;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #9CA3AF;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-year {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Story Modal */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.story-modal-content {
    background: #1F2937;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(10px);
}

.story-modal-header {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.story-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.story-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.story-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.story-modal-body {
    padding: 30px;
}

.story-content {
    margin-bottom: 30px;
}

.story-content p {
    color: #E5E7EB;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.story-reflection, .story-impact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.story-reflection h4, .story-impact h4 {
    color: #8B5CF6;
    margin-bottom: 10px;
    font-weight: 600;
}

.story-reflection p, .story-impact p {
    color: #D1D5DB;
    line-height: 1.6;
    margin: 0;
}

/* Conversation Starters */
.conversation-starters {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.conversation-starters h4 {
    color: #F9FAFB;
    margin-bottom: 15px;
    font-weight: 600;
}

.starter-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.starter-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-align: left;
}

.starter-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

/* Journey Indicators */
.journey-indicator {
    position: absolute;
    top: -20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.journey-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.journey-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
}

.journey-label {
    font-size: 0.75rem;
    color: #8B5CF6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Human Context for Metrics */
.human-context {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-top: 5px;
    font-style: italic;
    line-height: 1.4;
}

/* Growth Narrative */
.growth-narrative {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.growth-narrative h3 {
    color: #F9FAFB;
    margin-bottom: 15px;
    font-weight: 600;
}

.growth-narrative p {
    color: #D1D5DB;
    line-height: 1.7;
    margin-bottom: 25px;
}

.growth-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.principle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.principle:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(5px);
}

.principle-icon {
    font-size: 1.5rem;
}

.principle-text {
    color: #F9FAFB;
    font-weight: 500;
}

/* Challenges Section */
.challenges-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
}

.challenges-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin: 40px 0;
}

.challenge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.challenge-card.solution {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.challenge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.challenge-card h3 {
    color: #F9FAFB;
    margin-bottom: 15px;
    font-weight: 600;
}

.challenge-card p {
    color: #9CA3AF;
    line-height: 1.6;
}

.challenge-arrow {
    font-size: 2rem;
    color: #8B5CF6;
    font-weight: bold;
}

.challenge-reflection {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    border-left: 4px solid #8B5CF6;
    backdrop-filter: blur(10px);
}

.challenge-reflection h4 {
    color: #8B5CF6;
    margin-bottom: 15px;
    font-weight: 600;
}

.challenge-reflection p {
    color: #D1D5DB;
    line-height: 1.7;
    margin: 0;
}

/* Enhanced Chatbot Personality */
.chatbot-message.bot {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.chatbot-message.bot::before {
    content: '😊';
    position: absolute;
    top: -10px;
    left: 10px;
    background: #1F2937;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
}

/* Emotional Journey Timeline */
.experience-card {
    position: relative;
    padding-left: 40px;
}

.experience-card::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #8B5CF6, #EC4899);
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 60px;
    }
    
    .timeline-marker {
        position: absolute;
        left: -60px;
        margin: 0;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .challenge-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
    
    .growth-principles {
        grid-template-columns: 1fr;
    }
    
    .starter-buttons {
        grid-template-columns: 1fr;
    }
    
    .story-modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Warm Color Palette for Humanistic Feel */
.humanistic-accent {
    color: #F59E0B; /* Warm orange */
}

.humanistic-warm {
    color: #EC4899; /* Warm pink */
}

.humanistic-soft {
    color: #8B5CF6; /* Soft purple */
}

/* Typography Enhancements for Readability */
.story-content, .challenge-reflection p, .growth-narrative p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Hover Effects for Interactive Elements */
.story-card:hover .story-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Accessibility Enhancements */
.story-card:focus, .starter-btn:focus, .read-story-btn:focus {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .story-modal, .conversation-starters, .journey-indicator {
        display: none !important;
    }
}

/* Modern Glass Morphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Gradients */
.gradient-text {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Enhanced Focus States */
button:focus, a:focus {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
    border-radius: 4px;
} 