/* ==========================================================================
   Hostixo — Referanslarımız / References sayfası
   Tüm kurallar #ref-page sarmalayıcısına kilitlidir.
   Sayfaya özel bölümler:
     .ref-section → referans logo duvarı
     .ref-cta     → kapanış CTA bandı (Hızlı Destek bölümüyle aynı biçim/renk)
   Sayfa bannerı paylaşılan bileşenden gelir (assets/css/page-banner-common.css).
   Satır içi style/onclick yoktur.
   ========================================================================== */

/* ---------------------------------------------------------------- temel */
#ref-page *,
#ref-page *::before,
#ref-page *::after { box-sizing: border-box; }

#ref-page {
    color: #334155;
    background-color: #fff;
}

#ref-page img { max-width: 100%; height: auto; vertical-align: middle; border-style: none; }
#ref-page h1, #ref-page h2, #ref-page h3 { margin-top: 0; }
#ref-page p { margin-top: 0; }

#ref-page .ref-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

#ref-page #content { position: relative; }

/* ------------------------------------------------------ referans duvarı */
#ref-page .ref-section { padding: 62px 0 74px; }

#ref-page .ref-title {
    margin: 0 0 40px;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .2px;
    text-align: center;
    color: #0f172a;
}
#ref-page .ref-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0066cc 0%, #2db5f6 100%);
}

#ref-page .ref-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
}

#ref-page .ref-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}

#ref-page .ref-card img {
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    transition: transform .22s ease;
}

#ref-page .ref-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}
#ref-page .ref-card:hover img { transform: scale(1.03); }

/* ======================================================================
   KAPANIŞ CTA — "Size yardımcı olmak için buradayız!" bölümüyle aynı
   biçim ve renk: solda başlık + açıklama, sağda beyaz aksiyon kartı.
   ====================================================================== */
#ref-page .ref-cta {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background-color: #1c56b0;
    background-image:
        radial-gradient(900px 600px at 85% 15%, #63a4ff 0%, transparent 60%),
        linear-gradient(150deg, #0a3372 0%, #1c56b0 45%, #2f80ff 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

#ref-page .ref-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
}

#ref-page .ref-cta__left { flex: 1 1 60%; min-width: 280px; }

#ref-page .ref-cta__title {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .3px;
    color: #fff;
}

#ref-page .ref-cta__text {
    margin: 0;
    font-size: clamp(.95rem, 1.3vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
}

#ref-page .ref-cta__right {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

#ref-page .ref-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(10, 20, 40, .08);
    border-radius: 16px;
    background-color: #fff;
    color: #0b1220;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .2px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

#ref-page .ref-cta__btn:hover,
#ref-page .ref-cta__btn:focus {
    border-color: rgba(21, 88, 192, .35);
    background-color: #f8fbff;
    color: #0b1220;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

#ref-page .ref-cta__btn i { font-size: 1.05rem; line-height: 1; }

/* ======================================================================
   Duyarlı (responsive)
   ====================================================================== */
@media (max-width: 1199px) {
    #ref-page .ref-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    #ref-page .ref-section { padding: 52px 0 60px; }
    #ref-page .ref-title { margin-bottom: 32px; }
    #ref-page .ref-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    #ref-page .ref-card { min-height: 120px; padding: 14px; }
    #ref-page .ref-card img { max-height: 78px; }

    #ref-page .ref-cta__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #ref-page .ref-cta__right {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 18px;
    }
    #ref-page .ref-cta__btn {
        justify-content: center;
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 479px) {
    #ref-page .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    #ref-page .ref-card,
    #ref-page .ref-card img,
    #ref-page .ref-cta__btn { transition: none; }
}
