/* Alnas Demir Çelik – tema ekleri (yönetim paneliyle gelen bileşenler) */

:root {
    --aln-base: #013ca6;
    --aln-dark: #1c1c27;
    --aln-radius: 6px;
}

.skip-link { position: fixed; top: -100px; inset-inline-start: 10px; z-index: 10000; background: #fff; color: var(--aln-base); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo ölçüsü (panelden yüklenen logolar farklı oranda olabilir) */
.main-menu-four__logo img.site-logo { max-height: 56px; width: auto; height: auto; }
.footer-widget__logo img, .mobile-nav__content .logo-box img { max-width: 220px; height: auto; }

/* Dil seçici: eski sitedeki gibi menüden sonra bayraklar */
.lang-flags img { display: block; width: 36px; height: 24px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .2s; }
.lang-flags a:hover img { transform: translateY(-2px); }
.stricky-header .lang-flags { display: flex; }
@media (max-width: 1199px) { .main-menu-four__search-cart-box.lang-flags { margin-left: 30px; } .main-menu-four__search-cart-box.lang-flags:before { display: none; } }
@media (max-width: 575px) { .main-menu-four__search-cart-box.lang-flags { margin-left: 16px; padding: 20px 0; } .lang-flags img { width: 30px; height: 20px; } }
.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 30px; }
.lang-switch a { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--austry-black); padding: 6px 9px; border-radius: 4px; line-height: 1; border: 1px solid transparent; transition: all .2s; }
.lang-switch a:hover { color: var(--aln-base); border-color: var(--austry-bdr-color); }
.lang-switch a.is-active { background: var(--aln-base); color: #fff; }
.stricky-header .lang-switch { display: none; }
.mobile-nav__langs { display: flex; gap: 8px; margin: 20px 0 10px; flex-wrap: wrap; }
.mobile-nav__langs a { color: #fff; border: 1px solid rgba(255, 255, 255, .25); padding: 6px 12px; border-radius: 4px; font-size: 14px; }
.mobile-nav__langs a.is-active { background: var(--aln-base); border-color: var(--aln-base); }
@media (max-width: 1199px) { .lang-switch { margin-left: 16px; } }
@media (max-width: 575px) { .lang-switch a { padding: 5px 6px; font-size: 12px; } .main-menu-four__logo img.site-logo { max-height: 42px; } }

/* Ürünler alt menüsünde sektör bağlantıları (Gıda / Temizlik) – hover'da temanın mavi zemin + beyaz yazısı korunur */
.main-menu .main-menu__list > li > ul > li.menu-sector > a,
.stricky-header .main-menu__list > li > ul > li.menu-sector > a { font-weight: 700; color: var(--aln-base); }
.main-menu .main-menu__list > li > ul > li.menu-sector:hover > a,
.stricky-header .main-menu__list > li > ul > li.menu-sector:hover > a { color: var(--austry-white); background-color: var(--austry-base); }
.main-menu .main-menu__list > li > ul > li:not(.menu-sector) + li.menu-sector,
.stricky-header .main-menu__list > li > ul > li:not(.menu-sector) + li.menu-sector { border-top: 1px solid var(--austry-bdr-color); }

/* Sayfa başlığı: h1 (eski temada h2 idi) */
.page-header__inner h1 { font-size: 50px; color: var(--austry-white); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: var(--austry-letter-spacing); }
@media (max-width: 767px) { .page-header__inner h1 { font-size: 34px; } }
.thm-breadcrumb li a { color: inherit; }

/* Slider */
.main-slider-five__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, var(--o, .35)) 0%, rgba(0, 0, 0, calc(var(--o, .35) * .4)) 60%, rgba(0, 0, 0, 0) 100%); z-index: 1; pointer-events: none; }
.main-slider-five .container { z-index: 2; }
.main-slider-five__title { white-space: normal; }
.main-slider-five__btn-box { display: flex !important; gap: 14px; flex-wrap: wrap; }
.main-slider-five__btn--ghost { background-color: transparent; border: 2px solid rgba(255, 255, 255, .8); }
.main-slider-five__btn--ghost:hover { border-color: #fff; }
.slide-align--center { text-align: center; }
.slide-align--center .main-slider-five__btn-box { justify-content: center; }
.slide-align--right { text-align: right; }
.slide-align--right .main-slider-five__btn-box { justify-content: flex-end; }

/* Ana sayfa küçük ayarlar */
.about-three__text-2.rich p, .about-one__text.rich p { margin: 0 0 12px; }
.about-three__points li a, .about-three__points li p a { color: inherit; }
.about-three__points li a:hover { color: var(--aln-base); }
.about-three__help-line-number.h5 { margin: 0; }
.counter-one__count-box .count-text.h3, .about-three__experience-count-box .odometer.h3 { margin: 0; }
.section-title--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-title--row .thm-btn { padding: 12px 30px; }

/* Teklif bandı */
.cta-band { background: var(--aln-base); color: #fff; padding: 46px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 8px; letter-spacing: var(--austry-letter-spacing); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band a { color: #fff; }
.cta-band .thm-btn { background: #fff; color: var(--aln-base); }
.cta-band .thm-btn:hover { color: #fff; }
.cta-band .thm-btn:after { background: var(--aln-dark); }

/* Zengin metin içerikleri (ürün açıklamaları, KVKK vb.) */
.rich-content { color: var(--austry-gray); font-size: 16px; line-height: 1.8; }
.rich-content p { margin: 0 0 18px; }
.rich-content h2, .rich-content h3, .rich-content h4 { color: var(--austry-black); font-weight: 800; margin: 30px 0 14px; letter-spacing: var(--austry-letter-spacing); }
.rich-content h2 { font-size: 28px; }
.rich-content h3 { font-size: 21px; }
.rich-content ul, .rich-content ol { padding-left: 0; list-style: none; margin: 0 0 20px; }
.rich-content ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.rich-content ul li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--aln-base); font-size: 13px; }
.rich-content ol { list-style: decimal; padding-left: 22px; }
.rich-content a { color: var(--aln-base); text-decoration: underline; }
.rich-content b, .rich-content strong { color: var(--austry-black); }
.table-scroll { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--austry-bdr-color); border-radius: var(--aln-radius); }
.rich-content table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.rich-content th, .rich-content td { border: 1px solid var(--austry-bdr-color); padding: 7px 8px; text-align: center; white-space: nowrap; }
.rich-content thead th { background: var(--aln-base); color: #fff; font-weight: 700; }
.rich-content thead tr + tr th { background: #e9eef8; color: var(--austry-black); }
.rich-content tbody tr:nth-child(even) td { background: var(--austry-extra); }

/* Ürün detay */
.services-details__img img { border-radius: var(--aln-radius); width: 100%; height: auto; }
.product-short { font-size: 18px; color: var(--austry-black); font-weight: 600; margin: 30px 0 20px; line-height: 1.6; }
.service-details__benefit-title { padding-bottom: 15px; font-size: 21px; }
.services-details__right .rich-content { margin-top: 26px; }
.product-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
.product-gallery a { display: block; border-radius: var(--aln-radius); overflow: hidden; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .4s; }
.product-gallery a:hover img { transform: scale(1.04); }
.product-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.thm-btn--ghost { background: transparent; color: var(--aln-base); border: 2px solid var(--aln-base); }
.thm-btn--ghost:hover { color: #fff; }
.service-details__category-list li a { gap: 10px; }
.service-details__category-title { font-size: 20px; font-weight: 800; margin: 0 0 18px; }
.service-details__category + .service-details__category { margin-top: 30px; }
.service-details__need-help-title { color: #fff; }

/* Ürünler ve sektör sayfaları */
.products-page { padding: 120px 0 90px; }
.products-page__intro { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.sector-block { margin-bottom: 70px; }
.sector-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 1px solid var(--austry-bdr-color); padding-bottom: 16px; }
.sector-block__head h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: var(--austry-letter-spacing); }
.sector-block__head p { margin: 6px 0 0; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1199px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.cat-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--austry-bdr-color); border-radius: var(--aln-radius); overflow: hidden; transition: box-shadow .25s, transform .25s; color: inherit; height: 100%; }
.cat-card:hover { box-shadow: 0 14px 34px rgba(1, 60, 166, .12); transform: translateY(-3px); color: inherit; }
.cat-card__img { aspect-ratio: 17/10; background: var(--austry-extra); overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__img--cover img { object-fit: cover; }
.cat-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-card__title { font-size: 18px; font-weight: 800; margin: 0; color: var(--austry-black); letter-spacing: -0.02em; line-height: 1.3; }
.cat-card__meta { font-size: 14px; color: var(--austry-gray); }
.cat-card__more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--aln-base); display: inline-flex; align-items: center; gap: 6px; }
.cat-card__more i { font-size: 12px; }

/* Grup (ürün listesi) sayfası */
.group-page { padding: 120px 0 90px; }
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 991px) { .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .item-grid { grid-template-columns: 1fr; } }
.item-card { border: 1px solid var(--austry-bdr-color); border-radius: var(--aln-radius); overflow: hidden; background: #fff; margin: 0; }
.item-card a { display: block; position: relative; background: var(--austry-extra); }
.item-card img { width: 100%; aspect-ratio: 17/10; object-fit: contain; display: block; }
.item-card a::after { content: "\f00e"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--aln-base); opacity: 0; transition: opacity .2s; font-size: 14px; }
.item-card a:hover::after { opacity: 1; }
.item-card figcaption { padding: 12px 16px; font-weight: 700; color: var(--austry-black); font-size: 15px; text-align: center; }
.group-intro { margin-bottom: 34px; }
.group-quote { margin-top: 40px; background: var(--austry-extra); border-radius: var(--aln-radius); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.group-quote p { margin: 0; font-size: 18px; font-weight: 700; color: var(--austry-black); }

/* İletişim formu */
.contact-page-form { scroll-margin-top: 90px; }
.aln-form .row { --bs-gutter-x: 20px; }
.aln-form input[type=text], .aln-form input[type=email], .aln-form input[type=tel], .aln-form select, .aln-form textarea {
    width: 100%; background: var(--austry-extra); border: 1px solid transparent; border-radius: 4px; padding: 0 22px; height: 60px; font-size: 15px; color: var(--austry-black); outline: none; margin-bottom: 20px; font-family: inherit; transition: border-color .2s;
}
.aln-form textarea { height: 170px; padding-top: 18px; resize: vertical; }
.aln-form input:focus, .aln-form select:focus, .aln-form textarea:focus { border-color: var(--aln-base); background: #fff; }
.aln-form label.req::after { content: " *"; color: #c0392b; }
.aln-form .form-label { display: block; font-size: 13px; font-weight: 700; color: var(--austry-black); margin: 0 0 6px; }
.aln-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aln-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--austry-gray); margin: 0 0 22px; text-align: start; }
.aln-form .consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--aln-base); }
.aln-form .consent a { color: var(--aln-base); text-decoration: underline; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 4px; display: none; font-weight: 600; }
.form-status.is-ok { display: block; background: #e7f6ec; color: #1d6b3a; }
.form-status.is-err { display: block; background: #fdecea; color: #a12a1d; }
.aln-form button[disabled] { opacity: .65; cursor: wait; }
.contact-info__text a { color: inherit; }
.contact-map { margin-top: 0; }
.contact-map iframe { width: 100%; height: 460px; border: 0; display: block; }
.contact-directions { text-align: center; padding: 18px 0 0; }

/* Hakkımızda video */
.trusted-one__video-link a { display: inline-block; color: inherit; }
.trusted-one__btn { cursor: pointer; }
.about-motto { font-size: 20px; color: var(--austry-black); font-weight: 700; }

/* Haberler */
.post-card { border: 1px solid var(--austry-bdr-color); border-radius: var(--aln-radius); overflow: hidden; background: #fff; margin-bottom: 30px; height: calc(100% - 30px); display: flex; flex-direction: column; }
.post-card__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: 13px; color: var(--aln-base); font-weight: 700; }
.post-card__title { font-size: 21px; font-weight: 800; margin: 8px 0 10px; line-height: 1.35; }
.post-card__title a { color: var(--austry-black); }
.post-card__more { margin-top: auto; font-weight: 700; color: var(--aln-base); }
.home-news, .faq-block { padding: 100px 0 70px; }
.post-detail { padding: 110px 0 90px; }
.post-detail__cover { border-radius: var(--aln-radius); margin-bottom: 30px; width: 100%; height: auto; }
.post-detail__meta { color: var(--austry-gray); font-size: 14px; margin-bottom: 20px; display: flex; gap: 16px; flex-wrap: wrap; }

/* SSS */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--austry-bdr-color); border-radius: var(--aln-radius); margin-bottom: 12px; background: #fff; }
.faq-item summary { padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--austry-black); list-style: none; position: relative; padding-right: 50px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--aln-base); }
.faq-item[open] summary::after { content: "−"; }
.faq-item__a { padding: 0 22px 18px; color: var(--austry-gray); }

/* Metin sayfaları ve 404 */
.text-page { padding: 110px 0 90px; }
.text-page .rich-content { max-width: 900px; margin: 0 auto; }
.nf-page { padding: 120px 0; text-align: center; }
.nf-page p { max-width: 560px; margin: 0 auto 30px; }

/* WhatsApp ve çerez çubuğu */
.wa-float { position: fixed; left: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px; z-index: 99; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: var(--aln-dark); color: #fff; padding: 18px 22px; border-radius: 8px; z-index: 1000; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .85); flex: 1 1 300px; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar__btns { display: flex; gap: 10px; }
.cookie-bar .thm-btn { padding: 10px 22px; }
.cookie-bar .thm-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Alt bilgi */
.footer-widget__title { font-size: 20px; }
.site-footer__bottom-menu li a i { font-size: 16px; }

/* width/height öznitelikli görseller oranını korusun (CLS önlemi için öznitelikler eklenir) */
img[width][height] { height: auto; }
.item-card img { height: auto; }
/* Bayraklar mobilde de görünsün */
.main-menu-four__search-cart-box.lang-flags { display: flex !important; }
@media (max-width: 1199px) {
    .main-menu-four__wrapper-inner { flex-wrap: nowrap; }
    .main-menu-four__right { display: flex; align-items: center; gap: 18px; }
    .main-menu-four__search-cart-box.lang-flags { margin: 0; padding: 0; order: -1; }
}
@media (max-width: 575px) { .main-menu-four__logo img.site-logo { max-width: 150px; } .main-menu-four__right { gap: 12px; } .main-menu-four__cart-box { margin-left: 8px; } }
.cat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .cat-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.section-title__title--intro { line-height: 1.2; }
