/* style/tuyen-dung.css */

/* Base Styles */
.page-tuyen-dung {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #333333);
  line-height: 1.6;
}

.page-tuyen-dung__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-tuyen-dung__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-tuyen-dung__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-tuyen-dung__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-tuyen-dung__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-tuyen-dung__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 30px;
}

.page-tuyen-dung__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: left;
}

.page-tuyen-dung__hero-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-tuyen-dung__hero-description {
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-tuyen-dung__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-tuyen-dung__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-tuyen-dung__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-tuyen-dung__btn-primary,
.page-tuyen-dung__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  text-align: center;
}

.page-tuyen-dung__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-tuyen-dung__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
}

.page-tuyen-dung__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-tuyen-dung__btn-secondary:hover {
  background: #f0f0f0;
  color: #FF5A4F;
  transform: translateY(-2px);
}

/* Intro Section */
.page-tuyen-dung__intro-section {
  background-color: #F5F7FA;
  color: #333333;
  padding: 60px 0;
}

/* Culture Section */
.page-tuyen-dung__culture-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

/* Benefits Section */
.page-tuyen-dung__benefits-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 60px 0;
}

.page-tuyen-dung__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 800px;
}

.page-tuyen-dung__benefits-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.05em;
  position: relative;
  padding-left: 40px;
}

.page-tuyen-dung__benefits-item::before {
  content: '✔';
  color: #ffffff;
  position: absolute;
  left: 15px;
  top: 15px;
  font-weight: bold;
}

/* Job Listings Section */
.page-tuyen-dung__jobs-section {
  background-color: #F5F7FA;
  color: #333333;
  padding: 60px 0;
}

.page-tuyen-dung__job-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-tuyen-dung__job-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-tuyen-dung__job-card:hover {
  transform: translateY(-5px);
}

.page-tuyen-dung__job-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 10px;
}

.page-tuyen-dung__job-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-tuyen-dung__job-link {
  display: inline-block;
  color: #FF5A4F;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.page-tuyen-dung__job-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #FF5A4F;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-tuyen-dung__job-link:hover::after {
  transform: scaleX(1);
}

/* Process Section */
.page-tuyen-dung__process-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-tuyen-dung__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-tuyen-dung__step-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-tuyen-dung__step-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.page-tuyen-dung__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #E53935;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-tuyen-dung__step-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 15px;
}

.page-tuyen-dung__step-description {
  font-size: 1em;
  color: #555555;
}

.page-tuyen-dung__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-tuyen-dung__faq-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 60px 0;
}

.page-tuyen-dung__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-tuyen-dung__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-tuyen-dung__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* For details/summary */
  color: #ffffff;
}

.page-tuyen-dung__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-tuyen-dung__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-tuyen-dung__faq-item[open] .page-tuyen-dung__faq-toggle {
  transform: rotate(45deg); /* Change + to X */
}

.page-tuyen-dung__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tuyen-dung__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-tuyen-dung__hero-content {
    text-align: center;
  }

  .page-tuyen-dung__cta-buttons {
    justify-content: center;
  }

  .page-tuyen-dung__section-title {
    font-size: 2em;
  }

  .page-tuyen-dung__job-listings {
    grid-template-columns: 1fr;
  }

  .page-tuyen-dung__process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* General content area padding for mobile */
  .page-tuyen-dung__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section (必写清单 1) */
  .page-tuyen-dung__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px !important;
  }

  .page-tuyen-dung__hero-title {
    font-size: 1.8em !important;
    line-height: 1.3 !important;
  }

  .page-tuyen-dung__hero-description {
    font-size: 1em !important;
  }

  .page-tuyen-dung__hero-image {
    order: -1; /* Image appears above content on mobile */
  }

  /* Buttons (必写清单 6) */
  .page-tuyen-dung__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tuyen-dung__btn-primary,
  .page-tuyen-dung__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Content Sections (必写清单 4) */
  .page-tuyen-dung__intro-section,
  .page-tuyen-dung__culture-section,
  .page-tuyen-dung__benefits-section,
  .page-tuyen-dung__jobs-section,
  .page-tuyen-dung__process-section,
  .page-tuyen-dung__faq-section {
    padding: 40px 0 !important;
  }

  .page-tuyen-dung__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px !important;
  }

  .page-tuyen-dung__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px !important;
  }

  /* Universal Images (必写清单 5) */
  .page-tuyen-dung img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Benefits List */
  .page-tuyen-dung__benefits-list {
    padding: 0 10px !important;
  }

  .page-tuyen-dung__benefits-item {
    font-size: 0.95em !important;
    padding-left: 35px !important;
  }

  .page-tuyen-dung__benefits-item::before {
    left: 10px !important;
    top: 12px !important;
  }

  /* Job Cards */
  .page-tuyen-dung__job-card {
    padding: 20px !important;
  }

  .page-tuyen-dung__job-title {
    font-size: 1.3em !important;
  }

  /* Process Steps */
  .page-tuyen-dung__step-item {
    padding: 25px !important;
  }

  .page-tuyen-dung__step-number {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.6em !important;
  }

  .page-tuyen-dung__step-title {
    font-size: 1.2em !important;
  }

  /* FAQ Section (必写清单 4) */
  .page-tuyen-dung__faq-question {
    padding: 15px 20px !important;
    font-size: 1em !important;
  }

  .page-tuyen-dung__faq-toggle {
    font-size: 1.5em !important;
  }

  .page-tuyen-dung__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.95em !important;
  }
}