/* Laura Chou Portfolio - About Page Styles */

/* About Hero Section */
.about-hero {
    padding: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    font-size: 1.2rem;
    color: #b8c6db;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Content Sections */
.about-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.skill-icon {
    font-size: 3rem;
    color: var(--tech-blue);
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--tech-blue);
}

.skill-card p {
    color: #b8c6db;
    line-height: 1.6;
}

/* Journey Section */
.journey-section {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.journey-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.journey-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; /* 確保清除浮動 */
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline::after {
    content: '';
    display: table;
    clear: both;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
    clear: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 15px;
    height: 15px;
    background: var(--accent-gradient);
    border-radius: 50%;
    border: 3px solid #1a1a2e;
}

.timeline-item:nth-child(odd) {
    float: left;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(odd)::before {
    right: -7.5px;
}

.timeline-item:nth-child(even) {
    float: right;
    padding-left: 2rem;
    text-align: left;
}

.timeline-item:nth-child(even)::before {
    left: -7.5px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: rgba(0, 255, 255, 0.3);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: rgba(0, 255, 255, 0.3);
}

.timeline-content .tech-card-icon {
    font-size: 2.5rem;
    color: var(--tech-blue);
    margin-bottom: 1rem;
    display: block;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-description {
    color: #b8c6db;
    line-height: 1.6;
    font-size: 1rem;
}

.timeline-date {
    color: var(--tech-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: #b8c6db;
    margin-bottom: 1rem;
}

.timeline-description {
    color: #b8c6db;
    line-height: 1.6;
}

/* About Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b8c6db;
    font-weight: 500;
}

/* Personal Info */
.personal-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.info-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--tech-blue);
}

.info-content p {
    color: #b8c6db;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 1rem !important;
    }
    
    .timeline-content::before {
        left: -20px !important;
        border-right-color: rgba(0, 255, 255, 0.3) !important;
        border-left-color: transparent !important;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.page-container {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 20px rgba(79, 172, 254, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(79, 172, 254, 0.8)); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b8c6db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tech-cards {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-cards h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-top: 10px;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tech-card:hover {
    transform: translateY(-10px) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    border-color: var(--tech-blue);
}

.tech-card:hover::before {
    opacity: 0.1;
}

.tech-card-icon {
    font-size: 3rem;
    color: var(--tech-blue);
    margin-bottom: 1rem;
    display: block;
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(-10px) rotateZ(5deg); }
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.tech-card p {
    color: #b8c6db;
    line-height: 1.6;
}

.skill-bar {
    background: rgba(0, 255, 255, 0.2);
    border-radius: 25px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 25px;
    transition: width 2s ease-in-out;
    width: 0%;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-top: 2px solid var(--tech-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100% !important;
        float: none !important;
        padding-left: 60px !important;
        padding-right: 1rem !important;
        text-align: left !important;
    }
    
    .timeline-item::before {
        left: 22.5px !important;
        right: auto !important;
    }
    
    .timeline-content::before {
        left: -20px !important;
        right: auto !important;
        border-right-color: rgba(0, 255, 255, 0.3) !important;
        border-left-color: transparent !important;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .page-container {
        padding-top: 0;
        padding-bottom: 120px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .about-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .about-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        width: 100% !important;
        float: none !important;
        padding-left: 50px !important;
        padding-right: 1rem !important;
        text-align: left !important;
    }
    
    .timeline-item::before {
        left: 17.5px !important;
        right: auto !important;
    }
    
    .timeline-content::before {
        left: -20px !important;
        right: auto !important;
        border-right-color: rgba(0, 255, 255, 0.3) !important;
        border-left-color: transparent !important;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .skill-card {
        padding: 1rem;
    }
    
    .skill-icon {
        font-size: 2.5rem;
    }
    
    .skill-card h3 {
        font-size: 1.1rem;
    }
    
    .timeline-item {
        width: 100% !important;
        float: none !important;
        padding-left: 40px !important;
        padding-right: 1rem !important;
        text-align: left !important;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 12.5px !important;
        right: auto !important;
    }
    
    .timeline-content::before {
        left: -20px !important;
        right: auto !important;
        border-right-color: rgba(0, 255, 255, 0.3) !important;
        border-left-color: transparent !important;
    }
    
    .tech-card h3 {
        font-size: 1.1rem;
    }
    
    .tech-card p {
        font-size: 0.9rem;
    }
}
