/* Careers page — loaded after base.css */

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* PAGE HERO */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://i.imgur.com/SUOuNTs.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.25);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0.2) 0%, rgba(20, 20, 20, 0.9) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  animation: fadeup 0.8s ease both;
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.page-hero p {
  font-size: 15px;
  color: #909090;
  margin-top: 10px;
  line-height: 1.6;
}

.job-list {
  max-width: 700px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.job-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.job-title {
  margin: 0 0 10px;
  font-size: 1.5em;
  color: #f5f5f5;
}

.job-description {
  margin: 0 0 15px;
  font-size: 1em;
  color: #ddd;
}

.apply-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  transition: transform 0.2s ease, background 0.3s ease;
}

.apply-button:hover {
  transform: scale(0.95);
  background-color: #0056b3;
}

.apply-button:active {
  transform: scale(0.90);
}

.no-jobs-message {
  text-align: center;
  font-size: 1.2em;
  color: #eee;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 500px;
  margin: 0 auto;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: center;        /* Vertical centering */
  justify-content: center;    /* Horizontal centering */
  padding-top: calc(var(--nav-height) + 40px);   /* Space below fixed navbar */
  padding-bottom: 40px;
}

.divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); margin: 0 0 64px; }

@media (max-width: 768px) {
  .links-grid { padding: 0 16px 60px; }
}
