/*
 * ajans io ön yüz tabanı. Dış kütüphane yok; bölümler:
 *   1. Poppins yazı tipi (lokal woff2)
 *   2. Font Awesome Free 7.0.1 alt kümesi (yalnız sitede kullanılan ikonlar)
 *   3. Taban: sıfırlama, flexbox düzen (.container/.row/.col-*), düğme tabanı, modal
 *
 * Yeni ikon eklemek: project-docs/onyuz-kutuphanesiz.md → "Yeni ikon".
 */

/* ===== 1. Poppins (400/700/800; latin + latin-ext) =====
 * Kaynak: @fontsource/poppins 5.3.0 (Google Fonts ile aynı alt kümeler). Lisans: SIL OFL 1.1 (../fonts/poppins/OFL.txt).
 * Türkçe: ç ö ü latin'de, ğ ş ı İ Ğ Ş latin-ext'te; ikisi de gerekir. Tarayıcı unicode-range'e göre yalnız
 * sayfada geçen karakterlerin dosyasını indirir. latin + latin-ext 400 base.blade.php'de preload edilir.
 */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins/poppins-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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins/poppins-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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins/poppins-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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins/poppins-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-800-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: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-800-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;
}

/* ===== 2. Font Awesome Free 7.0.1 alt kümesi =====
 * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 * Copyright 2025 Fonticons, Inc.
 * Fontlar ../fonts/fa/ altında, yalnız aşağıdaki ikonların glifleriyle (pyftsubset) üretildi.
 */
@font-face {
  font-family: "Font Awesome 7 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fonts/fa/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 7 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa/fa-regular-400.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 7 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa/fa-brands-400.woff2") format("woff2");
}

.fa-solid,
.fa-regular,
.fa-brands,
.fab {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-family: "Font Awesome 7 Free";
  font-feature-settings: normal;
  font-style: normal;
  font-synthesis: none;
  font-variant: normal;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-rendering: auto;
  width: 1.25em;
}

.fa-regular {
  font-weight: 400;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 7 Brands";
  font-weight: 400;
}

:is(.fa-solid, .fa-regular, .fa-brands, .fab)::before {
  content: var(--fa) / "";
}

@supports not (content: "" / "") {
  :is(.fa-solid, .fa-regular, .fa-brands, .fab)::before {
    content: var(--fa);
  }
}

/* solid */
.fa-house { --fa: "\f015"; }
.fa-chevron-left { --fa: "\f053"; }
.fa-chevron-right { --fa: "\f054"; }
.fa-arrow-right { --fa: "\f061"; }
.fa-angle-right { --fa: "\f105"; }
.fa-paper-plane { --fa: "\f1d8"; }
.fa-phone-volume { --fa: "\f2a0"; }
.fa-file-pen { --fa: "\f31c"; }
.fa-location-dot { --fa: "\f3c5"; }
/* solid fontta ayrıca: \f104 (angle-left), \f105 (angle-right) → style.css kaydırıcı okları */

/* regular */
.fa-envelope { --fa: "\f0e0"; }
.fa-hand-pointer { --fa: "\f25a"; }

/* brands */
.fa-x-twitter { --fa: "\e61b"; }
.fa-pinterest { --fa: "\f0d2"; }
.fa-linkedin-in { --fa: "\f0e1"; }
.fa-youtube { --fa: "\f167"; }
.fa-instagram { --fa: "\f16d"; }
.fa-whatsapp { --fa: "\f232"; }
.fa-facebook-f { --fa: "\f39e"; }

/* ===== 3. Taban: sıfırlama, düzen, düğme, modal =====
 * Site için yazıldı; değerler eski görünümü piksel piksel korur (Bootstrap 5.3 kaldırılırken ölçüldü).
 * Düzen flexbox'tır: .container ortalanmış kap, .row sarmalanan flex satırı, .col-* sütun genişliği.
 */

/* --- sıfırlama --- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

/* başlık boyu: dar ekranda ekranla büyür, 1200px'te sabitlenir */
h1 { font-size: calc(1.375rem + 1.5vw); }
h2 { font-size: calc(1.325rem + 0.9vw); }
h3 { font-size: calc(1.3rem + 0.6vw); }
h4 { font-size: calc(1.275rem + 0.3vw); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (min-width: 1200px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
}

p,
ul,
ol,
dl,
blockquote,
figure,
pre {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 2rem;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 0.875em;
}

sub,
sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}

img,
svg {
  vertical-align: middle;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

th {
  text-align: inherit;
}

thead,
tbody,
tfoot,
tr,
th,
td {
  border: 0 solid;
  border-color: inherit;
}

label {
  display: inline-block;
}

button,
input,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  border-radius: 0;
}

button:not(:disabled) {
  cursor: pointer;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

textarea {
  resize: vertical;
}

iframe {
  border: 0;
}

code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
  color: #d63384;
  word-wrap: break-word;
}

a > code {
  color: inherit;
}

/* --- yardımcılar --- */

.img-fluid {
  max-width: 100%;
  height: auto;
}

.bg-transparent {
  background-color: transparent !important;
}

/* --- düzen: kap, satır, sütun (flexbox) --- */

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 0.75rem;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -0.75rem;
}

/* satırın her çocuğu varsayılan olarak tam genişlik sütundur; .col-* genişliği daraltır (aynı özgüllük, sonra gelir) */
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-inline: 0.75rem;
}

.col { flex: 1 0 0; }
.col-6 { width: 50%; }

@media (min-width: 768px) {
  .col-md-4 { width: calc(100% / 3); }
  .col-md-5 { width: calc(500% / 12); }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: calc(700% / 12); }
  .col-md-8 { width: calc(200% / 3); }
  .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-2 { width: calc(100% / 6); }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: calc(100% / 3); }
  .col-lg-5 { width: calc(500% / 12); }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: calc(700% / 12); }
  .col-lg-8 { width: calc(200% / 3); }
  .col-lg-9 { width: 75%; }
  .col-lg-12 { width: 100%; }
  .offset-lg-1 { margin-left: calc(100% / 12); }
}

@media (min-width: 1400px) {
  .col-xxl-6 { width: 50%; }
}

/* --- düğme tabanı (renkler style.css: .btn-blue, .btn-white) --- */

.btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background-color: transparent;
  color: #212529;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Durumlar eski görünümle aynı: üzerine gelince kenar saydamlaşır; klavye odağında ve basılıyken
   zemin ve yazı rengi sıfırlanır (style.css'teki :hover renkleri bunun üstüne yazar). */
.btn:hover {
  color: inherit;
  background-color: transparent;
  border-color: transparent;
}

.btn:focus-visible {
  color: inherit;
  background-color: transparent;
  border-color: transparent;
  outline: 0;
  box-shadow: none;
}

.btn:is(:first-child, :not(:first-child)):active {
  color: inherit;
  background-color: transparent;
  border-color: currentColor;
}

/* --- breadcrumb kabı (sayfa başlığı bandı) --- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* --- modal (#rightPopup, #formModal); aç/kapa main.js → data-modal-open / data-modal-close --- */

.fade {
  transition: opacity 0.15s linear;
}

.fade:not(.show) {
  opacity: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal-dialog {
  position: relative;
  margin: 0.5rem;
  pointer-events: none;
}

.modal.fade .modal-dialog {
  transform: translateY(-50px);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-radius: 0.5rem;
  background-color: #fff;
  background-clip: padding-box;
  color: #212529;
  pointer-events: auto;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: 0.5; }

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
}

/* tam ekran diyalog (sağ menü) */
.modal-fullscreen {
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
}

.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .fade,
  .modal.fade .modal-dialog {
    transition: none;
  }
}
