/* About Page Specific Styles */

/* About Hero */
.about-hero {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.hero-image-container {
    margin-top: 3rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 0;
    background: var(--bg-dark-secondary);
}

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

.philosophy-card {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 0;
    position: relative;
    height: 280px;
    perspective: 1000px;
}

.philosophy-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.philosophy-card:hover .philosophy-card-inner {
    transform: rotateY(180deg);
}

.philosophy-card-front, .philosophy-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.philosophy-card-front {
    z-index: 2;
}

.philosophy-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--bg-card), rgba(99, 102, 241, 0.1));
    border-color: var(--primary-color);
}

.philosophy-card-back h4 {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.philosophy-card-back p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.philosophy-quote {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    background: var(--bg-dark);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: 2px solid var(--primary-color);
    z-index: 2;
    font-size: 0.875rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 5px;
    z-index: 1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem 2rem;
    margin-left: 60px;
    margin-top: 10px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 60px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background: var(--bg-dark-secondary);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
}

.story-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Interests Section */
.interests-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

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

.interest-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
}

.interest-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.interest-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.interest-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.interest-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .story-content {
        gap: 2rem;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .timeline-content {
        margin-left: 60px !important;
    }
}

@media (max-width: 768px) {
    .philosophy-card {
        height: 250px;
    }
    
    .philosophy-card-front, .philosophy-card-back {
        padding: 1.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quote-mark {
        font-size: 2.5rem;
    }
    
    .philosophy-quote {
        font-size: 1rem;
    }
    
    .philosophy-card-back h4 {
        font-size: 1.25rem;
    }
    
    .philosophy-card-back p {
        font-size: 0.9rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 30px;
        transform: translateX(-50%);
        top: -20px;
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        margin-left: 80px !important;
        margin-right: 0 !important;
        margin-top: 15px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        order: -1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .philosophy-card {
        height: 220px;
    }
    
    .philosophy-card-front, .philosophy-card-back {
        padding: 1.25rem;
    }
    
    .quote-mark {
        font-size: 2rem;
    }
    
    .philosophy-quote {
        font-size: 0.9rem;
    }
    
    .timeline-content {
        margin-left: 60px !important;
    }
    
    .timeline-marker {
        left: 20px;
        width: 12px;
        height: 12px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}