/* About Page Specific Styles */

.about-main {
    background-color: #F8F4E3;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, #F8F4E3 0%, #EBC42A 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* CSS Injection Koruması - Güvenli pattern */
    background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    color: #1C1C1C;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
    background-color: #F8F4E3;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 2rem;
    position: relative;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #EBC42A;
    border-radius: 2px;
}

.story-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(28, 28, 28, 0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 5rem 0;
    background-color: #F8F4E3;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card,
.vision-card {
    background-color: #F8F4E3;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(28, 28, 28, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(28, 28, 28, 0.12);
    border-color: #EBC42A;
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: #EBC42A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 2rem;
    color: #1C1C1C;
}

.mission-card:hover .card-icon,
.vision-card:hover .card-icon {
    background-color: #1C1C1C;
    transform: scale(1.1);
}

.mission-card:hover .card-icon i,
.vision-card:hover .card-icon i {
    color: #EBC42A;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 1.5rem;
}

.mission-card p,
.vision-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: #F8F4E3;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background-color: #F8F4E3;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(28, 28, 28, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(28, 28, 28, 0.12);
    border-color: #EBC42A;
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: #EBC42A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.value-icon i {
    font-size: 1.5rem;
    color: #1C1C1C;
}

.value-item:hover .value-icon {
    background-color: #1C1C1C;
    transform: scale(1.1);
}

.value-item:hover .value-icon i {
    color: #EBC42A;
}

.value-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: #F8F4E3;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background-color: #F8F4E3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(28, 28, 28, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(28, 28, 28, 0.12);
}

.member-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem;
}

.member-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 0.5rem;
}

.position {
    color: #EBC42A;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.bio {
    color: #666;
    line-height: 1.6;
}

/* Milestones Section */
.milestones-section {
    padding: 5rem 0;
    background-color: #F8F4E3;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #EBC42A;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    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-color: #EBC42A;
    color: #1C1C1C;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    background-color: #F8F4E3;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(28, 28, 28, 0.08);
    margin: 0 2rem;
    flex: 1;
    position: relative;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1C1C1C 0%, #333 100%);
    color: #F8F4E3;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    width: 100%;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #EBC42A;
    margin-bottom: 0.75rem;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 1rem;
    color: #F8F4E3;
    font-weight: 500;
}

/* Contact CTA Section */
.contact-cta {
    padding: 5rem 0;
    background-color: #F8F4E3;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 1 !important; /* styles.css'teki opacity: 0'ı override et */
    transform: translateX(0) !important; /* styles.css'teki transform'u override et */
}

.cta-button.primary {
    background-color: #EBC42A;
    color: #1C1C1C;
}

.cta-button.primary:hover {
    background-color: #1C1C1C;
    color: #EBC42A;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(28, 28, 28, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: #1C1C1C;
    border: 2px solid #1C1C1C;
}

.cta-button.secondary:hover {
    background-color: #1C1C1C;
    color: #F8F4E3;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-content {
        gap: 3rem;
    }
    
    .mission-vision-grid {
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .story-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 20px;
        margin-bottom: 2rem;
    }
    
    .timeline-year {
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }
    
    .timeline-content {
        margin: 0;
        width: calc(100% - 40px);
        margin-left: 20px;
        position: relative;
        z-index: 1;
    }
    
    .stats-section {
        height: 32vh;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .story-section,
    .mission-vision,
    .values-section,
    .team-section,
    .milestones-section,
    .stats-section,
    .contact-cta {
        padding: 3rem 0;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .timeline-item {
        margin-bottom: 1.5rem;
    }
    
    .timeline-content {
        width: calc(100% - 30px);
        margin-left: 15px;
        padding: 1.5rem;
    }
    
    .timeline-year {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .stats-section {
        height: 35vh;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.value-item:hover {
    background-color: rgba(235, 196, 42, 0.05);
}

.team-member:hover {
    background-color: rgba(235, 196, 42, 0.05);
}

/* Focus States for Accessibility */
.cta-button:focus,
.value-item:focus,
.team-member:focus {
    outline: 2px solid #EBC42A;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .about-hero {
        background: white !important;
        color: black !important;
    }
    
    .stats-section {
        background: white !important;
        color: black !important;
    }
    
    .cta-button {
        border: 1px solid black !important;
        color: black !important;
    }
}

