﻿/* =================================================
   HÀNH TRÌNH PHÁT TRIỂN - LUXURY DESIGN 2024
   Thiết kế hoàn toàn mới, sang trọng và sáng tạo
   ================================================= */

/* Main Section với background gradient sang trọng */
html body .journey-section {
    padding: 120px 0 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%) !important;
    position: relative !important;
    overflow: visible !important;
    min-height: 100vh !important;
}

/* Animated background particles */
html body .journey-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(168, 85, 247, 0.06) 0%, transparent 50%) !important;
    animation: backgroundShift 20s ease-in-out infinite !important;
    z-index: 1 !important;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

/* Container với max-width lớn hơn */
html body .journey-section .container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

/* Header section với thiết kế sang trọng */
html body .journey-section .journey-header {
    text-align: center !important;
    margin-bottom: 80px !important;
    position: relative !important;
}

/* Title với hiệu ứng gradient text */
html body .journey-section .journey-title {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
    font-weight: 900 !important;
    font-size: 4rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 25%, #e2e8f0 50%, #cbd5e1 75%, #94a3b8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
}

/* Animated divider */
html body .journey-section .journey-divider {
    width: 120px !important;
    height: 6px !important;
    background: linear-gradient(90deg, #dc2626, #ef4444, #f97316, #dc2626) !important;
    margin: 0 auto 30px !important;
    border-radius: 3px !important;
    position: relative !important;
    overflow: hidden !important;
}

html body .journey-section .journey-divider::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent) !important;
    animation: shimmer 3s infinite !important;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Subtitle với style hiện đại */
html body .journey-section .journey-subtitle {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
    color: #cbd5e1 !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
    opacity: 0.9 !important;
    letter-spacing: 1px !important;
}

/* === Center-axis Creative Timeline overrides === */
html body .journey-section .journey-timeline {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: auto !important;
    gap: 40px 160px !important;
    padding: 80px 0 !important;
}

html body .journey-section .journey-timeline::before {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(180deg, #cc0000, #ff4d4d, #ff7a59, #cc0000) !important;
    box-shadow: 0 0 25px rgba(204, 0, 0, 0.55), 0 0 60px rgba(255, 122, 89, 0.35) !important;
    border-radius: 999px !important;
    opacity: 0.95 !important;
    display: block !important;
}

/* Place odd cards on the left, even on the right */
html body .journey-section .journey-card {
    width: 100% !important;
    margin: 0 !important;
}
html body .journey-section .journey-card:nth-child(odd) { grid-column: 1 / 2 !important; }
html body .journey-section .journey-card:nth-child(even) { grid-column: 2 / 3 !important; }

/* Connectors to the central axis (match gap 160px) */
html body .journey-section .journey-card::after {
    content: attr(data-year) !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    min-width: 88px !important;
    height: 36px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #0f172a !important;
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    z-index: 4 !important;
    white-space: nowrap !important;
}
html body .journey-section .journey-card::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 2px !important;
    width: 80px !important; /* half of column gap to the central axis */
    background: linear-gradient(90deg, transparent, #ff4d4d, #cc0000, transparent) !important;
    opacity: 0.9 !important;
    z-index: 2 !important;
}
/* Left side cards: line to the right (towards axis) */
html body .journey-section .journey-card:nth-child(odd)::before { right: -80px !important; }
html body .journey-section .journey-card:nth-child(odd)::after { right: -140px !important; }

/* Right side cards: line to the left (towards axis) */
html body .journey-section .journey-card:nth-child(even)::before { left: -80px !important; }
html body .journey-section .journey-card:nth-child(even)::after { left: -140px !important; }

/* Harmonize brand accents */
html body .journey-section .journey-icon {
    background: linear-gradient(135deg, #cc0000, #ff4d4d) !important;
}
html body .journey-section .journey-step {
    background: linear-gradient(135deg, #cc0000, #ff4d4d) !important;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.4) !important;
}
html body .journey-section .journey-card:hover {
    border-color: rgba(204, 0, 0, 0.5) !important;
}
html body .journey-section .journey-card:hover::before {
    opacity: 1 !important;
}

/* Subtle entrance animation (disabled default opacity to ensure visibility) */
/* You can re-enable animation if desired
@keyframes fadeUpCreative { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
html body .journey-section .journey-card { opacity: 0.0 !important; animation: fadeUpCreative 0.8s ease-out forwards !important; }
html body .journey-section .journey-card:nth-child(1) { animation-delay: 0.05s !important; }
html body .journey-section .journey-card:nth-child(2) { animation-delay: 0.15s !important; }
html body .journey-section .journey-card:nth-child(3) { animation-delay: 0.25s !important; }
html body .journey-section .journey-card:nth-child(4) { animation-delay: 0.35s !important; }
html body .journey-section .journey-card:nth-child(5) { animation-delay: 0.45s !important; }
*/

/* Card design hoàn toàn mới với hiệu ứng 3D */
html body .journey-section .journey-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 25px !important;
    padding: 40px !important;
    position: relative !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transform-style: preserve-3d !important;
    perspective: 1000px !important;
}

html body .journey-section .journey-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) !important;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(220, 38, 38, 0.5) !important;
}

/* Glowing border effect removed to free ::before for axis connector line */

/* Card header với layout mới */
html body .journey-section .journey-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 30px !important;
    position: relative !important;
}

/* Left side với icon và year info */
html body .journey-section .journey-card-left {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
}

/* Icon container với hiệu ứng 3D */
html body .journey-section .journey-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.5rem !important;
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: white !important;
    box-shadow: 
        0 10px 30px rgba(220, 38, 38, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
}

html body .journey-section .journey-card:hover .journey-icon {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 
        0 15px 40px rgba(220, 38, 38, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Icon glow effect */
html body .journey-section .journey-icon::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
}

html body .journey-section .journey-card:hover .journey-icon::before {
    opacity: 1 !important;
}

/* Year info với typography hiện đại */
html body .journey-section .journey-year-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

html body .journey-section .journey-year {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #ffffff, #f1f5f9) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
    line-height: 1 !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

html body .journey-section .journey-stage {
    font-size: 1.2rem !important;
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    opacity: 0.8 !important;
}

/* Step badge với design mới */
/* Hide steps badges to make all milestones equal */
html body .journey-section .journey-step { display: none !important; }

/* Card title với style hiện đại */
html body .journey-section .journey-card-title {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    font-size: 2.2rem !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Card description với typography đẹp */
html body .journey-section .journey-card-description {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    color: #e2e8f0 !important;
    max-width: 100% !important;
    opacity: 0.9 !important;
}

/* Special card với design độc đáo */
/* Remove special styling, all milestones equal */

html body .journey-section .journey-card.special::after {
    content: '' !important;
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
    border: 1px solid rgba(220, 38, 38, 0.2) !important;
    border-radius: 20px !important;
    pointer-events: none !important;
}

html body .journey-section .journey-card.special .journey-card-header {
    justify-content: center !important;
    margin-bottom: 40px !important;
    flex-direction: column !important;
    gap: 30px !important;
}

html body .journey-section .journey-card.special .journey-card-left {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
}

html body .journey-section .journey-card.special .journey-icon {
    width: 120px !important;
    height: 120px !important;
    font-size: 3.5rem !important;
    border-radius: 30px !important;
    margin: 0 auto !important;
    background: linear-gradient(135deg, #dc2626, #ef4444, #f97316) !important;
}

html body .journey-section .journey-card.special .journey-year {
    font-size: 4.5rem !important;
    background: linear-gradient(135deg, #ffffff, #fbbf24) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

html body .journey-section .journey-card.special .journey-stage {
    font-size: 1.5rem !important;
    color: #fbbf24 !important;
    opacity: 1 !important;
}

html body .journey-section .journey-card.special .journey-step {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #1e293b !important;
    font-size: 1.1rem !important;
    padding: 15px 30px !important;
}

html body .journey-section .journey-card.special .journey-card-title {
    font-size: 2.8rem !important;
    margin-bottom: 30px !important;
    background: linear-gradient(135deg, #ffffff, #fbbf24) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

html body .journey-section .journey-card.special .journey-card-description {
    font-size: 1.5rem !important;
    color: #e2e8f0 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    opacity: 1 !important;
}

/* Alternate cards với offset */
html body .journey-section .journey-card:nth-child(even) {
    transform: translateY(40px) !important;
}

html body .journey-section .journey-card:nth-child(even):hover {
    transform: translateY(25px) rotateX(5deg) rotateY(5deg) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    html body .journey-section .journey-timeline {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    html body .journey-section {
        padding: 80px 0 !important;
    }
    
    html body .journey-section .journey-title {
        font-size: 2.5rem !important;
        letter-spacing: 2px !important;
    }
    
    html body .journey-section .journey-timeline {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 40px 0 !important;
    }
    
    html body .journey-section .journey-card {
        padding: 30px !important;
    }
    
    html body .journey-section .journey-card:nth-child(even) {
        transform: none !important;
    }
    
    html body .journey-section .journey-card:hover {
        transform: translateY(-10px) !important;
    }
    
    html body .journey-section .journey-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    
    html body .journey-section .journey-card.special .journey-card-header {
        align-items: center !important;
    }
    
    html body .journey-section .journey-card.special {
        padding: 40px 25px !important;
    }
    
    html body .journey-section .journey-card.special .journey-year {
        font-size: 3.5rem !important;
    }
    
    html body .journey-section .journey-card.special .journey-card-title {
        font-size: 2.2rem !important;
    }
    
    html body .journey-section .journey-card.special .journey-card-description {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 480px) {
    html body .journey-section .journey-title {
        font-size: 2rem !important;
        letter-spacing: 1px !important;
    }
    
    html body .journey-section .journey-card {
        padding: 25px !important;
    }
    
    html body .journey-section .journey-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 2rem !important;
    }
    
    html body .journey-section .journey-year {
        font-size: 2.5rem !important;
    }
    
    html body .journey-section .journey-card-title {
        font-size: 1.8rem !important;
    }
    
    html body .journey-section .journey-card-description {
        font-size: 1.1rem !important;
    }
}

/* Responsive: single column, axis on the left, hide connectors for clarity */
@media (max-width: 768px) {
    html body .journey-section .journey-timeline { display: block !important; padding: 40px 0 40px 40px !important; }
    html body .journey-section .journey-timeline::before { left: 20px !important; }
    html body .journey-section .journey-card { width: auto !important; margin: 0 0 30px 0 !important; }
    html body .journey-section .journey-card::before, 
    html body .journey-section .journey-card::after { display: none !important; }
}

/* Special (full-width) card: keep label, hide connector line */
html body .journey-section .journey-card.special::before { display: none !important; }
html body .journey-section .journey-card.special::after {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
}

