﻿.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

    .page-header h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .page-header p {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
    }

/* About Hero */
.about-hero {
    padding: 100px 0;
    background: var(--bg-primary);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 700;
}

.lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.6;
}

.about-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-hero-image img {
    width: 100%;
    border-radius: 15px;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--primary-color);
}

    .mission-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }

.mission-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }

.timeline-year {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    margin: 0 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex: 1;
    border: 2px solid var(--border-color);
}

    .timeline-content h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-weight: 600;
    }

    .timeline-content p {
        color: var(--text-secondary);
        line-height: 1.6;
        margin: 0;
    }

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--primary-color);
}

    .team-member:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-color);
}

    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.team-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-weight: 600;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    border-radius: 15px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

    .advantage-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        border-color: var(--primary-color);
    }

.advantage-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.advantage-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 10px;
}

.advantage-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* About CTA */
.about-cta {
    padding: 100px 0;
    background: var(--bg-secondary); /* Footer'dan farklı renk */
    color: var(--text-primary); /* Tema uyumlu yazı rengi */
    text-align: center;
    border-bottom: 3px solid var(--primary-color); /* Footer'dan ayıran çizgi */
}

    .about-cta h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 700;
        color: var(--text-primary); /* Tema uyumlu */
    }

    .about-cta p {
        font-size: 1.2rem;
        margin-bottom: 40px;
        color: var(--text-secondary); /* Tema uyumlu */
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.large {
    padding: 18px 40px;
    font-size: 1.2rem;
}


.company-story-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.story-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.story-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 135deg, rgba(41, 61, 129, 0.85) 0%, rgba(18, 42, 80, 0.75) 100% );
}


.story-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

    .story-content h2 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

.story-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.story-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.story-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
}

    .story-stat .number {
        display: block;
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: white;
    }

    .story-stat .label {
        font-size: 1rem;
        opacity: 0.9;
        color: white;
    }

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cert-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--border-color);
    position: relative;
}

    .cert-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        border-color: var(--accent-color);
    }

.cert-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .cert-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.cert-card:hover .cert-image img {
    transform: scale(1.05);
}

.cert-content {
    padding: 25px;
    text-align: center;
}

    .cert-content h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--text-primary);
        font-weight: 600;
    }

    .cert-content p {
        color: var(--text-secondary);
        line-height: 1.6;
        margin: 0;
        font-size: 0.95rem;
    }

/* Certificate overlay efekti */
.cert-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 135deg, rgba(41, 61, 129, 0.2) 0%, rgba(18, 42, 80, 0.1) 100% );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-image::before {
    opacity: 1;
}

/* Dark theme overlay */
[data-theme="dark"] .cert-image::before {
    background: linear-gradient( 135deg, rgba(232, 77, 93, 0.2) 0%, rgba(194, 51, 70, 0.1) 100% );
}

/* Dark theme adjustments */
[data-theme="dark"] .story-overlay {
    background: none; /* Overlay yok */
}

/* Dark theme'de text daha görünür olsun */
[data-theme="dark"] .story-content {
    background: rgb(15 23 42); /* Hafif siyah arka plan */
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Veya tamamen temiz yaklaşım */
[data-theme="dark"] .story-overlay {
    display: none; /* Overlay'i gizle */
}

[data-theme="dark"] .story-content h2,
[data-theme="dark"] .story-subtitle {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8); /* Güçlü gölge */
}

[data-theme="dark"] .cert-card::before {
    background: linear-gradient( 90deg, transparent, rgba(232, 77, 93, 0.1), transparent );
}


/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

        .page-header h1 {
            font-size: 2.5rem;
        }


    .about-hero {
        padding: 0px 0 40px; 
    }

    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-hero-text h2 {
        font-size: 2rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 70px;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .timeline-content {
        margin: 0;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .story-content h2 {
        font-size: 2.5rem;
    }

    .story-subtitle {
        font-size: 1.2rem;
    }

    .story-stats {
        gap: 30px;
    }

    .story-stat {
        min-width: 120px;
        padding: 20px 15px;
    }

        .story-stat .number {
            font-size: 2.5rem;
        }

    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .cert-image {
        height: 150px;
    }

    .cert-content {
        padding: 20px;
    }

    .about-hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        color: var(--text-primary);
        font-weight: 700;
        margin-top: 80px; /* Header boşluğu için */
    }
}

@media (max-width: 480px) {

    .about-hero {
        padding: 0px 0 30px; /* Daha da küçült */
    }

    .about-hero-text h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-cta h2 {
        font-size: 2rem;
    }

    .story-content h2 {
        font-size: 2rem;
    }

    .story-stats {
        flex-direction: column;
        align-items: center;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .cert-content h4 {
        font-size: 1.2rem;
    }
}
