
/* Story Page Styles */

/* Hero Section */
.story-hero {
    padding: 180px 0 100px;
    background: linear-gradient(
        135deg,
        var(--bg-off-white) 0%,
        rgba(255, 246, 240, 1) 100%
    );
    text-align: center;
}

.story-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mission-text {
    flex: 1;
}

.mission-text h2 {
    margin-bottom: 30px;
}

.mission-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.mission-image {
    flex: 1;
}

.rounded-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-off-white), var(--bg-light));
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: 1px solid var(--border-light);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--bg-light) 0%,
        var(--bg-off-white) 100%
    );
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(
        45deg,
        var(--primary-light) 0%,
        var(--primary) 100%
    );
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Milestones Section */
.milestones-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-off-white));
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary));
    transform: translateX(-50%);
}

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

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

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    display: inline-block;
    padding: 5px 10px;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
}

/* Join Us Section */
.join-us-section {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(250, 80, 3, 0.05) 0%,
        rgba(255, 122, 66, 0.1) 100%
    );
    text-align: center;
}

.join-us-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-us-content h2 {
    margin-bottom: 20px;
}

.join-us-content p {
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mission-content {
        flex-direction: column;
    }
    
    .mission-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
}

@media (max-width: 768px) {
    .story-hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}