/* Join Us Page - Static Export Styles */
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;500;600;700&display=swap');

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Core Brand Colors - HotelJob Design System (EXACT MATCH) */
  --background: 0 0% 100%; /* White #FFFFFF */
  --foreground: 0 0% 19%; /* Black #303030 */
  --card: 0 0% 100%;
  --card-foreground: 0 0% 19%;
  --primary: 219 82% 51%; /* Blue #1A73E8 */
  --primary-foreground: 0 0% 100%; /* White text */
  --muted: 210 29% 94%; /* Light Gray #F0F4F7 */
  --muted-foreground: 0 0% 25%; /* Darker Gray #404040 */
  --border: 210 29% 91%;
}

body {
  font-family: 'Anuphan', system-ui, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* Section Base */
section {
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: hsla(var(--foreground), 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 64px 5%;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #303030;
  line-height: 1.2;
  margin-bottom: 32px;
}

/* Career Areas Section */
.career-areas {
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: hsl(var(--background));
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 672px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.career-card {
  background-color: hsl(var(--card));
  border: 1px solid hsla(var(--border), 0.6);
  border-radius: 8px;
  padding: 24px;
}

.career-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.career-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Mission Section */
.mission {
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: hsla(var(--muted), 0.3);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.3;
  margin-bottom: 24px;
}

.mission-content h2 span {
  color: hsl(var(--primary));
}

.mission-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid hsl(var(--border));
}

.stat-item .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.mission-image {
  position: relative;
}

.mission-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trusted-by {
  position: absolute;
  bottom: -24px;
  left: 24px;
  right: 24px;
  background-color: hsl(var(--card));
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

.trusted-by p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
}

.trusted-brands {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0.6;
}

.trusted-brands span {
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

/* Values Section */
.values {
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: hsl(var(--background));
}

.values .section-header {
  text-align: center;
}

.values .section-header p {
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 32px;
  border-radius: 16px;
  background-color: hsla(var(--muted), 0.3);
  transition: background-color 0.2s;
}

.value-card:hover {
  background-color: hsla(var(--muted), 0.5);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: hsla(var(--primary), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary));
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 12px;
}

.value-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Benefits Section */
.benefits {
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.benefits .section-header {
  text-align: center;
}

.benefits .section-header h2 {
  color: hsl(var(--primary-foreground));
}

.benefits .section-header p {
  opacity: 0.9;
  color: hsl(var(--primary-foreground));
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  background-color: hsla(var(--primary-foreground), 0.1);
  backdrop-filter: blur(4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: hsla(var(--primary-foreground), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-weight: 600;
  margin-bottom: 4px;
}

.benefit-card p {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Open Positions Section */
.positions {
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: hsl(var(--background));
}

.empty-state {
  border: 2px dashed hsl(var(--border));
  border-radius: 8px;
  padding: 64px 24px;
  text-align: center;
}

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.empty-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--muted-foreground));
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.empty-state > p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 24px;
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

/* Contact CTA Section */
.contact-cta {
  padding-top: 64px;
  padding-bottom: 80px;
  background-color: hsla(var(--muted), 0.5);
  text-align: center;
}

.contact-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
}

.contact-cta p {
  color: hsl(var(--muted-foreground));
}

.contact-cta a {
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 500;
}

.contact-cta a:hover {
  text-decoration: underline;
}

/* ===== MOBILE STYLES (<=1200px) ===== */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .career-areas,
  .mission,
  .values,
  .benefits,
  .positions {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .career-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-content h2 {
    font-size: 1.5rem;
  }

  .mission-image {
    order: -1;
  }

  .trusted-by {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-item .stat-value {
    font-size: 1.25rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-card {
    padding: 24px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contact-cta h2 {
    font-size: 1.25rem;
  }
}
