/* AYTECH - Referanslar sayfası özel CSS */
/* Bu dosya sadece /tr/referanslar sayfasında yüklenir. */

.reference-page .reference-list-section{
    padding:34px 0 90px;
    background:#f8fafc;
}

.reference-page-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    align-items:stretch;
}

.reference-page-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border-radius:24px;
    background:#fff;
    border:1px solid rgba(15,23,42,.10);
    box-shadow:0 14px 40px rgba(15,23,42,.075);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.reference-page-card:hover{
    transform:translateY(-4px);
    border-color:rgba(193,18,31,.24);
    box-shadow:0 22px 58px rgba(15,23,42,.13);
}

.reference-page-img{
    width:100%;
    aspect-ratio:16 / 10;
    padding:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#fff;
    border-bottom:1px solid rgba(15,23,42,.08);
    box-sizing:border-box;
}

.reference-page-img img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
    margin:0;
    padding:0;
    border:0;
    border-radius:14px;
    background:#fff;
    box-shadow:none;
    filter:none;
    transform:none;
}

.reference-page-copy{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:21px 22px 23px;
    background:#fff;
    box-sizing:border-box;
}

.reference-page-copy span{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    margin:0 0 3px;
    padding:7px 10px;
    border-radius:999px;
    background:#f1f5f9;
    color:#b40f1a;
    font-size:11px;
    line-height:1;
    font-weight:900;
    letter-spacing:.05em;
    text-transform:uppercase;
    white-space:normal;
}

.reference-page-copy h2{
    margin:0;
    color:#0f172a;
    font-size:18px;
    line-height:1.32;
    font-weight:900;
    letter-spacing:-.02em;
}

.reference-page-copy h3{
    margin:0;
    color:#334155;
    font-size:14px;
    line-height:1.45;
    font-weight:800;
}

.reference-page-copy p{
    margin:2px 0 0;
    color:#64748b;
    font-size:14px;
    line-height:1.68;
}

.reference-page-link{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    max-width:100%;
    padding:10px 14px;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:850;
}

.reference-page-link:hover{
    background:#c1121f;
}

@media (max-width:980px){
    .reference-page-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:560px){
    .reference-page .reference-list-section{
        padding:26px 0 70px;
    }

    .reference-page-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .reference-page-img{
        aspect-ratio:4 / 3;
        padding:13px;
    }

    .reference-page-copy{
        padding:18px 18px 20px;
    }

    .reference-page-copy h2{
        font-size:17px;
    }
}
