/* PRM Portföy — site stilleri */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.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: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-latin.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 {
  --navy: #1e242e;
  --navy-soft: #2d3643;
  --blue: #2e6296;
  --link: #3d9be9;
  --maroon: #432222;
  --grey-bg: #f9f9f9;
  --form-ink: #414141;
  --accent: #c86567;
  --orange: #f5873f;
  --band-bg: #242323;
  --container: 980px;
  --gutter: 20px;
  --inset: 40px;
  --header-h: 114px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", "Inter", Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, p, ul, dl, dd, address, table { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
b, strong, th { font-weight: 600; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -200%);
  z-index: 100; padding: 10px 18px; background: #fff; color: #116dff;
  font-size: 14px; border: 1px solid #116dff; border-radius: 4px;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- Üst menü ---------- */

.site-header { background: #fff; position: relative; z-index: 20; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}

.logo { margin-left: var(--inset); flex-shrink: 0; }
.logo img { width: 142px; height: auto; }

.site-nav { display: flex; align-items: center; margin-right: var(--inset); }
.nav-links, .nav-auth { display: flex; align-items: center; }

.site-nav a {
  display: block; padding: 0 10px; line-height: 50px;
  white-space: nowrap; transition: color .2s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--blue); }

.nav-auth { margin-left: 14px; padding-left: 14px; border-left: 1px solid #dcdfe3; gap: 8px; }

.site-nav a.btn-login, .site-nav a.btn-register {
  line-height: 38px; padding: 0 18px; font-weight: 400;
  transition: background-color .2s ease, color .2s ease;
}
.site-nav a.btn-login { background: var(--orange); color: var(--navy); }
.site-nav a.btn-login:hover { background: #e06f2c; color: var(--navy); }
.site-nav a.btn-register { background: var(--blue); color: #fff; }
.site-nav a.btn-register:hover { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -8px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Görsel şeritleri ---------- */

.band {
  height: clamp(220px, 43vw, 620px);
  background: var(--band-bg) center / cover no-repeat;
}
.band-contact-hero { height: clamp(200px, 36vw, 413px); background-position: center 30%; }
.band-contact-bottom, .band-info-hero, .band-info-bottom { height: clamp(200px, 38vw, 500px); }

@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
  .band-parallax { background-attachment: fixed; }
}

/* ---------- Anasayfa ---------- */

.home-hero-title {
  position: relative; z-index: 1;
  max-width: 7.5em;
  margin: 57px 0 -.41em var(--inset);
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(2.375rem, 1rem + 6.4vw, 6.25rem);
  line-height: 1.4;
  color: var(--maroon);
}

.home-intro { padding: 76px 0 54px; }

.intro-text {
  max-width: 850px; margin-left: var(--inset);
  font-size: clamp(1.5rem, .95rem + 2.3vw, 2.8125rem);
  line-height: 1.22;
}

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.pillars li {
  min-height: 310px; padding: 43px 20px 40px 42px;
  background: var(--navy-soft); color: #fff;
}
.pillars li:nth-child(2) { background: var(--navy); }
.pillar-no { display: block; letter-spacing: .03em; line-height: 21px; }
.pillars h2 {
  margin-top: 28px;
  font-weight: 300; font-size: clamp(1.75rem, 1rem + 2.4vw, 2.8125rem);
  line-height: 1.22; letter-spacing: .01em;
}

.home-vision { background: var(--grey-bg); padding: 62px 0 68px; }

.vision-title {
  max-width: 595px; margin-inline: auto; text-align: center;
  font-weight: 300; font-size: clamp(1.875rem, 1.1rem + 3.2vw, 3.5rem);
  line-height: 1.4; color: var(--blue);
}

.vision-cols {
  display: grid; grid-template-columns: repeat(3, 280px);
  justify-content: space-between; margin-top: 33px; padding-inline: 9px;
}
.vision-cols p { font-size: 16px; line-height: 1.8; text-align: center; }

/* ---------- Ekibimiz ---------- */

.team { padding: 42px 0 37px; }

.team-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 403px));
  justify-content: center; column-gap: 25px;
}
.member { padding: 40px 32px; font-size: 16px; }
.member h2 { font-size: 16px; font-weight: 600; line-height: 25px; }
.member-role { margin-top: 12px; line-height: 23px; }
.member-bio { margin-top: 27px; line-height: 1.3; }
.member-bio + .member-bio { margin-top: 0; }

/* ---------- İletişim ---------- */

.contact { padding: 82px 0 127px; }

.contact-form { max-width: 771px; margin-inline: auto; color: var(--form-ink); }
.contact-title { font-size: 17px; font-weight: 300; line-height: 1.5; margin-bottom: 23px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.field { margin-bottom: 25px; }
.field label { display: block; font-size: 14px; line-height: 1.4; margin-bottom: 8px; }

.field input, .field textarea {
  display: block; width: 100%; padding: 7px 12px;
  font: inherit; font-size: 16px; line-height: 24px; color: var(--form-ink);
  background: #fff; border: 1px solid rgba(65, 65, 65, .6); border-radius: 0;
  appearance: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input { height: 40px; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--form-ink); }
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--form-ink); box-shadow: 0 0 0 1px var(--form-ink);
}
.field.has-error input, .field.has-error textarea { border-color: #df3131; box-shadow: 0 0 0 1px #df3131; }
.field-error { margin-top: 6px; font-size: 14px; color: #df3131; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.captcha-row { display: flex; align-items: center; gap: 8px; }
.captcha-question {
  flex-shrink: 0; width: 150px; height: 48px;
  background: var(--grey-bg); border: 1px solid rgba(65, 65, 65, .6);
}
.captcha-text {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600; letter-spacing: .08em; user-select: none;
}
.captcha-refresh {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; color: var(--form-ink);
  background: none; border: 1px solid rgba(65, 65, 65, .6); cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.captcha-refresh:hover { color: var(--blue); border-color: var(--blue); }
.field .captcha-row input { width: 110px; height: 48px; text-align: center; font-size: 18px; }

.btn-submit {
  display: block; width: 241px; max-width: 100%; height: 41px; margin-top: 7px;
  font: inherit; font-size: 16px; color: #fff; background: var(--accent);
  border: 0; border-radius: 0; cursor: pointer; transition: background-color .2s ease, opacity .2s ease;
}
.btn-submit:hover { background: #b25456; }
.btn-submit:disabled { opacity: .6; cursor: default; }

.form-status { margin-top: 16px; font-size: 16px; min-height: 1.4em; }
.form-status.is-ok { color: #1f7a45; }
.form-status.is-error { color: #df3131; }

/* ---------- Bilgi Toplumu Hizmetleri ---------- */

.info { padding: 103px 0 140px; }

.info-box { background: var(--grey-bg); padding: 24px 9px 29px; line-height: 1.4; }
.info-box + .info-box { margin-top: 38px; }
.info-box h2 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 13px; }
.info a { color: var(--link); }
.info a:hover { text-decoration: underline; }

.info-list > div { display: grid; grid-template-columns: 241px 1fr; }

.table-wrap { overflow-x: auto; }
.info-table { border-collapse: collapse; }
.info-table th, .info-table td { padding: 0; text-align: left; font-weight: 300; vertical-align: top; }
.info-table .num { text-align: right; }
.info-table-capital th:first-child, .info-table-capital td:first-child { width: 241px; }
.info-table-capital .num { width: 147px; }
.info-table-funds th { width: 99px; }
.info-table-funds td:nth-child(2) { width: 353px; padding-right: 16px; }

/* ---------- Alt bilgi ---------- */

.site-footer { background: var(--navy); color: #fff; padding-bottom: 10px; }

.footer-inner { padding-top: 88px; padding-bottom: 125px; letter-spacing: .03em; line-height: 21px; }
.footer-inner > * { margin-left: 32px; }
.footer-company { max-width: 300px; margin-bottom: 32px; }
.footer-inner address { margin-bottom: 23px; }
.footer-inner p + p { margin-top: 19px; }
.footer-inner a:hover { text-decoration: underline; }

.footer-links { background: var(--grey-bg); color: var(--navy-soft); }
.footer-links ul {
  display: flex; align-items: center; justify-content: space-around;
  min-height: 78px; padding-block: 18px; padding-inline: 50px;
  text-align: center; letter-spacing: .03em; line-height: 21px;
}
.footer-links li { max-width: 170px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--blue); }

/* ---------- Tablet ---------- */

@media (max-width: 1000px) {
  :root { --inset: 0px; }
  .vision-cols { grid-template-columns: repeat(3, 1fr); column-gap: 32px; padding-inline: 0; }
  .pillars li { padding-left: 28px; min-height: 240px; }
  .footer-inner > * { margin-left: 0; }
  .footer-links ul { padding-inline: var(--gutter); }
}

/* ---------- Mobil ---------- */

@media (max-width: 820px) {
  :root { --header-h: 76px; }

  .logo img { width: 112px; }
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    display: block; background: #fff;
    border-top: 1px solid #eceef0; box-shadow: 0 12px 24px rgba(30, 36, 46, .12);
    padding: 8px var(--gutter) 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

  .nav-links, .nav-auth { display: block; }
  .site-nav a { padding: 0 4px; line-height: 52px; font-size: 18px; border-bottom: 1px solid #eceef0; }
  .nav-auth { margin: 0; padding: 0; border: 0; }
  .site-nav a.btn-login, .site-nav a.btn-register { line-height: 48px; text-align: center; border: 0; }
  .site-nav a.btn-login { margin-top: 20px; }
  .site-nav a.btn-register { margin-top: 10px; }

  .home-hero-title { margin-top: 20px; }
  .home-intro { padding: 44px 0 0; }
  .pillars { grid-template-columns: 1fr; margin-top: 40px; }
  .pillars li { min-height: 190px; padding: 28px 20px 28px; }
  .pillars h2 { margin-top: 12px; }

  .home-vision { padding: 36px 0 44px; }
  .vision-cols { grid-template-columns: 1fr; row-gap: 14px; margin-top: 12px; }

  .team { padding: 16px 0 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .member { padding: 28px 0; }
  .member-bio { margin-top: 20px; line-height: 1.4; }

  .contact { padding: 44px 0 64px; }

  .info { padding: 40px 0 56px; }
  .info-box { padding: 20px 16px 22px; }
  .info-box + .info-box { margin-top: 20px; }
  .info-list > div { grid-template-columns: 1fr; padding: 7px 0; border-top: 1px solid #e6e8ea; }
  .info-list > div:first-child { border-top: 0; padding-top: 0; }
  .info-list dt { font-size: 14px; color: #5b6573; }
  .info-list dd { overflow-wrap: anywhere; }
  .info-table { width: 100%; }
  .info-table th, .info-table td { padding: 5px 0; width: auto !important; }
  .info-table td + td, .info-table th + td, .info-table th + th { padding-left: 12px; }

  .footer-inner { padding-top: 44px; padding-bottom: 48px; }
  .footer-links ul { flex-direction: column; gap: 8px; padding-block: 22px; }
  .footer-links li { max-width: none; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; height: 46px; }
  .field input { height: 44px; }
  .field .captcha-row input { flex: 1; width: auto; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .band-parallax { background-attachment: scroll; }
}
