/* Soyak İlaç — kurumsal site stilleri
   Bootstrap 5.3 üzerine yazılmıştır. Renk: #DA0303 */

:root {
  --brand: #DA0303;
  --brand-dark: #a80202;
  --ink: #15191d;
  --ink-2: #1e242a;
  --ink-3: #2a3238;
  --muted: #6c757d;
  --line: #e6e8 eb;
  --line: #e6e8eb;
  --paper: #f5f6f7;
}

* { -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #33383d;
  font-size: 1.0625rem;
  line-height: 1.7;
  background: #fff;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.4rem; }

a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }

.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; }
.bg-ink { background: var(--ink) !important; }
.bg-ink-2 { background: var(--ink-2) !important; }
.bg-paper { background: var(--paper) !important; }

.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
@media (max-width: 767px) { .section { padding: 60px 0; } }

/* Bölüm etiketi */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Barlow', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  display: block;
}
.on-dark .eyebrow { color: #ff5c5c; }
.on-dark .eyebrow::before { background: #ff5c5c; }
.on-dark, .on-dark p, .on-dark li { color: rgba(255,255,255,.78); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

.lead-tight { font-size: 1.15rem; color: #5b636b; max-width: 62ch; }

/* Butonlar */
.btn { border-radius: 2px; font-weight: 600; letter-spacing: .02em; padding: .7rem 1.5rem; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-ink { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline-ink:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline-dark2 { border: 1px solid #cfd4d9; color: var(--ink); }
.btn-outline-dark2:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Üst şerit */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  padding: .45rem 0;
}
.topbar a { color: rgba(255,255,255,.7); }
.topbar a:hover { color: #fff; }
.topbar .lang a.active { color: #fff; font-weight: 700; }

/* Navbar */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .35rem 0;
  transition: box-shadow .25s;
}
.site-nav.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.site-nav .navbar-brand img { height: 52px; width: auto; }
.site-nav .nav-link {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 1rem .85rem !important;
  position: relative;
}
.site-nav .nav-link:hover { color: var(--brand); }
.site-nav .nav-item.active > .nav-link { color: var(--brand); }
.site-nav .nav-item.active > .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .5rem; height: 2px; background: var(--brand);
}
.site-nav .dropdown-menu {
  border: 0; border-top: 3px solid var(--brand); border-radius: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.12); padding: .4rem 0; margin-top: 0;
}
.site-nav .dropdown-item {
  font-weight: 600; font-size: .93rem; color: var(--ink); padding: .6rem 1.2rem;
}
.site-nav .dropdown-item:hover { background: var(--paper); color: var(--brand); }
@media (min-width: 992px) {
  .site-nav .dropdown:hover > .dropdown-menu { display: block; }
}

/* Anasayfa hero */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(21,25,29,.95) 0%, rgba(21,25,29,.75) 45%, rgba(21,25,29,.35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 130px 0 150px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero p { color: rgba(255,255,255,.82); font-size: 1.2rem; max-width: 56ch; }
.hero-rule { width: 64px; height: 4px; background: var(--brand); margin-bottom: 1.6rem; }

/* Hizmet kartları */
.svc-card {
  display: block; background: #fff; border: 1px solid var(--line);
  padding: 2rem 1.75rem; height: 100%;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  position: relative;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--brand); transition: height .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.09); border-color: #dfe3e7; }
.svc-card:hover::before { height: 100%; }
.svc-card .svc-no {
  font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; font-weight: 700;
  color: #e9ecef; line-height: 1; margin-bottom: .9rem; display: block;
}
.svc-card h3 { margin-bottom: .6rem; }
.svc-card p { color: #5f676e; font-size: .98rem; margin-bottom: 1rem; }
.svc-card .more { font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.hero-cards { margin-top: -70px; position: relative; z-index: 5; }

/* Sayfa başlığı */
.page-hero { position: relative; background: var(--ink-2); padding: 78px 0 66px; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,25,29,.92), rgba(21,25,29,.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.45); margin: 0 0 .6rem; font-size: .85rem; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.breadcrumb .active { color: rgba(255,255,255,.55); }

/* Ölçüt/İstatistik */
.stat { border-left: 3px solid var(--brand); padding-left: 1.1rem; }
.stat .num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--ink); }
.on-dark .stat .num { color: #fff; }
.stat .lbl { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.on-dark .stat .lbl { color: rgba(255,255,255,.6); }

/* Özellik listesi */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px;
  background: var(--brand); transform: rotate(45deg);
}

/* Referans şeridi */
.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.logo-track { display: flex; gap: 4rem; align-items: center; padding: 1.6rem 0; animation: marquee 34s linear infinite; width: max-content; }
.logo-track span {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 700;
  letter-spacing: .06em; color: #b9c0c7; text-transform: uppercase; white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* Belge listesi */
.doc-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.25rem;
  border: 1px solid var(--line); background: #fff; margin-bottom: .65rem; transition: border-color .2s, transform .2s;
}
.doc-item:hover { border-color: var(--brand); transform: translateX(4px); }
.doc-item .ext {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .06em;
  background: var(--brand); color: #fff; padding: .2rem .5rem; flex: none;
}
.doc-item .nm { font-weight: 600; color: var(--ink); }
.doc-item .sz { font-size: .82rem; color: var(--muted); margin-left: auto; flex: none; }

/* Galeri */
.gal-item { display: block; position: relative; overflow: hidden; background: var(--ink); }
.gal-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .5s, opacity .3s; }
.gal-item:hover img { transform: scale(1.06); opacity: .8; }
.gal-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-weight: 600; font-size: .95rem;
}

/* Haber kartı */
.news-card { background: #fff; border: 1px solid var(--line); height: 100%; transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: 0 18px 36px rgba(0,0,0,.08); transform: translateY(-4px); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card .body { padding: 1.4rem; }
.news-card .date { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.news-card h3 { font-size: 1.2rem; margin: .5rem 0 .5rem; }

/* Accordion */
.accordion-item { border: 1px solid var(--line); border-radius: 0 !important; margin-bottom: .5rem; }
.accordion-button { font-weight: 600; color: var(--ink); font-size: 1.05rem; border-radius: 0 !important; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background: var(--paper); color: var(--brand); }
.accordion-button:focus { border-color: var(--line); }

/* Formlar */
.form-control, .form-select {
  border-radius: 2px; border-color: #d7dbe0; padding: .75rem .9rem; font-size: 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .15rem rgba(218,3,3,.12); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); }

/* Bilgi kartı */
.info-card { background: #fff; border: 1px solid var(--line); padding: 1.75rem; height: 100%; }
.info-card h3 { font-size: 1.25rem; }
.info-card .ln { display: flex; gap: .6rem; margin-bottom: .35rem; font-size: .98rem; }
.info-card .ln b { color: var(--ink); flex: none; min-width: 22px; }

/* CTA şeridi */
.cta-band { background: var(--brand); color: #fff; padding: 54px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 70px 0 0; font-size: .95rem; }
.site-footer h4 {
  color: #fff; font-size: 1.05rem; letter-spacing: .06em; margin-bottom: 1.1rem;
  padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: #fff; }
.site-footer .flogo { background: #fff; padding: .7rem .9rem; display: inline-block; margin-bottom: 1.2rem; }
.site-footer .flogo img { height: 46px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0;
  font-size: .85rem; color: rgba(255,255,255,.45);
}

/* Scroll animasyonu */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.ratio-photo img { width: 100%; height: 100%; object-fit: cover; }
.img-frame { position: relative; }
.img-frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--brand); z-index: -1; }
.img-frame img { position: relative; z-index: 1; width: 100%; }

/* Haber kartı: <a> içindeki metin rengi miras almasın */
.news-card, .news-card:hover { color: #33383d; }
.news-card p { color: #5f676e; }
.news-card h3 { color: var(--ink); }
.doc-item, .doc-item:hover { color: inherit; }
.gal-item .cap { color: #fff; }

/* Fotoğraf yüklenemezse kalıcı nötr zemin (yüklenince görsel üstünü kapatır) */
img[data-photo] { background: repeating-linear-gradient(135deg,#22282e 0 12px,#1c2227 12px 24px); }
