/* ===================================
   Hakkımızda Page Styles
   ================================== */

/* Header Inner (for subpages) */
.header-inner {
    background: var(--dark);
    position: relative;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 25vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(227, 24, 55, 0.4) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


.page-desc {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 10px;
    opacity: 0.5;
}

.breadcrumb span {
    color: var(--primary);
}

/* Story Section - Unique Design */
.story-section {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E31837' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.story-content {
    color: #fff;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.story-badge .year {
    background: linear-gradient(135deg, #E31837 0%, #C41230 100%);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.story-badge .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.story-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
    margin-bottom: 30px;
    border-radius: 2px;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.story-text strong {
    color: var(--primary);
    font-weight: 600;
}

.story-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.story-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.story-stat-card:hover {
    background: rgba(227, 24, 55, 0.1);
    border-color: rgba(227, 24, 55, 0.3);
    transform: translateY(-5px);
}

.story-stat-card i {
    font-size: 24px;
    color: var(--primary);
}

.story-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.story-stat-card .stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.story-stat-card .stat-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Story Image */
.story-image {
    position: relative;
}

.story-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.story-img-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.story-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.2) 0%, transparent 50%);
}

.story-experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: linear-gradient(135deg, #E31837 0%, #C41230 100%);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(227, 24, 55, 0.4);
}

.story-experience-badge .exp-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.story-experience-badge .exp-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

/* About Intro Section (keeping for backwards compatibility) */
.about-intro {
    padding: 100px 0;
    background: var(--white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-images {
    position: relative;
}

.about-intro-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-intro-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-intro-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-intro-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro-experience {
    position: absolute;
    top: 30px;
    left: -30px;
    background: linear-gradient(135deg, #E31837 0%, #C41230 100%);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(227, 24, 55, 0.4);
}

.about-intro-experience .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.about-intro-experience .exp-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.about-intro-content .section-badge {
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1) 0%, rgba(227, 24, 55, 0.05) 100%);
    color: var(--primary);
    border: 1px solid rgba(227, 24, 55, 0.2);
}

.about-intro-content .section-title {
    color: var(--dark);
}

.about-intro-content .about-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.about-stat .stat-label {
    font-size: 14px;
    color: #777;
}

/* Vision & Mission Section */
.vision-mission {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 50%, #FEF5E7 100%);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vm-card {
    background: #FFFFFF;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(227, 24, 55, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E31837 0%, #C41230 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.3);
}

.vm-icon i {
    font-size: 32px;
    color: #FFFFFF;
}

.vm-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.vm-card p {
    color: #555;
    line-height: 1.8;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--white);
}

.values-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-section .section-badge {
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1) 0%, rgba(227, 24, 55, 0.05) 100%);
    color: var(--primary);
    border: 1px solid rgba(227, 24, 55, 0.2);
}

.values-section .section-title {
    color: var(--dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    padding: 40px 30px;
    background: #FAFAFA;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.value-card:hover {
    background: #FFFFFF;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(227, 24, 55, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1) 0%, rgba(227, 24, 55, 0.05) 100%);
    border-radius: 12px;
}

.value-icon i {
    font-size: 24px;
    color: var(--primary);
}

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* Architecture Section */
.architecture-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 50%, #FEF5E7 100%);
}

.architecture-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.architecture-section .section-badge {
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1) 0%, rgba(227, 24, 55, 0.05) 100%);
    color: var(--primary);
    border: 1px solid rgba(227, 24, 55, 0.2);
}

.architecture-section .section-title {
    color: var(--dark);
}

.architecture-section .section-desc {
    color: #666;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.arch-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.arch-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arch-item:hover img {
    transform: scale(1.1);
}

.arch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arch-item:hover .arch-overlay {
    opacity: 1;
}

.arch-overlay span {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
}

/* Büyük resim özelliği kaldırıldı - eşit boyutlu grid */

/* Ted Group Section */
.ted-group {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.ted-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ted-group-content .section-badge {
    background: rgba(227, 24, 55, 0.2);
    color: var(--primary);
    border: 1px solid rgba(227, 24, 55, 0.3);
}

.ted-group-content .section-title {
    color: var(--white);
}

.ted-group-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

.ted-features {
    list-style: none;
    margin-bottom: 30px;
}

.ted-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.ted-features li i {
    color: var(--gold);
    font-size: 14px;
}

.ted-group-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ted-group-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* About CTA Section */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #E31837 0%, #C41230 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-content .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-content .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
}

/* ===================================
   Certificates Section
   ================================== */
.certificates-section {
    padding: 100px 0;
    background: #fff;
    color: #333;
    /* Genel metin rengi */
}

.certificates-section .section-title {
    color: #222;
}

.certificates-section .section-desc {
    color: #666;
}

.certificates-section .section-badge {
    color: var(--primary);
    background: rgba(227, 24, 55, 0.1);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cert-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: var(--transition-normal);
    aspect-ratio: 1/1.4;
    cursor: pointer;
    background: #fff;
    display: block;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.cert-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

.cert-item:hover img {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 24, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-item:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay i {
    font-size: 2rem;
    color: #fff;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.cert-item:hover .cert-overlay i {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 992px) {
    .page-title {
        font-size: 3rem;
    }

    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-content {
        order: 1;
    }

    .story-image {
        order: 0;
    }

    .story-stats {
        flex-wrap: wrap;
    }

    .story-stat-card {
        flex: 1 1 calc(50% - 10px);
    }

    .about-intro-grid,
    .ted-group-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .vm-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-grid {
        gap: 15px;
    }

    .arch-item {
        height: 220px;
    }
}


@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 350px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .about-intro,
    .vision-mission,
    .values-section,
    .architecture-section,
    .story-section,
    .ted-group,
    .about-cta {
        padding: 60px 0;
    }

    .story-title {
        font-size: 2.5rem;
    }

    .story-stats {
        gap: 10px;
    }

    .story-stat-card {
        padding: 15px;
        flex: 1 1 100%;
    }

    .story-img-wrapper img {
        height: 350px;
    }

    .story-experience-badge {
        left: 10px;
        bottom: -20px;
        padding: 20px;
    }

    .story-experience-badge .exp-num {
        font-size: 2rem;
    }

    .about-intro-experience {
        left: 10px;
        top: 10px;
    }

    .about-intro-img-secondary {
        right: 10px;
        bottom: -20px;
        width: 120px;
        height: 120px;
    }

    .architecture-grid {
        grid-template-columns: 1fr;
    }

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .arch-item.arch-large {
        grid-column: span 1;
    }

    .arch-item {
        height: 180px;
    }
}