/* ===================================================
   KURUMSAL TEKNOLOJİ - PIXEL PERFECT STYLES
   =================================================== */

.tech-page { 
    background: #FFFFFF; 
    overflow-x: hidden; 
}

/* Hero Ayarı (Ana sayfa ile uyumlu, 200px alan) */
.tech-hero-adjustment {
    height: 320px !important;
    position: relative;
    width: 100%;
}

.tech-hero-bg {
    position: absolute;
    width: 1880px;
    height: 304px;
    left: calc(50% - 1880px/2);
    top: 70px;
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.67) 0%, rgba(0, 0, 0, 0) 130.05%), 
                url('/images/hakkimizda-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    pointer-events: none;
}

@media (max-width: 1880px) {
    .tech-hero-bg {
        width: calc(100% - 40px);
        max-width: 1880px;
        left: 20px;
        right: 20px;
    }
}

.tech-hero-title {
    font-family: 'Radio Canada Big', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 46px;
    line-height: 100%;
    letter-spacing: 0.5%;
    color: #FFFFFF;
    margin: 0;
    width: 1460px;
    max-width: calc(100% - 40px);
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 1880px) {
    .hero-container .hero-social-frame {
        left: auto;
        right: 20px;
    }
}

/* Social Media Icons */
.hero-container .hero-social-frame {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 15px;
    position: absolute;
    width: 270px;
    height: 42px;
    left: 1420px;
    top: 201px;
    z-index: 10;
    pointer-events: auto;
}

.hero-container .hero-social-circle {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 57px;
    flex: none;
    order: 0;
    flex-grow: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.hero-container .hero-social-circle:hover {
    background: #658004;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-container .hero-social-circle img {
    width: 22px;
    height: 22px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Grid Yapısı (1460px Dikey Hiza) */
.tech-grid-section {
    padding-top: 150px;
    padding-bottom: 100px;
}

.container-1460 {
    width: 1460px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.tech-pixel-grid {
    display: grid;
    grid-template-columns: repeat(2, 720px); /* Figma: 720px width */
    gap: 20px; /* Figma koordinat farkı (970 - 230 - 720 = 20px) */
    row-gap: 50px; /* Kartlar arası dikey boşluk */
    justify-content: flex-start;
    width: 100%;
    max-width: 1460px;
    margin: 0;
    padding: 0;
}

.tech-card {
    box-sizing: border-box;
    width: 720px;
    height: 247.66px; /* Figma Exact Height */
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 72px 42px; /* Figma Padding */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tech-card:hover {
    border-color: #658004;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tech-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.tech-card-content h3 {
    width: 476px; /* Figma Spec */
    font-family: 'Radio Canada Big';
    font-weight: 600; /* Semi-bold */
    font-size: 37px; /* Figma Font Size */
    line-height: 52px;
    color: #000000;
    margin: 0;
}

/* Yeşil Ok Butonu */
.tech-arrow-circle {
    width: 82.11px;
    height: 82.11px;
    background: #658004;
    border-radius: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.tech-card:hover .tech-arrow-circle {
    transform: scale(1.1);
}

.tech-arrow-circle img {
    width: 46px;
    height: 46px;
    filter: brightness(0) invert(1); /* Beyaz ok */
}

/* ===================================================
   MOBİL RESPONSIVE
   =================================================== */

@media (max-width: 1480px) {
    .tech-pixel-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    
    .tech-card { 
        width: 100%; 
        max-width: 720px;
        height: auto; 
        min-height: 247.66px;
        padding: 40px 30px; 
    }
    
    .tech-card-content h3 { 
        width: auto; 
        font-size: 28px; 
        line-height: 1.2; 
    }
}

@media (max-width: 992px) {
    /* Header top değerini kaldır (diğer sayfalarla uyum için) */
    .tech-page .figma-header {
        top: 0 !important;
    }

    /* Hero Hizalaması (Hakkimizda ile aynı) */
    .hero-section.tech-hero-adjustment {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Hero Arka Planı (Hakkimizda ile aynı) */
    .tech-hero-bg { 
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        left: 0 !important;
        right: 0 !important;
        top: -50px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
        padding-bottom: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
    }
    
    .tech-hero-title { 
        font-family: 'Radio Canada Big' !important;
        font-weight: 700 !important;
        font-size: 32px !important;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        position: relative !important;
        z-index: 2;
        margin: 0 !important;
        padding: 0 20px !important;
        top: 0 !important;
    }

    .hero-container .hero-social-frame {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        top: 100px;
        width: auto;
        margin: 0;
        justify-content: center;
        gap: 12px;
        z-index: 10;
    }

    .hero-container .hero-social-circle {
        width: 40px;
        height: 40px;
    }

    .hero-container .hero-social-circle img {
        width: 20px;
        height: 20px;
    }

    .tech-grid-section {
        padding-top: 0 !important;
        padding-bottom: 40px !important;
    }

    .container-1460 {
        margin: 0 auto;
        padding: 0 20px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .tech-pixel-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .tech-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        min-height: 200px;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .tech-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100% !important;
    }

    .tech-card-content h3 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 24px;
        line-height: 1.3;
    }

    .tech-arrow-circle { 
        width: 60px; 
        height: 60px; 
        align-self: flex-end;
    }

    .tech-arrow-circle img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .tech-hero-title {
        font-family: 'Radio Canada Big' !important;
        font-weight: 700 !important;
        font-size: 26px !important;
    }

    .hero-container .hero-social-frame {
        top: 100px;
        gap: 10px;
    }

    .hero-container .hero-social-circle {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .hero-container .hero-social-circle img {
        width: 18px;
        height: 18px;
    }

    .tech-card-content h3 {
        font-size: 20px;
    }

    .tech-arrow-circle {
        width: 50px;
        height: 50px;
    }

    .tech-arrow-circle img {
        width: 24px;
        height: 24px;
    }
}

/* 320px için ekstra düzenlemeler */
@media (max-width: 320px) {
    .container-1460 {
        padding: 0 15px !important;
        margin: 40px auto !important;
    }

    .hero-container .hero-social-frame {
        top: 100px;
        gap: 8px;
    }

    .hero-container .hero-social-circle {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .hero-container .hero-social-circle img {
        width: 14px;
        height: 14px;
    }

    .tech-pixel-grid {
        gap: 15px !important;
    }

    .tech-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        min-height: auto !important;
    }

    .tech-card-content {
        gap: 15px !important;
    }

    .tech-card-content h3 {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }

    .tech-arrow-circle {
        width: 45px !important;
        height: 45px !important;
    }

    .tech-arrow-circle img {
        width: 20px !important;
        height: 20px !important;
    }
    .mobile-sidebar.active {
        transform: translateX(0) !important;
        visibility: visible;
        margin: 0 !important;
        padding: 0 !important;
        top: -10px !important;
        left: -10px !important; 
    }
}

