/* QK Recruitment - Orange on Black Theme */
:root {
  --primary: #FF5C00;
  --primary-dark: #e04d00;
  --secondary: #FF7A33;
  --bg: #0a0a0a;
  --bg-card: #141414;
  --text: #f0f0f0;
  --text-muted: #b0b0b0;
  --border: #2a2a2a;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Trebuchet MS', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: #000000;
  color: var(--text);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
  border-bottom: 3px solid var(--primary);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(255, 92, 0, 0.3));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s;
  border-radius: 2px;
}

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

nav a:hover,
nav a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #000000 0%, #1a0a00 50%, #000000 100%);
  color: white;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(255, 92, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #FF7A33 0%, var(--primary) 50%, #e04d00 100%);
  color: #000;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 92, 0, 0.4);
  transition: all 0.3s ease;
  text-shadow: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 92, 0, 0.6);
  background: linear-gradient(180deg, #FF8C4D 0%, #FF6B00 50%, #FF5C00 100%);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* Sections */
section {
  padding: 5rem 0;
}

h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about {
  background: var(--bg-card);
  box-shadow: var(--shadow);
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 3rem;
  border: 1px solid var(--border);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #1a1a1a;
  padding: 2.2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(255, 92, 0, 0.2);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Vacancies */
.vacancies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.vacancy-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.vacancy-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(255, 92, 0, 0.25);
}

.vacancy-header {
  background: linear-gradient(135deg, #1a0a00 0%, #2a1000 100%);
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 3px solid var(--primary);
}

.vacancy-header h3 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  color: var(--primary);
}

.location {
  display: inline-block;
  background: var(--primary);
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  align-self: flex-start;
}

.vacancy-body {
  padding: 2rem;
}

.vacancy-body p,
.vacancy-body li {
  color: var(--text-muted);
}

.vacancy-body h4 {
  color: var(--primary);
  margin: 1.2rem 0 0.6rem;
  font-size: 1.1rem;
}

.vacancy-body ul {
  margin: 0.5rem 0 1.5rem 1.4rem;
}

.vacancy-body li {
  margin-bottom: 0.4rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.contact-info, .form-container {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info h3, .form-container h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

input, textarea, select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #333;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #0f0f0f;
  color: var(--text);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.15);
  background: #1a1a1a;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.file-upload input[type="file"] {
  padding: 0.7rem;
  background: #0f0f0f;
  border: 2px dashed var(--primary);
  color: var(--text);
  cursor: pointer;
}

.file-upload small {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-message.success {
  background: #1a2a1a;
  color: #a0e0a0;
  display: block;
  border: 1px solid #2a4a2a;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
}

/* Footer */
footer {
  background: #000000;
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 0;
  margin-top: 3rem;
  border-top: 3px solid var(--primary);
}

footer p {
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .vacancy-card {
    grid-template-columns: 1fr;
  }
  .vacancy-header {
    border-right: none;
    border-bottom: 3px solid var(--primary);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border);
  }

  nav ul.show {
    display: flex;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
  }

  .about {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
}
