/* About Page CSS */

.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Story */
.about-story {
    padding: 80px 20px;
    background-color: white;
}

body.dark-mode .about-story,
body.dark-mode .values,
body.dark-mode .team,
body.dark-mode .timeline,
body.dark-mode .why-choose-us,
body.dark-mode .value-card,
body.dark-mode .team-card,
body.dark-mode .timeline-content,
body.dark-mode .reason-card,
body.dark-mode .cta-about {
    background-color: var(--surface-color);
    color: var(--text-dark);
}

body.dark-mode .value-card,
body.dark-mode .team-card,
body.dark-mode .timeline-content,
body.dark-mode .reason-card,
body.dark-mode .cta-about {
    background-color: var(--surface-elevated);
    border: 1px solid var(--border-color);
}

body.dark-mode .story-text p,
body.dark-mode .value-card p,
body.dark-mode .bio,
body.dark-mode .timeline-content p,
body.dark-mode .reason-card p,
body.dark-mode .cta-about p {
    color: var(--text-light);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image-large {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
    background-image: url('../pocetna%20slika/slika%20za%20veliki%20div.jfif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Values Section */
.values {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.15);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Section */
.team {
    background-color: white;
    padding: 80px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(196, 30, 58, 0.15);
}

.team-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > * {
    direction: ltr;
}

.timeline-year {
    text-align: right;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 1rem;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
}

.timeline-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* Why Choose Us */
.why-choose-us {
    background-color: white;
    padding: 80px 20px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.reason-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.reason-card:hover {
    background-color: white;
    box-shadow: 0 10px 25px rgba(196, 30, 58, 0.15);
    transform: translateY(-5px);
}

.reason-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reason-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.reason-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA About */
.cta-about {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-about h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-about p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-buttons .btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .timeline-container::before {
        display: none;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }

    .timeline-item > * {
        direction: ltr !important;
    }

    .timeline-year {
        text-align: left !important;
        margin-bottom: 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.5rem;
    }

    .story-text h2 {
        font-size: 1.5rem;
    }

    .cta-about h2 {
        font-size: 1.8rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }
}
