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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #e5e7eb;
  background-color: #000000;
}

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

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

.container {
  max-width: 1440px;
  margin-inline: auto;
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(24, 24, 27, 0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo span {
  color: #f9fafb;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.nav a {
  position: relative;
  padding-block: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #f9fafb;
  border-radius: 999px;
  transition: width 0.2s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: #f9fafb;
  color: #020617;
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(24, 24, 27, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  background: transparent;
}

.btn-outline:hover {
  background: white;
  border-color: #0f172a;
}

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
}

.hero-overlay {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.96)
  );
  display: flex;
  align-items: center;
}

.hero-inner {
  padding-block: 4.5rem;
}

.hero-inner h1 {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0.6rem 0 0.9rem;
  color: #f9fafb;
  max-width: 28rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #474849;
  font-weight: 600;
}

.hero-subtitle {
  margin: 0;
  color: #9ca3af;
  max-width: 30rem;
  font-size: 0.98rem;
}

/* ====== Search section (ispod hero) ====== */
.search-section {
  padding-block: 2.4rem 3.4rem;
  background-color: #000000;
}

.search-title {
  margin: 0 0 1.4rem;
  font-size: 1.35rem;
  color: #e5e7eb;
}

/* Search Bar */
.search-bar {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr auto;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(39, 39, 42, 1);
  backdrop-filter: blur(18px);
  margin-bottom: 1.6rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.field input,
.field select {
  border-radius: 9px;
  border: 1px solid rgba(63, 63, 70, 0.95);
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  outline: none;
  background: #000000;
  color: #e5e7eb;
}

.field input::placeholder {
  color: #6b7280;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(100% - 14px) 60%, calc(100% - 9px) 60%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  appearance: none;
}

.search-bar .btn-primary {
  padding-inline: 1.6rem;
}

/* ====== Jobs list ====== */
.jobs-section {
  padding-block: 2.2rem 3.6rem;
  background: #ffffff;
}

.jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.jobs-title {
  margin: 0.2rem 0 0.4rem;
  color: #020617;
  font-size: 1.75rem;
}

.jobs-subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.jobs-legend {
  margin-bottom: 1.75rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.55;
}

.jobs-legend p {
  margin: 0 0 0.4rem;
}

.jobs-legend p:last-child {
  margin-bottom: 0;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1rem;
}

.job-card {
  background: rgba(0, 0, 0, 0.94);
  border: 1px solid #020617;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(24, 24, 27, 0.6);
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.job-image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.job-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-title {
  margin: 0;
  color: #f9fafb;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.job-employer,
.job-salary {
  margin: 0;
  color: #d1d5db;
  font-size: 0.9rem;
}

.job-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-link {
  align-self: flex-start;
  color: #f9fafb;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #27272a;
  background: linear-gradient(180deg, #0f0f0f, #000);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.job-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.55);
  border-color: #3f3f46;
}

.job-link-ask {
  align-self: flex-start;
  color: #9ca3af;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #27272a;
  background: transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.job-link-ask:hover {
  color: #f9fafb;
  border-color: #3f3f46;
}

/* ====== Info section below jobs ====== */
.info-section {
  padding-block: 3.5rem 4rem;
  background: #ffffff;
}

.info-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.info-title {
  margin: 0.4rem 0 0;
  font-size: 2rem;
  color: #020617;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.info-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.info-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #020617;
  font-weight: 600;
}

.info-card-text {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.info-cta {
  text-align: center;
}

/* ====== Contact section ====== */
.contact-section {
  padding-block: 3.2rem 4rem;
  background: #000000;
  border-top: 1px solid #111827;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-title {
  margin: 0.4rem 0 0.7rem;
  font-size: 1.9rem;
  color: #f9fafb;
}

.contact-text {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
  max-width: 32rem;
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  border-radius: 9px;
  border: 1px solid rgba(63, 63, 70, 0.95);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
  background: #000000;
  color: #e5e7eb;
  font-family: inherit;
}

.contact-form .field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .field select {
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 14px) 60%, calc(100% - 9px) 60%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  appearance: none;
}

.contact-form .btn-primary {
  margin-top: 0.6rem;
}

.contact-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(63, 63, 70, 0.3);
}

.contact-info-item {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.6;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item strong {
  color: #e5e7eb;
  display: block;
  margin-bottom: 0.3rem;
}

.contact-info-item a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact-info-item a:hover {
  color: #f9fafb;
}

@media (max-width: 960px) {
  .info-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ====== Responsive ====== */
@media (max-width: 960px) {
  .search-bar {
    grid-template-columns: 1fr;
    border-radius: 1.5rem;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding-block: 0.75rem;
  }

  .container {
    width: min(100% - 1.75rem, 640px);
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-card {
    transform: scale(0.9);
    transform-origin: right center;
  }
}

/* ====== Footer ====== */
.site-footer {
  padding-block: 3rem 1.5rem;
  background: #000000;
  border-top: 1px solid #111827;
  color: #9ca3af;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.6rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #f9fafb;
}

.footer-address {
  margin: 0 0 1rem;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-address p {
  margin: 0;
}

.footer-phone {
  margin: 0;
}

.footer-phone a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-phone a:hover {
  color: #f9fafb;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #111827;
  text-align: center;
}

.footer-copyright {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-registration {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ====== About page ====== */
.about-hero {
  padding-block: 4rem 3rem;
  background: #000000;
  color: #e5e7eb;
}

.about-hero-title {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.1;
  color: #f9fafb;
  max-width: 36rem;
}

.about-hero-text {
  margin: 0;
  font-size: 1.05rem;
  color: #9ca3af;
  max-width: 42rem;
  line-height: 1.6;
}

.about-content {
  padding-block: 3rem 4rem;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-section-title {
  margin: 0;
  font-size: 1.4rem;
  color: #020617;
  font-weight: 600;
}

.about-text {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ====== Privacy Policy page ====== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-section {
  margin-bottom: 2.5rem;
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.privacy-list {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.privacy-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}

.privacy-list li strong {
  color: #020617;
}

.privacy-contact {
  margin-top: 1rem;
  padding: 1.2rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.privacy-contact p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.privacy-contact a {
  color: #020617;
  text-decoration: underline;
}

.privacy-contact a:hover {
  color: #000000;
}