/* History Page - Article Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    line-height: 1.7;
    color: #2c3e50;
    background-color: #d9cfc0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Hero Section */
.hero-section {
    height: 60vh;
    min-height: 400px;
    background: radial-gradient(ellipse at 50% 30%, #5C3A00 70%, #6d4603 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: #F5F5DC;
    margin: 0 auto;
}

/* Article Container */
.history-article {
    max-width: min(900px, 95vw);
    width: 100%;
    margin: 0 auto;
    background: #FFFBE9;
    box-shadow: 0 4px 40px rgba(100, 60, 10, 0.25), 0 1px 8px rgba(100, 60, 10, 0.12);
    position: relative;
    top: -50px;
    z-index: 10;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(180, 150, 100, 0.35);
}

.article-container {
    padding: 60px min(80px, 5vw);
    background: #fff;
    border-radius: 6px;
    box-shadow:
        0 2px 8px rgba(90, 50, 10, 0.08),
        0 8px 24px rgba(90, 50, 10, 0.12),
        0 20px 48px rgba(90, 50, 10, 0.10);
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.article-title {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #8B4513;
    font-size: 0.95rem;
    opacity: 0.8;
}

.author {
    font-style: italic;
}

.audio-playback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-audio {
    height: 32px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 20px;
    outline: none;
    border: 1px solid #8B4513;
}

.history-audio::-webkit-media-controls-panel {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 20px;
}

.history-audio::-webkit-media-controls-play-button,
.history-audio::-webkit-media-controls-pause-button {
    background-color: #FFFBE9;
    border-radius: 50%;
    margin: 0 8px;
}

.history-audio::-webkit-media-controls-timeline {
    background: rgba(255, 251, 233, 0.3);
    border-radius: 10px;
    margin: 0 8px;
}

.history-audio::-webkit-media-controls-current-time-display,
.history-audio::-webkit-media-controls-time-remaining-display {
    color: #FFFBE9;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.article-divider {
    width: 60px;
    height: 2px;
    background: #8B4513;
    margin: 0 auto;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    color: #8B4513;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #8B4513;
    border-radius: 2px;
}

.section-content {
    color: #5C3A00;
}

.lead-paragraph {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #8B4513;
    line-height: 1.6;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-left: 3px solid #e2e8f0;
    position: relative;
}

.timeline-marker {
    background: #8B4513;
    color: #FFFBE9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    left: -45px;
    top: -1rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.3);
}

.timeline-content {
    padding-left: 2rem;
    flex: 1;
}

/* Special Content Boxes */
.founders-spotlight, .milestone-box, .transformation-highlight, .modern-dla {
    background: linear-gradient(135deg, #FFFBE9 0%, #F5F5DC 100%);
    border-left: 4px solid #8B4513;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.1);
}

.founders-spotlight::before {
    content: '👥';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #FFFBE9;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 2px solid #8B4513;
}

.milestone-box {
    background: linear-gradient(135deg, #F5F5DC 0%, #E6DCC6 100%);
    border-left-color: #CD853F;
}

.milestone-box::before {
    content: '🏆';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #FFFBE9;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 2px solid #CD853F;
}

.transformation-highlight {
    background: linear-gradient(135deg, #F5F5DC 0%, #DEB887 100%);
    border-left-color: #A0522D;
}

.transformation-highlight::before {
    content: '✨';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #FFFBE9;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 2px solid #A0522D;
}

.milestone-year {
    font-size: 2rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.milestone-content h3, .milestone-content h4 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.founders-spotlight h3 {
    padding-top: 1rem;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #FFFBE9;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #5C3A00;
    font-weight: 500;
}

.stat-year {
    display: block;
    font-size: 0.85rem;
    color: #8B4513;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Expansion Timeline */
.expansion-timeline {
    margin: 3rem 0;
}

.expansion-timeline h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #8B4513;
    font-size: 1.5rem;
}

.expansion-timeline .timeline-item h4 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Current Stats Highlight */
.current-stats {
    background: linear-gradient(135deg, #8B4513 0%, #5C3A00 100%);
    color: #FFFBE9;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.2);
}

.stat-highlight .stat-number {
    color: #FFFBE9;
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.stat-highlight .stat-label {
    color: #F5F5DC;
    font-size: 1.2rem;
    font-weight: 500;
}

.stat-description {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Article Conclusion */
.article-conclusion {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e9ecef;
}

.inspiring-quote {
    background: #F5F5DC;
    border-left: 4px solid #8B4513;
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #5C3A00;
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.1);
}

.inspiring-quote::before {
    content: '"';
    font-size: 4rem;
    color: #8B4513;
    position: absolute;
    top: -10px;
    left: 15px;
    line-height: 1;
    opacity: 0.3;
}

.final-message {
    text-align: center;
    margin-top: 3rem;
}

.final-message h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.final-message p {
    font-size: 1.2rem;
    color: #8B4513;
    font-weight: 500;
    font-style: italic;
}

/* Typography Enhancements */
p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

strong {
    color: #8B4513;
    font-weight: 600;
}

em {
    color: #8B4513;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .article-container {
        padding: 40px min(30px, 3vw);
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-marker {
        position: static;
        margin-bottom: 1rem;
        display: inline-block;
    }
    
    .timeline-item {
        flex-direction: column;
        border-left: none;
        border-top: 3px solid #e2e8f0;
        padding-top: 2rem;
    }
    
    .timeline-content {
        padding-left: 0;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .founders-spotlight, .milestone-box, .transformation-highlight, .modern-dla {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .current-stats {
        padding: 2rem 1.5rem;
    }
    
    .stat-highlight .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .article-container {
        padding: 30px min(20px, 2vw);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
}
 