/* =========================================
   STORY PAGE SPECIFIC STYLES
========================================= */

body {
    background-color: #f9f9f9;
    color: var(--text-dark, #333);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* General Section Styling */
section {
    padding: 60px 20px;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-container.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2.2rem;
    color: var(--brand-red, #d32f2f);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.text-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
}

/* Timeline Section */
.timeline-section {
    background-color: #ffffff;
    padding: 80px 20px;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--brand-red, #d32f2f);
    text-transform: uppercase;
    margin-bottom: 50px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid var(--brand-orange, #ff6600);
    padding-left: 30px;
    position: relative;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* The Timeline Dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px; /* Centers dot on the border */
    top: 0;
    width: 18px;
    height: 18px;
    background-color: var(--brand-red, #d32f2f);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--brand-orange, #ff6600);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    color: var(--text-dark, #333);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #555;
    margin: 0;
}

.timeline-content p + p {
    margin-top: 10px;
}

/* Philosophy Section */
.philosophy-section {
    background-color: #ffffff;
    text-align: center;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-content h2 {
    font-size: 2.2rem;
    color: var(--brand-red, #d32f2f);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.philosophy-content p {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
}

/* Call To Action */
.cta {
    text-align: center;
    background-color: #f4f4f4;
    padding: 80px 20px;
    border-top: 1px solid #ddd;
}

.cta h2 {
    font-size: 2rem;
    color: var(--text-dark, #333);
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container, 
    .content-container.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -31px;
    }
}
