:root {
  --navy-950: #1f3347;
  --navy-900: #2c4a66;
  --navy-800: #35597a;
  --blue-600: #2f86bd;
  --blue-500: #3491ca;
  --cyan-400: #fabb20;
  --white: #ffffff;
  --gray-50: #f6faff;
  --gray-100: #dde8f1;
  --gray-500: #6f7f90;
  --gray-600: #4a5b6c;
  --gray-900: #1f2a36;

  --orange: #f37731;
  --green: #80c79d;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 40px -24px rgba(31, 51, 71, 0.2);
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--cyan-400);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-950);
}

.nav__brand img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  color: var(--gray-600);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--orange);
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fffaf0 0%, #eaf4fb 100%);
  overflow: hidden;
  padding: 96px 0 120px;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(250, 187, 32, 0.28) 0%, rgba(52, 145, 202, 0.1) 45%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(340px, 80%);
  height: auto;
  margin-bottom: 20px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 {
  color: var(--navy-950);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
  max-width: 760px;
}

.hero__lead {
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 36px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #f9a02a, var(--orange));
  color: var(--white);
  box-shadow: 0 16px 30px -12px rgba(243, 119, 49, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -12px rgba(243, 119, 49, 0.65);
}

.btn--ghost {
  background: rgba(47, 134, 189, 0.08);
  color: var(--navy-950);
  border: 1px solid rgba(47, 134, 189, 0.35);
}

.btn--ghost:hover {
  background: rgba(47, 134, 189, 0.16);
}

/* SECTIONS */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--gray-50);
}

.section__title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 14px;
  color: var(--navy-950);
}

.section__subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* GRID */
.grid {
  display: grid;
  gap: 24px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 920px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

.card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--navy-950);
}

.card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 15px;
}

/* FEATURES */
.feature {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px 22px;
}

.feature__icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--navy-950);
}

.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-600);
}

/* ROLE CARDS */
.role-card {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: var(--white);
}

.role-card h3 {
  font-size: 19px;
  margin: 0 0 18px;
  color: var(--cyan-400);
}

.role-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.role-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--orange));
}

/* FOOTER */
.footer {
  background: #fffaf0;
  border-top: 3px solid var(--cyan-400);
  padding: 28px 0;
}

.footer__brand img {
  height: 40px;
  width: auto;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-weight: 700;
}

.footer p {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* FORMS (başvuru + admin) */
.form-page {
  background: radial-gradient(circle at 50% -10%, #3491ca 0%, #25699a 55%, #1f3347 100%);
  min-height: calc(100vh - 68px);
  padding: 72px 0;
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
}

.form-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-950);
  margin: 0 0 10px;
}

.form-card__lead {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  border-radius: 10px;
  color: var(--gray-900);
}

.field select {
  appearance: auto;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .field__row {
    grid-template-columns: 1fr;
  }
}

.form-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}

.form-note--success {
  background: #e7f7ee;
  color: #146c43;
}

.form-note--error {
  background: #fdecec;
  color: #b42318;
}

.form-note.is-visible {
  display: block;
}

/* ADMIN PANEL */
.admin-shell {
  background: var(--gray-50);
  min-height: calc(100vh - 68px);
  padding: 48px 0 72px;
}

.admin-login {
  max-width: 400px;
  margin: 64px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}

.admin-login h1 {
  font-size: 22px;
  margin: 0 0 24px;
  color: var(--navy-950);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-toolbar h1 {
  font-size: 24px;
  margin: 0;
  color: var(--navy-950);
}

.btn--small {
  padding: 9px 18px;
  font-size: 14px;
}

.btn--outline {
  background: transparent;
  color: var(--navy-950);
  border: 1px solid var(--gray-100);
}

.btn--outline:hover {
  background: var(--gray-50);
}

.app-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.app-table th,
.app-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.app-table th {
  color: var(--gray-500);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.app-table tr:last-child td {
  border-bottom: none;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.pill--new {
  background: #fff4e5;
  color: #b25e09;
}

.pill--reviewed {
  background: #e7f7ee;
  color: #146c43;
}

.admin-empty,
.admin-error {
  text-align: center;
  padding: 48px 16px;
  color: var(--gray-500);
}

.admin-error {
  color: #b42318;
}

/* RESPONSIVE NAV */
@media (max-width: 640px) {
  .nav__links {
    display: none;
  }
}

/* Logo marka adını zaten içeriyor; yanındaki yazı gizlenir (JS içeriği yine yazar, erişilebilirlik için DOM'da kalır). */
.nav__brand span,
.footer__brand span {
  display: none;
}
