/* Acil Hazır Koli · .NET 10 sürümündeki küçük tasarım dokunuşları (tema: style.css / responsive.css değişmedi) */

/* Sayfa bandındaki başlık artık H1 (SEO); eski H2 ile aynı görünüm, uzun başlıklarda taşmayan boyut */
.hero-section.banner .hero-text h1 {
    font-size: clamp(26px, 3.4vw, 46px);
    line-height: 1.2;
    font-weight: 600;
    padding-bottom: 12px;
    text-transform: none;
    margin-top: 80px;
    color: #000;
}
.hero-section.banner .hero-text .ak-tagline {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #f1932c;
    margin-bottom: 6px;
}
@media (max-width: 993px) {
    .hero-section.banner .hero-text h1 { margin-top: 30px; }
}

/* ---------------------------------------------------------------- Sabit header
   Header her zaman üstte kalır. Aşağı kaydırınca üst bilgi çubuğu gizlenir ve menü incelir. */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: box-shadow .25s ease;
}
header.ak-scrolled { box-shadow: 0 6px 24px rgba(26, 38, 64, .10); }
header.ak-scrolled .top-bar { display: none; }
header .bottom-bar, header .bottom-bar:before { transition: height .25s ease; }
header.ak-scrolled .bottom-bar,
header.ak-scrolled .bottom-bar:before { height: 78px; }
header .bottom-bar > a img { transition: max-height .25s ease; }
header.ak-scrolled .bottom-bar > a img { max-height: 58px !important; }
@media (max-width: 1200px) {
    header .bottom-bar { height: 76px; }
    header .bottom-bar > a img { max-height: 58px !important; }
    header.ak-scrolled .bottom-bar { height: 64px; }
    header.ak-scrolled .bottom-bar > a img { max-height: 48px !important; }
    header { border-bottom: 1px solid #f0f0f0; }
}

/* ---------------------------------------------------------------- Ürün kartları (kurumsal görünüm)
   Çerçeveli, yuvarlak köşeli kart; görsel oranı korunur (kırpılmaz, kare alana sığdırılır). */
.ak-grid { row-gap: 24px; }
.ak-grid > [class*="col-"] { display: flex; }
.blog-data.ak-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
    padding: 12px 12px 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(26, 38, 64, .04);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.blog-data.ak-card:hover {
    border-color: #f1932c;
    box-shadow: 0 12px 28px rgba(26, 38, 64, .10);
    transform: translateY(-3px);
}
.ak-card .blog-img figure {
    margin: 0 0 12px;
    border-radius: 12px;
    background: #faf8f5;
    overflow: hidden;
}
.ak-card .blog-img figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 10;   /* ürün görselleri 450×500: oran korunur, kırpılmaz */
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}
.blog-data.ak-card:hover .blog-img figure img { transform: scale(1.04); }
.blog-data.ak-card a h3 {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    padding: 0 2px;
    margin: 0;
    color: #1a2640;
    transition: color .2s;
}
.blog-data.ak-card a:hover h3 { color: #f1932c; }
.ak-card hr { width: 40px; height: 3px; margin: 10px auto; border: 0; background: #f1932c; opacity: 1; border-radius: 3px; }
.ak-card .ak-summary {
    font-size: 14px;
    line-height: 1.5;
    color: #5b6170;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ak-card .ak-summary p { font-size: 14px; line-height: 1.5; margin: 0; color: #5b6170; font-weight: 400; }
.ak-card .ak-more {
    margin-top: auto;
    padding-top: 12px;
    align-self: center;
    font-size: 14px;
    font-weight: 700;
    color: #f1932c;
    letter-spacing: .02em;
}
.ak-card .ak-more i { font-size: 12px; margin-left: 4px; }

/* Mobil: 2'li ızgara, sade kart */
@media (max-width: 767px) {
    .container > .content:has(> .ak-grid) { padding-left: 0; padding-right: 0; }
    .ak-grid { --bs-gutter-x: 12px; row-gap: 12px; }
    .blog-data.ak-card { padding: 8px 8px 12px; border-radius: 14px; }
    .ak-card .blog-img figure { margin-bottom: 8px; border-radius: 10px; }
    .blog-data.ak-card a h3 { font-size: 14px; }
    .ak-card hr { margin: 8px auto 4px; width: 28px; }
    .ak-card .ak-summary { display: none; }
    .ak-card .ak-more { font-size: 13px; padding-top: 6px; }
}

/* Ürün detayı: kod rozeti ve hızlı iletişim düğmeleri */
.ak-product-code {
    display: inline-block;
    margin: 10px 0 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #fff3e6;
    color: #c56a00;
    font-weight: 600;
    font-size: 15px;
}
.ak-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ak-actions a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
    background: #f1932c; color: #fff !important;
}
.ak-actions a.ak-call { background: #1a2640; }
.ak-actions a:hover { opacity: .9; }

/* Mobilde sabit iletişim çubuğu */
.ak-mobile-bar { display: none; }
@media (max-width: 768px) {
    .ak-mobile-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
        background: #1a2640; box-shadow: 0 -4px 16px rgba(0,0,0,.18);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .ak-mobile-bar a {
        flex: 1; text-align: center; color: #fff !important; padding: 11px 4px 10px;
        font-size: 13px; font-weight: 600; line-height: 1.2;
    }
    .ak-mobile-bar a i { display: block; font-size: 18px; margin-bottom: 3px; color: #f1932c; }
    .ak-mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
    body { padding-bottom: 64px; }
    #progress { bottom: 80px !important; }
}

/* Form uyarısı (iletişim ve acil talep formu) */
.ak-form-msg { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: 15px; }
.ak-form-msg.ok { display: block; background: #e8f7ee; color: #1d6b3a; }
.ak-form-msg.err { display: block; background: #fdecec; color: #a12626; }
.ak-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Sayfa bulunamadı */
.ak-404 { padding: 40px 0 80px; text-align: center; }
.ak-404 .sec-btn { margin: 8px; }
