/* =====================================================================
   INVIVA – Modern dokunuşlar (2026-12)
   Mevcut style.css / responsive.css'in ÜZERİNE yüklenir; yerleşimi,
   renkleri ve HTML yapısını değiştirmez. Yalnızca okunabilirlik,
   tipografi, tablolar, geçiş efektleri ve erişilebilirlik iyileştirir.
   Geri almak için master.blade.php'deki modern.css satırını silmek yeterli.
   ===================================================================== */

:root {
    --iv-brand: #7dcf11;
    --iv-brand-dark: #5ea300;
    --iv-ink: #1f2937;
    --iv-muted: #6b7280;
    --iv-line: #e8ebef;
    --iv-soft: #f7f9fb;
    --iv-radius: 14px;
    --iv-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Genel ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
}
::selection { background: rgba(125, 207, 17, .28); color: inherit; }
img { image-rendering: auto; }

/* Klavye ile gezinmede görünür odak (fare kullanıcılarını etkilemez) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid rgba(125, 207, 17, .55);
    outline-offset: 3px;
    border-radius: 6px;
}

/* İnce, modern kaydırma çubuğu (masaüstü) */
@media (pointer: fine) {
    * { scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, .45) transparent; }
    *::-webkit-scrollbar { width: 10px; height: 10px; }
    *::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, .4); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
    *::-webkit-scrollbar-thumb:hover { background-color: rgba(100, 116, 139, .6); }
}

/* ---------- Üst menü: yumuşak cam efekti ---------- */
#header.sticky, #navigayionMaster.sticky {
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    transition: box-shadow .3s var(--iv-ease), background-color .3s var(--iv-ease);
}

/* ---------- Ana sayfa kartları ----------
   Hizmet kartları, kısayollar ve marka kutularının kendi hover efektleri style.css'te var;
   onları bozmamak için burada yalnızca geçişleri yumuşatıyoruz. */
#homeService .container .content .single,
#homeShortcuts .container .content .single,
#homeBrands .container .single { transition-timing-function: var(--iv-ease) !important; }
#homeService .container .content .single .rIcon { transition: transform .35s var(--iv-ease); }
#homeService .container .content .single:hover .rIcon { transform: translateX(4px); }
#otherProducts .single .image img { transition: transform .6s var(--iv-ease); }
@media (hover: hover) { #otherProducts .single:hover .image img { transform: scale(1.04); } }

/* Slider görselleri: yüksek çözünürlüklü ekranlarda net */
#slider .mainSlider .image img { image-rendering: -webkit-optimize-contrast; }

/* ---------- İçerik sayfaları: okunabilir tipografi ---------- */
#pageDetailContent .container .pageRight .content,
#pageDetailContent .container .pageRight .contentP {
    /* paragraflar style.css'te zaten 17px / 1.7; burada yalnızca renk ve satır aralığı */
    line-height: 1.7;
    color: #2b3440;
}
#pageDetailContent .pageRight .content p { margin: 0 0 1.05em; }
#pageDetailContent .pageRight .content h2,
#pageDetailContent .pageRight .content h3,
#pageDetailContent .pageRight .content h4 {
    color: #111827;
    line-height: 1.3;
    letter-spacing: -.01em;
    margin: 1.6em 0 .6em;
}
#pageDetailContent .pageRight .content h2 { font-size: 1.35em; font-weight: 700; }
#pageDetailContent .pageRight .content h3 { font-size: 1.15em; font-weight: 700; }
#pageDetailContent .pageRight .content h4 { font-size: 1.02em; font-weight: 600; }
#pageDetailContent .pageRight .content strong,
#pageDetailContent .pageRight .content b { color: #111827; font-weight: 700; }
#pageDetailContent .pageRight .content a:not([class]) {
    color: var(--iv-brand-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .2s;
}
#pageDetailContent .pageRight .content a:not([class]):hover { color: #3f7400; }
#pageDetailContent .pageRight .content ul:not([class]),
#pageDetailContent .pageRight .content ol:not([class]) { padding-left: 1.3em; margin: 0 0 1.2em; }
#pageDetailContent .pageRight .content ul:not([class]) li,
#pageDetailContent .pageRight .content ol:not([class]) li { margin: .35em 0; padding-left: .2em; }
#pageDetailContent .pageRight .content ul:not([class]) li::marker { color: var(--iv-brand); }
#pageDetailContent .pageRight .content ol:not([class]) li::marker { color: var(--iv-brand-dark); font-weight: 700; }
#pageDetailContent .pageRight .content blockquote {
    margin: 1.4em 0;
    padding: 16px 20px;
    border-left: 4px solid var(--iv-brand);
    background: var(--iv-soft);
    border-radius: 0 var(--iv-radius) var(--iv-radius) 0;
    color: #374151;
    font-style: italic;
}
#pageDetailContent .pageRight .content img:not([class]) { border-radius: 10px; max-width: 100%; height: auto; }
#pageDetailContent .pageRight .content hr { border: 0; height: 1px; background: var(--iv-line); margin: 2em 0; }

/* ---------- Tablolar (panelde editörle eklenen tüm tablolar) ---------- */
#pageDetailContent .pageRight .content table,
#pageDetailContent .pageRight .contentP table,
#pageDetailContent .proDetails table {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.4em 0;
    font-size: 15px;
    line-height: 1.55;
    background: #fff;
    border: 1px solid var(--iv-line);
    border-radius: var(--iv-radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .05);
}
#pageDetailContent .pageRight .content table th,
#pageDetailContent .pageRight .content table td,
#pageDetailContent .pageRight .contentP table th,
#pageDetailContent .pageRight .contentP table td,
#pageDetailContent .proDetails table th,
#pageDetailContent .proDetails table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid var(--iv-line);
}
#pageDetailContent .pageRight .content table thead th,
#pageDetailContent .pageRight .content table tr:first-child th:not([scope="row"]),
#pageDetailContent .pageRight .contentP table thead th,
#pageDetailContent .proDetails table thead th {
    background: #1f2a30;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .02em;
    border-bottom: 0;
}
#pageDetailContent .pageRight .content table tbody tr:nth-child(even) td,
#pageDetailContent .pageRight .contentP table tbody tr:nth-child(even) td,
#pageDetailContent .proDetails table tbody tr:nth-child(even) td { background: #fafbfc; }
#pageDetailContent .pageRight .content table tbody tr,
#pageDetailContent .pageRight .contentP table tbody tr,
#pageDetailContent .proDetails table tbody tr { transition: background-color .2s; }
@media (hover: hover) {
    #pageDetailContent .pageRight .content table tbody tr:hover td,
    #pageDetailContent .pageRight .contentP table tbody tr:hover td,
    #pageDetailContent .proDetails table tbody tr:hover td { background: #f3f9ea; }
}
#pageDetailContent .pageRight .content table tr:last-child td,
#pageDetailContent .pageRight .contentP table tr:last-child td,
#pageDetailContent .proDetails table tr:last-child td { border-bottom: 0; }
#pageDetailContent .pageRight .content table tbody th[scope="row"],
#pageDetailContent .pageRight .content table tbody td:first-child strong { color: #111827; }

/* Mobilde tablolar taşmasın: yatay kaydırılabilir */
@media (max-width: 768px) {
    #pageDetailContent .pageRight .content table,
    #pageDetailContent .pageRight .contentP table,
    #pageDetailContent .proDetails table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    #pageDetailContent .pageRight .content table td,
    #pageDetailContent .pageRight .content table th { white-space: normal; min-width: 140px; }
}

/* ---------- Önceki / Sonraki çalışma ---------- */
.prevNextNav {
    display: flex !important;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
}
.prevNextNav .buttonsP {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    max-width: 48%;
    padding: 12px 18px !important;
    border: 1px solid var(--iv-line);
    border-radius: 999px;
    background: #fff;
    color: var(--iv-ink);
    opacity: 1 !important;
    text-decoration: none;
    transition: border-color .25s, box-shadow .25s, transform .25s var(--iv-ease);
}
.prevNextNav .pnNext { margin-left: auto; text-align: right; }
.prevNextNav .buttonsP img { width: 14px; height: 14px; flex-shrink: 0; opacity: .7; transition: transform .25s var(--iv-ease); }
.prevNextNav .pnText { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.prevNextNav .pnText small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--iv-muted); }
.prevNextNav .pnText b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) {
    .prevNextNav .buttonsP:hover { border-color: var(--iv-brand); box-shadow: 0 8px 22px rgba(125, 207, 17, .18); transform: translateY(-2px); }
    .prevNextNav .pnPrev:hover img { transform: translateX(-3px); }
    .prevNextNav .pnNext:hover img { transform: translateX(3px); }
}
@media (max-width: 600px) {
    .prevNextNav { flex-direction: column; }
    .prevNextNav .buttonsP { max-width: 100%; }
}

/* ---------- KVKK / Çerez sayfaları ---------- */
.legalNav { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.legalNav a, .legalNav button {
    display: block; text-align: right; padding: 10px 14px; border-radius: 10px;
    font: 600 13px/1.3 'Montserrat', sans-serif; color: #374151; background: transparent; border: 0; cursor: pointer;
    transition: background .2s, color .2s;
}
.legalNav a:hover, .legalNav button:hover { background: var(--iv-soft); color: #111827; }
.legalNav a.active { background: #f1f8e6; color: var(--iv-brand-dark); }
.legalArticle .lead { font-size: 1.05em; color: #111827; }
.legalArticle h2 { font-size: 1.2em !important; padding-top: .4em; border-top: 1px solid var(--iv-line); }
.legalArticle h2:first-of-type { border-top: 0; }
.legalArticle .legalTable table small { color: var(--iv-muted); }
#pageDetailContent .pageRight .content .legalArticle .legalTable table th[scope="row"] { width: 180px; background: var(--iv-soft); color: #111827; font-weight: 600; }
.legalArticle .legalList { list-style: none; padding-left: 0 !important; }
.legalArticle .legalList li { position: relative; padding-left: 26px !important; }
.legalArticle .legalList li::before {
    content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%;
    background: var(--iv-brand); box-shadow: 0 0 0 3px rgba(125, 207, 17, .18);
}
.legalArticle code { font-size: 12.5px; background: #f3f4f6; padding: 2px 6px; border-radius: 6px; color: #111827; }
.legalArticle .tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.legalArticle .tag-req { background: #eef2f7; color: #334155; }
.legalArticle .tag-ana { background: #e8f1fd; color: #1d4ed8; }
.legalArticle .tag-fun { background: #f1f8e6; color: #4c8a00; }
.legalNote { margin-top: 2em; padding: 16px 20px; background: #f7fbf0; border: 1px solid #e3f2cc; border-radius: var(--iv-radius); font-size: 14px; }
.legalNote .ivc-reopen, .legalArticle .ivc-reopen { color: var(--iv-brand-dark); font-weight: 600; }
.ivc-inline { padding: 8px 14px !important; font-size: 12px !important; vertical-align: middle; }

/* Alt bilgi: yasal bağlantılar */
/* Footer yasal bağlantılar: hap (pill) görünümü */
#footer .legalLinks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
#footer .legalLinks a, #footer .legalLinks .ivc-reopen {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.88); font: 500 12.5px/1.2 'Montserrat', sans-serif; letter-spacing: .01em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
#footer .legalLinks i { font-size: 12px; color: #7dcf11; transition: color .25s; }
#footer .legalLinks a:hover, #footer .legalLinks .ivc-reopen:hover,
#footer .legalLinks a:focus-visible, #footer .legalLinks .ivc-reopen:focus-visible {
    background: #7dcf11; border-color: #7dcf11; color: #10220a; transform: translateY(-1px);
}
#footer .legalLinks a:hover i, #footer .legalLinks .ivc-reopen:hover i,
#footer .legalLinks a:focus-visible i, #footer .legalLinks .ivc-reopen:focus-visible i { color: #10220a; }
@media screen and (max-width: 640px) {
    #footer .legalLinks { justify-content: flex-start; margin-top: 14px; }
    #footer .legalLinks a, #footer .legalLinks .ivc-reopen { padding: 6px 12px; font-size: 12px; }
}

/* ---------- Hareket azaltma tercihine saygı ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   ORANTI & ESTETİK İYİLEŞTİRMELERİ (ana görünüm korunarak)
   ===================================================================== */

/* ---- Slider: "Hizmet Detayına Git" kutusu ve ok hizası ---- */
#slider .mainSlider .bottom{gap:0;align-items:stretch}
#slider .mainSlider .bottom .ico{align-self:flex-end;width:44px;height:44px;background:#7dcf11;transition:background .25s}
#slider .mainSlider .bottom:hover .ico{background:#5ea300}
#slider .mainSlider .bottom .text{width:140px;padding:0 18px 14px;background:linear-gradient(180deg,rgba(0,102,191,.35) 0%,rgba(0,102,191,.72) 100%);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);font-size:15px;font-weight:500;letter-spacing:.01em}
#slider .mainSlider .bottom .text p{line-height:1.3}
#slider .mainSlider .bottom:hover{opacity:1}
#slider .mainSlider .bottom:hover .text{background:linear-gradient(180deg,rgba(0,102,191,.5) 0%,rgba(0,102,191,.88) 100%)}
#slider .swiper-pagination-bullet{width:9px;height:9px;margin:0 4px!important;opacity:.55;transition:width .25s,opacity .25s}
#slider .swiper-pagination-bullet-active{opacity:1;width:24px;border-radius:5px;background:#7dcf11!important}
#slider .mainSlider .text h1{line-height:1.12;letter-spacing:.01em}

/* ---- Hizmetlerimiz başlığı ---- */
#homeService .container .title{align-items:flex-end;row-gap:16px}
#homeService .container .title .leftT h2{letter-spacing:.02em;line-height:1.15;margin-bottom:12px}
#homeService .container .title .leftT p{max-width:760px;font-size:15px;line-height:1.65}
#homeService .container .title .rightT{padding-bottom:4px}
#homeService .container .title .rightT a{font-weight:500;transition:color .25s}
#homeService .container .title .rightT a:hover{color:#7dcf11}

/* ---- Hizmet kartları: başlık / açıklama / ok aynı hizada ---- */
#homeService .container .content .single{justify-content:flex-start;border-color:rgba(0,0,0,.18)}
#homeService .container .content .single .iconSingle{flex:0 0 auto}
#homeService .container .content .single h1{width:88%;line-height:1.25;min-height:2.5em;display:flex;align-items:flex-end}
#homeService .container .content .single p{width:92%;line-height:1.5;padding:0;margin:10px 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;opacity:.92}
#homeService .container .content .single:hover p{-webkit-line-clamp:unset;overflow:visible}
#homeService .container .content .single .rIcon{margin-top:auto;transition:transform .25s}
#homeService .container .content .single:hover .rIcon{transform:translateX(6px)}
#homeService .container .content .single:hover h1{justify-content:flex-end}

/* ---- Güncel Çalışmalar ---- */
#homeReferance .container .refLeft .menuEwd .titleMenu h2{line-height:1.2;letter-spacing:-.005em}
#homeReferance .container .refLeft .menuEwd .bottomMenu ul li a h3{font-size:15px;letter-spacing:.005em}
#homeReferance .container .refRight .listRef .single h1,#homeReferance .container .refRight .listRef .single h2{line-height:1.3}

/* ---- Markalar: dar sütun ve farklı başlangıç hizaları ---- */
@media screen and (min-width:1025px){
    #homeBrands .container{column-gap:28px;flex-wrap:nowrap}
    #homeBrands .container .single{flex:1 1 0;min-width:0}
    #homeBrands .container .single:hover{flex:1.25 1 0}
}
#homeBrands .container .single h5{width:100%;line-height:1.3;min-height:5.2em}
#homeBrands .container .single p{width:100%;line-height:1.6;color:#8c979e}
#homeBrands .container .single b{margin-top:auto;color:#a3adb3;letter-spacing:.01em;transition:color .25s}
#homeBrands .container .single:hover b{color:#fff}

/* ---- Mobil uyum alanı ---- */
#mobilArea .container{align-items:center}
#mobilArea .container .text h1{line-height:1.25}
#mobilArea .container .text p{line-height:1.65;max-width:560px}

/* ---- Kısayollar ---- */
#homeShortcuts .container{align-items:center}
#homeShortcuts .container .text h2{line-height:1.35;margin-top:0}
#homeShortcuts .container .text p{line-height:1.6}
#homeShortcuts .container .content .single{padding:6px 0}
#homeShortcuts .container .content .single p{line-height:1.35}

/* ---- Footer okunabilirliği ---- */
#footer .topF .text p,#footer .bottomF h1 span{color:rgba(255,255,255,.62)}
#footer .topF .text h1 span{color:rgba(255,255,255,.75)}

/* ---- Büyük ekranlar: içerik genişliği çok dar kalmasın ---- */
@media screen and (min-width:1900px){
    #homeService .container .content .single p{font-size:15px}
    #homeBrands .container .single p{font-size:15px}
}
/* ---- Orta ekranlar ---- */
@media screen and (max-width:1480px){
    #slider .mainSlider .bottom .text{width:120px;font-size:13px;padding:0 14px 12px}
}
@media screen and (min-width:1381px) and (max-width:1480px){
    #homeService .container .content .single{padding:22px 20px 18px}
    #homeService .container .content .single p{font-size:12.5px}
    #homeBrands .container{column-gap:20px}
}
/* ---- Tablet / mobil: sıkıştırma kurallarını kapat ---- */
@media screen and (max-width:1024px){
    #homeBrands .container .single h5{min-height:0}
    #homeService .container .content .single h1{min-height:0}
    #homeService .container .content .single p{-webkit-line-clamp:unset;overflow:visible}
}

/* ---------- Footer sosyal medya ---------- */
#footer .socialLinks { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
#footer .socialLinks a {
    width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: rgba(255,255,255,.88);
    font-size: 14px; transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
#footer .socialLinks a:hover, #footer .socialLinks a:focus-visible { background: #7dcf11; border-color: #7dcf11; color: #10220a; transform: translateY(-1px); }
#footer .socialLinks + .legalLinks { margin-top: 10px; }
@media screen and (max-width: 640px) { #footer .socialLinks { justify-content: flex-start; } }

/* ---------- Sıkça Sorulan Sorular ---------- */
.ivFaq { margin: 48px 0 16px; clear: both; }
.ivFaq__title { font-size: 26px; font-weight: 600; color: #1b2125; margin: 0 0 18px; letter-spacing: -.005em; }
.ivFaq__title::after { content: ""; display: block; width: 44px; height: 3px; background: var(--iv-brand); margin-top: 10px; border-radius: 2px; }
.ivFaq__list { display: flex; flex-direction: column; gap: 10px; }
.ivFaq__item { border: 1px solid #e3e7ea; border-radius: 10px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.ivFaq__item[open] { border-color: rgba(125,207,17,.55); box-shadow: 0 6px 18px -10px rgba(27,33,37,.25); }
.ivFaq__q {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; font-size: 16px; font-weight: 600; color: #1b2125; line-height: 1.4;
}
.ivFaq__q::-webkit-details-marker { display: none; }
.ivFaq__q i { flex: 0 0 auto; color: var(--iv-brand-dark); font-size: 14px; transition: transform .25s; }
.ivFaq__item[open] .ivFaq__q i { transform: rotate(45deg); }
.ivFaq__q:focus-visible { outline: 2px solid var(--iv-brand); outline-offset: 2px; border-radius: 10px; }
.ivFaq__a { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: #4a555c; }
@media screen and (max-width: 640px) {
    .ivFaq__title { font-size: 21px; }
    .ivFaq__q { padding: 14px 16px; font-size: 15px; }
    .ivFaq__a { padding: 0 16px 16px; font-size: 14px; }
}

/* ---------- Sayfalama (liste sayfaları) ---------- */
ul.pagination {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
    list-style: none; margin: 36px 0 56px; padding: 0; width: 100%;
}
ul.pagination .page-item { list-style: none; margin: 0; padding: 0; }
ul.pagination .page-item::marker { content: none; }
ul.pagination .page-link {
    min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e3e7ea; background: #fff; color: #1b2125;
    font: 600 14px/1 'Montserrat', sans-serif; text-decoration: none;
    transition: background-color .2s, border-color .2s, color .2s;
}
ul.pagination a.page-link:hover, ul.pagination a.page-link:focus-visible { border-color: var(--iv-brand); color: var(--iv-brand-dark); }
ul.pagination .page-item.active .page-link { background: var(--iv-brand); border-color: var(--iv-brand); color: #10220a; }
ul.pagination .page-item.disabled .page-link { opacity: .4; cursor: default; }
nav[role="navigation"] > .d-flex, nav[role="navigation"] p.small { display: none; }
