/* ============================================================
   FLARE COFFEE MODA — Kariyer sayfası stilleri
   Bu dosya SADECE kariyer.html tarafından kullanılır; ana menü
   sayfasının (index.html / style.css) hiçbir kuralını etkilemez.
   ============================================================ */

:root {
  --brand: #885f36;
  --brand-dark: #5e3f22;
  --brand-light: #c9a27a;
  --bg: #f7f3ee;
  --card-bg: #ffffff;
  --text: #2b1d12;
  --muted: #7a6a5a;
  --accent: #b8863e;
  --radius: 16px;
  --shadow: 0 4px 18px rgba(43, 29, 18, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(136, 95, 54, 0.15);
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  white-space: nowrap;
}

.back-link {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.back-link:hover { text-decoration: underline; }

/* ---------- Page hero ---------- */
.page-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 8px;
  text-align: center;
}

.page-hero .kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 10px;
}

.page-hero p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Section ---------- */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-dark);
  text-align: center;
  margin: 0 0 26px;
}

/* ---------- Position cards ---------- */
.position-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.position-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.position-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--brand-dark);
}

.position-card p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.badge-row { display: flex; gap: 6px; flex-wrap: wrap; }

.badge {
  display: inline-block;
  background: var(--bg);
  border: 1px solid rgba(136, 95, 54, 0.25);
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Application form ---------- */
.app-form {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px 30px;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

legend {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand);
  padding: 0 0 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row label.full { grid-column: 1 / -1; }

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
  border: 1px solid rgba(136, 95, 54, 0.28);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

input:focus, textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

textarea { resize: vertical; font-family: inherit; }

.radio-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.radio {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.88rem;
}

.radio input { width: auto; }

.file-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-hint {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 400;
}

.file-name {
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
}

.consent-row {
  margin: 6px 0 22px;
}

.checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
}

.checkbox input { width: auto; margin-top: 3px; }

.checkbox a { color: var(--brand); }

.btn-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-submit:hover { background: var(--brand-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: default; }

.form-status {
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-status.loading { background: #f1ede6; color: var(--brand-dark); }
.form-status.success { background: #e7f3e6; color: #2b6b2f; }
.form-status.error { background: #fbeaea; color: #a33; }

/* Bot korumalı gizli alan (honeypot) */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: #f2e9de;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.85rem;
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

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