/* =========================================================
   TRB2 İklim Platformu — İÇ SAYFA stilleri (icsayfa.css)
   index.html'deki header/footer yapısına uyumlu; slider yok.
   Bu dosya iklim.css'ten SONRA yüklenir (override'lar geçerli olsun).
   ========================================================= */

/* ---------- Header: index ile aynı (HERO içinde, banner üzerine biner) ----------
   Eski "statik kompakt band" yaklaşımı kaldırıldı. Header artık iklim.css'teki
   base kurallarla (position:absolute, header.png zemin) index.html ile birebir
   aynı davranır; .icsayfa-banner zemini de slider'ın yerini alır. */

/* NOT: İç sayfa header'ı index.html ile birebir aynıdır; slogan (caption) ve
   ayraç çizgi de aynen gösterilir. Bu yüzden eski "gizle" ve "logoları küçült"
   override'ları kaldırıldı — tüm header stilleri iklim.css'ten gelir. */

/* ---------- Sayfa başlığı bandı (banner) ----------
   Header HERO içinde position:absolute olduğundan (index ile aynı), banner'ın
   üst boşluğu header yüksekliğini (≈225px) karşılayacak şekilde ayarlanır. */
.icsayfa-banner {
    position: relative;
    background: linear-gradient(to right, #6fb2d2 0%, #6fa9c6 40%, #df5f55 72%, #e85a50 100%);
    padding: 300px 0 56px;                /* üstte absolute header + slogan (caption) için pay */
    overflow: hidden;
}
.icsayfa-banner .container { position: relative; z-index: 3; }

.icsayfa-banner-title {
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.1;
    letter-spacing: .5px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

/* Breadcrumb */
.icsayfa-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: 'Lato', sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .9);
}
.icsayfa-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    opacity: .92;
    transition: opacity .2s ease;
}
.icsayfa-breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.icsayfa-breadcrumb .sep { opacity: .55; margin: 0 2px; }
.icsayfa-breadcrumb .current { color: #fff; font-weight: 600; }

/* ---------- İçerik alanı ---------- */
.icsayfa-content {
    background: #ffffff;
    padding: 30px 0 80px;
}

/* Tipografi */
.icsayfa-article {
    font-family: 'Lato', sans-serif;
    color: #33363a;
    font-size: 16px;
    line-height: 1.85;
}
.icsayfa-article h2,
.icsayfa-article h3 {
    font-family: 'Lato', sans-serif;
    color: #2b2d31;
    font-weight: 700;
    line-height: 1.2;
    margin: 1.8rem 0 .9rem;
}
.icsayfa-article h2 { font-size: clamp(22px, 2.2vw, 30px); }
.icsayfa-article h3 { font-size: clamp(19px, 1.8vw, 23px); }
.icsayfa-article h2:first-child,
.icsayfa-article h3:first-child { margin-top: 0; }
.icsayfa-article p { margin: 0 0 1.1rem; }
.icsayfa-article a { color: #df5f55; }
.icsayfa-article ul,
.icsayfa-article ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.icsayfa-article li { margin-bottom: .5rem; }
.icsayfa-article img { max-width: 100%; height: auto; border-radius: 12px; }

/* Aksanlı başlık altı çizgi (kurumsal) */
.icsayfa-article h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 12px;
    background: linear-gradient(to right, #6fb2d2, #e85a50);
    border-radius: 2px;
}

/* Öne çıkan alıntı/uyarı kutusu */
.icsayfa-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #2b2d31;
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, #6fb2d2, #e85a50) 1;
    padding: 4px 0 4px 20px;
    margin: 0 0 1.6rem;
}

/* ---------- Yan menü (sidebar) ---------- */
.icsayfa-sidebar { position: sticky; top: 96px; }
.icsayfa-widget {
    background: #f7f8fa;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 24px;
}
.icsayfa-widget-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #2b2d31;
    margin: 0 0 16px;
    padding-bottom: 12px;
    position: relative;
}
.icsayfa-widget-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 2px;
    background: linear-gradient(to right, #6fb2d2, #e85a50);
}
.icsayfa-widget ul { list-style: none; margin: 0; padding: 0; }
.icsayfa-widget li + li { border-top: 1px dashed #e4e7ec; }
.icsayfa-widget a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #44474c;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}
.icsayfa-widget a:hover { color: #df5f55; padding-left: 6px; }
.icsayfa-widget a::before {
    content: "";
    flex: 0 0 auto;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6fb2d2, #e85a50);
}

/* İletişim mini kartı */
.icsayfa-widget--contact { background: #1d2125; border-color: #1d2125; }
.icsayfa-widget--contact .icsayfa-widget-title { color: #fff; }
.icsayfa-widget--contact p { color: #b9c0c9; font-size: 14.5px; margin: 0 0 .6rem; line-height: 1.7; }
.icsayfa-widget--contact a { color: #cdd3da; padding: 4px 0; }
.icsayfa-widget--contact a::before { display: none; }
.icsayfa-widget--contact a:hover { color: #fff; padding-left: 0; }

/* ---------- Kart ızgarası (örnek içerik) ---------- */
.icsayfa-card {
    height: 100%;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}
.icsayfa-card:hover { box-shadow: 0 14px 34px rgba(45, 45, 60, .12); transform: translateY(-4px); }
.icsayfa-card-body { padding: 22px 24px 26px; }
.icsayfa-card-title { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 18px; color: #2b2d31; margin: 0 0 8px; }
.icsayfa-card-text { font-family: 'Lato', sans-serif; font-size: 14.5px; color: #5b5f66; line-height: 1.7; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    body.icsayfa .iklim-logos img { height: 46px; }
    body.icsayfa .iklim-logos .daka-logo { height: 52px; }
    .icsayfa-sidebar { position: static; margin-top: 36px; }
    /* Mobilde header min-height ≈ 90px → banner üst boşluğu küçülür */
    .icsayfa-banner { padding: 120px 0 44px; }
}
