/* Anel Elektroteknik teması — Bootstrap 5 üzerine tema katmanı.
   Yön bağımsızdır: left/right yerine mantıksal özellikler kullanılır (ar = RTL). */

/* Roboto yerel dosyadan (CDN yok); yoksa Helvetica ailesine, Arapça'da sistem yazı tipine düşer. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    /* Marka kırmızısı yalnız vurgu ve eylem çağrısı içindir; zemin ve metin lacivert-gri ölçeğindedir. */
    --brand: #d71f17;
    --brand-dark: #b0160f;
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --text: #1e293b;
    --muted: #475569;
    --line: #e2e8f0;
    --surface: #f8fafc;
    --ring: #0f172a;
    --radius: .625rem;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font: "Roboto", "Helvetica Neue", Helvetica, Arial, "Noto Sans Arabic", Tahoma, sans-serif;
}

html { scroll-padding-top: 150px; }
body { font-family: var(--font); color: var(--text); line-height: 1.65; font-size: 1rem; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
/* Klavye odağı her etkileşimli öğede görünür (WCAG 2.4.7). */
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: .25rem; }
.topbar :focus-visible, .site-footer :focus-visible, .section-stats :focus-visible, .hero-slider :focus-visible, .page-hero :focus-visible, .lightbox :focus-visible { outline-color: #fff; }
a, button, .btn { transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease); }
button, [role="button"], summary, label[for], select { cursor: pointer; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.icon { flex: 0 0 auto; vertical-align: -.15em; }
/* Yalnız yön bildiren ikonlar (ok, şerit) RTL'de çevrilir. */
[dir="rtl"] .icon-dir { transform: scaleX(-1); }
/* Telefon, e-posta, ölçü gibi LTR içerik RTL sayfada da doğru okunur. */
.ltr-text { direction: ltr; unicode-bidi: plaintext; }
.skip-link { position: absolute; inset-block-start: .5rem; inset-inline-start: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: var(--radius); }

/* Butonlar */
.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: #fff; font-weight: 500; padding: .65rem 1.5rem; border-radius: 2rem; display: inline-flex; align-items: center; gap: .5rem; }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); font-weight: 500; padding: .55rem 1.35rem; border-radius: 2rem; background: transparent; }
.btn-outline-brand:hover, .channel-card:hover .btn-outline-brand { background: var(--brand); color: #fff; }

/* Üst bant */
.site-header { position: sticky; inset-block-start: 0; z-index: 1030; background: #fff; transition: box-shadow .2s ease; }
.site-header.is-stuck { box-shadow: 0 .5rem 1.5rem -1rem rgba(0, 0, 0, .35); }
.topbar { background: var(--ink); color: #d7dadf; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; align-items: center; gap: 1.1rem; margin: 0; }
.topbar-contact a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; min-width: 28px; justify-content: center; }
.topbar-actions { display: flex; align-items: center; gap: .6rem; }
.topbar-pill { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; padding: .3rem .85rem; border-radius: 2rem; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; font-weight: 500; font-size: .8rem; white-space: nowrap; }
.topbar .topbar-pill:hover, .topbar-pill:hover { background: #fff; border-color: #fff; color: var(--ink); }
.mobile-nav .topbar-pill { min-height: 44px; border-color: var(--line); color: var(--ink); }
.mobile-nav .topbar-pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.lang-switcher { display: flex; gap: .15rem; margin-inline-start: .35rem; }
.lang-switcher a { display: inline-grid; place-items: center; min-width: 40px; min-height: 44px; padding-inline: .5rem; font-weight: 500; font-size: .8rem; position: relative; }
.lang-switcher a.is-current { color: var(--ink); z-index: 0; }
.lang-switcher a.is-current::before { content: ""; position: absolute; inset: 9px 3px; z-index: -1; border-radius: .35rem; background: #fff; }

/* Ana menü */
.main-nav { padding-block: .65rem; border-block-end: 1px solid var(--line); }
.site-logo img { height: 56px; width: auto; }
.main-nav .navbar-nav { gap: .25rem; }
.main-nav .nav-link { color: var(--ink); font-weight: 500; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; padding: .6rem .8rem; border-block-end: 2px solid transparent; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--brand); border-block-end-color: var(--brand); }
/* Birincil eylem çağrısı (panelde menü öğesine "nav-cta" sınıfı verilir). */
.main-nav .nav-link.nav-cta { margin-inline-start: .5rem; padding-inline: 1.15rem; border: 0; border-radius: 2rem; background: var(--brand); color: #fff; }
.main-nav .nav-link.nav-cta:hover, .main-nav .nav-link.nav-cta.active { background: var(--brand-dark); color: #fff; }
.mobile-nav-list a.nav-cta { margin-block-start: 1rem; border: 0; border-radius: 2rem; background: var(--brand); color: #fff; text-align: center; }
.navbar-toggler { border: 0; color: var(--ink); min-width: 44px; min-height: 44px; padding: .25rem; }
.mobile-nav-list a { display: block; padding: .8rem .25rem; border-block-end: 1px solid var(--line); color: var(--ink); font-weight: 500; text-transform: uppercase; }
.mobile-nav-list a.active { color: var(--brand); }
.mobile-nav-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: 1.25rem; }

/* Slider */
.hero-slider { background: var(--ink); }
.hero-slider .carousel-item { position: relative; }
.hero-image { display: block; width: 100%; height: clamp(220px, 34vw, 660px); object-fit: cover; }
.hero-caption { position: absolute; inset-inline: 0; inset-block-end: 22%; pointer-events: none; }
.hero-title { display: inline-block; margin: 0; padding: .5rem 1.1rem; background: rgba(27, 31, 36, .78); color: #fff; font-weight: 700; font-size: clamp(1rem, 2.4vw, 2rem); border-inline-start: 4px solid var(--brand); }
.hero-subtitle { display: table; margin: .5rem 0 0; padding: .3rem 1.1rem; background: var(--brand); color: #fff; font-weight: 500; font-size: clamp(.8rem, 1.3vw, 1.05rem); }
.hero-link { position: absolute; inset: 0; z-index: 1; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { z-index: 2; width: 8%; }
.hero-slider .carousel-indicators { z-index: 2; margin-block-end: .5rem; }
/* Görünen çizgi ince kalır, dokunma alanı 24px'e çıkar (WCAG 2.5.8). */
.hero-slider .carousel-indicators [data-bs-target] { box-sizing: content-box; width: 24px; height: 3px; border-block: 11px solid transparent; }
.hero-pause { position: absolute; inset-block-end: .75rem; inset-inline-end: .75rem; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .7); color: #fff; }
.hero-pause:hover { background: var(--ink); }
.hero-pause .icon-play, .hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }

/* Bölümler */
.section { padding-block: 4rem; }
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h1, .section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-block-end: .75rem; }
.section-head h1::after, .section-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin: .75rem auto 0; background: var(--brand); }
.section-head p { color: var(--muted); margin: 0; }
.section-welcome { padding-block-end: 3rem; }
.section-welcome .section-head { margin-block-end: 0; }
.section-about { background: var(--surface); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; color: var(--brand); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.about-media { position: relative; padding-block-end: 1.75rem; padding-inline-end: 1.75rem; }
/* Görselin arkasında köşeden taşan ince çerçeve derinlik verir. */
.about-media::before { content: ""; position: absolute; inset-block: 1.75rem 0; inset-inline: 1.75rem 0; border: 2px solid var(--brand); border-radius: var(--radius); }
.about-media img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 2rem 3rem -2rem rgba(15, 23, 42, .45); }
.about-badge { position: absolute; inset-block-end: 0; inset-inline-end: 0; margin: 0; padding: 1rem 1.4rem; display: flex; flex-direction: column; background: var(--ink); color: #cbd5e1; border-radius: var(--radius); box-shadow: 0 1rem 2rem -1rem rgba(15, 23, 42, .6); font-size: .8125rem; line-height: 1.3; }
.about-badge strong { color: #fff; font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.about-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; margin-block-end: 1.25rem; }
.about-lead { color: var(--ink); font-size: 1.125rem; font-weight: 500; line-height: 1.55; margin-block-end: 1rem; }
.about-text { color: var(--muted); max-width: 62ch; margin-block-end: 1.5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.about-points { display: grid; gap: .6rem; margin: 0 0 1.75rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--line); }
.about-points li { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink); font-weight: 500; }
.about-points .icon { margin-block-start: .2rem; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; }

.section-channels { background: var(--surface); }
.channel-card { position: relative; height: 100%; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.channel-card { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.channel-card:hover, .channel-card:focus-within { transform: translateY(-4px); box-shadow: 0 1.5rem 2.5rem -1.5rem rgba(0, 0, 0, .3); }
.channel-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-block-end: 1rem; border-radius: 50%; background: var(--brand); color: #fff; }
.channel-card h3 { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.channel-card p { color: var(--muted); font-size: .95rem; }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 0; border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.brand-grid li { display: grid; place-items: center; min-height: 104px; padding: 1.25rem 1rem; border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
/* Logolar gri ve soluk durur; üzerine gelince (dokunmatikte basınca) kendi rengine döner. */
.brand-grid img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.brand-grid li:hover img, .brand-grid li:active img { filter: none; opacity: 1; }
/* Anasayfa: logolar küçük, hücre içi boşluk geniş. */
.section-brands .brand-grid img { max-height: 34px; max-width: 78%; }
/* Anasayfada geniş ekranda yan yana 8 logo; dar alandaki sayfa ızgarası 6'da kalır. */
@media (min-width: 1200px) {
    .section-brands .brand-grid { grid-template-columns: repeat(8, 1fr); }
    .section-brands .brand-grid li { min-height: 112px; padding: 1.75rem 1.5rem; }
}

.section-projects { background: var(--surface); }
.project-table-wrap { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.project-table { margin: 0; font-size: .9rem; min-width: 640px; }
.project-table thead th { background: var(--ink); color: #fff; font-weight: 500; white-space: nowrap; border: 0; padding: .8rem 1rem; }
.project-table tbody th { font-weight: 500; }
.project-table th, .project-table td { padding: .65rem 1rem; vertical-align: middle; }
.project-table tbody tr:nth-child(even) > * { background: var(--surface); }
.project-table tbody tr:hover > * { background: #eef2f7; }

.section-stats { background: var(--ink); color: #fff; padding-block: 3rem; }
.stats-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem 1rem; margin: 0; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.stat-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--brand); }
.stat-number { font-size: 2.1rem; font-weight: 700; line-height: 1.1; }
.stat-label { color: #cbd5e1; font-size: .9rem; }

/* İç sayfalar */
.page-hero { background: var(--ink); color: #fff; padding-block: 2.5rem; border-block-end: 4px solid var(--brand); }
.page-hero h1 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-block-end: .5rem; }
.page-hero .breadcrumb { margin: 0; font-size: .85rem; --bs-breadcrumb-divider-color: #9aa1ab; --bs-breadcrumb-item-active-color: #c5c9d0; }
.page-hero .breadcrumb a { color: #fff; }
.side-menu { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; inset-block-start: 140px; }
.side-menu h2 { margin: 0; padding: .9rem 1.1rem; background: var(--ink); color: #fff; font-size: .95rem; font-weight: 700; text-transform: uppercase; }
.side-menu ul { margin: 0; }
.side-menu a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; padding: .7rem 1.1rem; color: var(--ink); font-size: .9rem; border-block-start: 1px solid var(--line); }
.side-menu a:hover { background: var(--surface); color: var(--brand); }
.side-menu a.active { background: var(--surface); color: var(--brand); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); }
[dir="rtl"] .side-menu a.active { box-shadow: inset -3px 0 0 var(--brand); }
.content-cover { width: 100%; border-radius: var(--radius); margin-block-end: 1.75rem; }
.content-body { overflow-wrap: anywhere; }
.content-body h2, .content-body h3 { font-weight: 700; margin-block: 1.5rem .75rem; }
.content-body h2 { font-size: 1.45rem; }
.content-body h3 { font-size: 1.2rem; }
.content-body p, .content-body li { max-width: 75ch; }
.content-body table { width: 100%; margin-block-end: 1rem; border-collapse: collapse; display: block; overflow-x: auto; }
.content-body td, .content-body th { border: 1px solid var(--line); padding: .5rem .75rem; vertical-align: top; }
.block-title { font-size: 1.3rem; font-weight: 700; margin-block-end: 1.25rem; padding-block-end: .6rem; border-block-end: 2px solid var(--brand); display: inline-block; }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; padding-block: .7rem; border-block-end: 1px solid var(--line); }
.contact-list .icon { color: var(--brand); margin-block-start: .2rem; }
.contact-list a { color: var(--ink); }
.list-card { position: relative; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.list-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.list-card-body { padding: 1.25rem; }
.list-card h2 { font-size: 1.1rem; font-weight: 700; }
.list-card h2 a { color: var(--ink); }
.list-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.page-link { color: var(--brand); }
.active > .page-link { background: var(--brand); border-color: var(--brand); }

/* Formlar */
.site-form .req { color: var(--brand); }
.site-form .form-label { font-weight: 500; font-size: .9rem; }
.site-form .form-control, .site-form .form-select { min-height: 46px; }
.site-form .form-check-input { width: 1.25em; height: 1.25em; }
.site-form .btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.site-form .form-control:focus, .site-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(226, 35, 26, .15); }
.site-form .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-trap { position: absolute; inset-inline-start: -9999px; }

/* Footer */
.site-footer { background: var(--ink-soft); color: #cbd5e1; padding-block-start: 3.5rem; font-size: .92rem; }
.site-footer a { color: #e5e7eb; }
.site-footer a:hover { color: #fff; }
.footer-title { font-size: 1rem; font-weight: 700; color: #fff; text-transform: uppercase; margin-block-end: 1.1rem; padding-block-end: .6rem; border-block-end: 2px solid var(--brand); display: inline-block; }
.footer-social { display: flex; gap: .5rem; margin: 1rem 0 0; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--brand); }
.footer-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; margin: 0; }
.footer-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .25rem; transition: opacity .2s ease; }
.footer-gallery a:hover img { opacity: .75; }
.footer-menu { margin: 0; }
.footer-menu li { border-block-end: 1px solid rgba(255, 255, 255, .1); }
.footer-menu a { display: flex; align-items: center; min-height: 44px; padding-block: .45rem; text-transform: uppercase; font-size: .85rem; }
.footer-bottom { background: var(--ink); font-size: .8125rem; padding-block: .5rem 1.25rem; color: #94a3b8; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 1rem; padding-block: .5rem; border-block-end: 1px solid rgba(255, 255, 255, .1); }
.footer-legal li { display: flex; align-items: center; }
.footer-legal li + li::before { content: ""; width: 1px; height: 12px; margin-inline: .9rem; background: rgba(255, 255, 255, .25); }
.footer-legal a, .footer-cookie { display: inline-flex; align-items: center; min-height: 36px; color: #cbd5e1; }
.footer-cookie { border: 0; background: none; padding: 0; font: inherit; }
.footer-legal a:hover, .footer-cookie:hover { color: #fff; text-decoration: underline; }
/* Köşedeki "yukarı çık" düğmesi telif/imza satırını örtmesin. */
.footer-meta { padding-inline-end: 4.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; }
.to-top { position: fixed; inset-block-end: 1.5rem; inset-inline-end: 1.5rem; border: 1px solid rgba(255, 255, 255, .35); z-index: 1020; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 .5rem 1rem -.5rem rgba(0, 0, 0, .5); }
.to-top[hidden] { display: none; }
.to-top .icon, [dir="rtl"] .to-top .icon { transform: rotate(-90deg); }
.to-top:hover { background: var(--brand); color: #fff; }

/* Lightbox (footer galerisi) */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(0, 0, 0, .88); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: .25rem; }
.lightbox-close { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Hata sayfaları (resources/views/errors, tema layout'unu kullanır) */
.error-page { padding-block: 5rem; text-align: center; }
.error-code { display: block; font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-block-start: 1.5rem; }
.error-page .btn-accent, .error-page .btn-outline { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.4rem; border-radius: 2rem; border: 1px solid var(--brand); font-weight: 500; }
.error-page .btn-accent { background: var(--brand); color: #fff; }
.error-page .btn-outline { color: var(--brand); }

/* Çerez Tercih Merkezi (zorunlu bileşen — docs/00-project-rules.md) */
.cookie-consent { position: fixed; inset: auto 0 0; z-index: 1080; }
.cookie-consent[hidden] { display: none; }
.cc-banner { max-width: 1140px; margin: 0 auto 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-block-start: 3px solid var(--brand); border-radius: var(--radius); box-shadow: 0 1rem 2.5rem -1rem rgba(0, 0, 0, .4); padding: 1.25rem; }
.cc-banner[hidden] { display: none; }
.cc-banner-body { flex: 1 1 380px; }
.cc-title { display: block; font-size: 1rem; }
.cc-text { margin: .35rem 0 0; font-size: .875rem; color: #495057; }
.cc-banner-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-inline-start: auto; }
.cc-btn { min-height: 44px; padding: .6rem 1.25rem; border: 1px solid var(--ink); border-radius: 2rem; background: #fff; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; }
.cc-btn:hover { background: var(--surface); }
.cc-btn-accept { background: var(--ink); color: #fff; }
.cc-btn-accept:hover { background: var(--ink-soft); }
.cc-modal { position: fixed; inset: 0; z-index: 1090; display: grid; place-items: center; padding: 1rem; }
.cc-modal[hidden] { display: none; }
.cc-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.cc-modal-panel { position: relative; width: min(620px, 100%); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: var(--radius); padding: 1.75rem; }
.cc-modal-close { position: absolute; inset-block-start: .75rem; inset-inline-end: .75rem; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.cc-modal-title { margin: 0 0 .5rem; font-size: 1.25rem; }
.cc-modal-lead { font-size: .875rem; color: #495057; }
.cc-cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-block-start: 1px solid var(--line); }
.cc-cat-info strong { display: block; }
.cc-cat-info span { font-size: .8rem; color: var(--muted); }
.cc-always { font-size: .75rem; font-weight: 500; background: var(--surface); border-radius: 2rem; padding: .35rem .75rem; white-space: nowrap; }
.cc-switch { position: relative; width: 48px; height: 26px; flex: 0 0 auto; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; border-radius: 2rem; background: #ced4da; transition: background-color .2s ease; }
.cc-slider::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.cc-switch input:checked + .cc-slider { background: var(--brand); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(22px); }
[dir="rtl"] .cc-switch input:checked + .cc-slider::after { transform: translateX(-22px); }
.cc-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: 1.25rem; }
.cc-modal-policy { display: inline-block; margin-block-start: 1rem; font-size: .8rem; }

@media (max-width: 991.98px) {
    .section { padding-block: 3rem; }
    .site-logo img { height: 46px; }
    .side-menu { position: static; }
    .footer-gallery { grid-template-columns: repeat(4, 1fr); }
    .brand-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767.98px) {
    .hero-caption { inset-block-end: 14%; }
    .brand-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-grid li { min-height: 84px; padding: .9rem .6rem; }
    .project-table { font-size: .8rem; }
    .cc-banner { margin: 0; border-radius: var(--radius) var(--radius) 0 0; }
    .cc-banner-actions { margin-inline-start: 0; width: 100%; }
    .cc-banner-actions .cc-btn { flex: 1 1 120px; }
    .footer-legal { flex-direction: column; align-items: flex-start; }
    .footer-legal li + li::before { display: none; }
    .footer-meta { flex-direction: column; align-items: flex-start; }
}
/* Dar ekranda üç çerez butonu tek satırda kalır (docs/00 → Çerez onayı, kural 8). */
@media (max-width: 575.98px) {
    .cc-banner-actions { flex-wrap: nowrap; gap: .35rem; }
    .cc-banner-actions .cc-btn { flex: 1 1 auto; min-width: 0; padding: .6rem .5rem; font-size: .76rem; white-space: nowrap; text-align: center; }
    .cc-banner-actions .cc-btn svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-slider .carousel-item { transition: none; }
}

/* Mobil menü kapatma düğmesi: 44px dokunma alanı */
.mobile-nav .btn-close { box-sizing: border-box; width: 44px; height: 44px; padding: 0; }
.site-footer > .container { padding-block-end: 3rem; }

/* ── İnce + kalın harf mizanpajı ─────────────────────────────────────────────
   Başlıklarda metnin başı ince (300), vurgu kelimeleri kalın (700) basılır
   (partials/duo). Gövde metni normal, giriş metinleri ince, etiketler orta ağırlıktadır. */
.duo { font-weight: 300; }
.duo strong { font-weight: 700; }
h1, h2, h3 { letter-spacing: -.01em; }
.section-head h1, .section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { font-weight: 300; font-size: 1.125rem; color: var(--text); }
.about-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.about-lead { font-weight: 300; font-size: 1.3rem; line-height: 1.5; }
.about-text { font-weight: 400; }
.about-points li { font-weight: 500; }
.about-badge strong, .stat-number { font-weight: 700; }
.about-badge span, .stat-label { font-weight: 300; }
.stat-number { font-size: 2.6rem; letter-spacing: -.02em; }
.stat-label { font-size: 1rem; }
.hero-title .duo strong { font-weight: 700; }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.page-hero .breadcrumb { font-weight: 300; }
.channel-card h3 { letter-spacing: .02em; }
.channel-card p { font-weight: 300; font-size: 1rem; color: var(--text); }
.main-nav .nav-link { font-weight: 500; letter-spacing: .04em; }
.main-nav .nav-link.active, .main-nav .nav-link.nav-cta { font-weight: 700; }
.btn-brand, .btn-outline-brand, .topbar-pill { font-weight: 500; letter-spacing: .01em; }
.eyebrow { font-weight: 700; }
.project-table thead th { font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .8125rem; }
.project-table tbody th { font-weight: 700; }
.project-table td { font-weight: 300; }
.side-menu h2, .footer-title, .block-title { font-weight: 400; letter-spacing: .04em; }
.footer-text, .site-footer p { font-weight: 300; }
.footer-menu a { font-weight: 300; letter-spacing: .04em; }
.footer-credit strong { font-weight: 700; }
.content-body { font-weight: 400; }
.content-body h2, .content-body h3 { font-weight: 300; }
.content-body h2 strong, .content-body h3 strong, .content-body strong { font-weight: 700; }
.site-form .form-label { font-weight: 500; }
.contact-list li { font-weight: 300; }
