@charset "utf-8";
/* Brain202 - Clean Modern Corporate Design */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  animation: pageIn 0.6s ease-out;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-main {
  display: flex;
  gap: 40px;
}

.nav-main a {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.nav-main a:hover,
.nav-main a.active {
  color: #2563eb;
}

.nav-top {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #666;
}

.nav-top a:hover {
  color: #2563eb;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: url(../images/main/bg_mainVisual_kor.jpg) center/cover;
  color: #fff;
  padding: 150px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(59, 130, 246, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 20px;
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero p:nth-child(2) {
  animation-delay: 0.3s;
}

.hero p:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Content */
.main-content {
  padding: 80px 20px;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 3px solid #3b82f6;
}

.content-section {
  margin-bottom: 50px;
}

.content-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #3b82f6;
}

.content-section p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
}

.content-image {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 350px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Map Container */
.map-container {
  clear: both;
  margin: 40px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 15px;
}

.card ul {
  list-style: none;
}

.card li {
  padding: 8px 0 8px 25px;
  position: relative;
  line-height: 1.6;
}

.card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

/* Info Box */
.info-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 4px;
}

.info-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 15px;
}

.info-box ul li {
  padding: 6px 0 6px 20px;
  position: relative;
}

.info-box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

/* Button */
.btn {
  display: inline-block;
  background: #3b82f6;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #2563eb;
  color: #fff;
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: rgba(255,255,255,0.8);
  padding: 40px 20px 30px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo img {
  height: 35px;
  filter: brightness(0) invert(1);
  margin-bottom: 15px;
}

.footer-info {
  font-size: 14px;
  line-height: 1.8;
}

.footer-info p {
  margin: 5px 0;
}

/* Mobile Only Links */
.mobile-only {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    height: auto;
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .nav-top {
    display: none;
  }

  .mobile-toggle {
    order: 3;
    display: flex;
    margin-left: auto;
  }

  .nav-main {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 15px;
    order: 4;
  }

  .nav-main.active {
    display: flex;
  }

  .nav-main a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-main .mobile-only {
    display: block;
  }

  .nav-main .lang-switch {
    order: -1;
    border-bottom: 2px solid #2563eb;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 5px;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .main-content {
    padding: 50px 20px;
  }

  .page-title {
    font-size: 28px;
  }

  .content-section h2 {
    font-size: 20px;
  }

  .content-image {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 24px;
  }
}

/* Job Listing Styles */
.job-search-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

.search-field {
  flex: 1;
  min-width: 150px;
}

.search-keyword {
  flex: 2;
  min-width: 200px;
}

.search-btn-field {
  flex: 0 0 auto;
  min-width: auto;
}

.search-field label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #475569;
  margin-bottom: 5px;
}

.form-select,
.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.btn-search {
  padding: 10px 30px;
  white-space: nowrap;
}

.job-table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
}

.job-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  table-layout: fixed;
}

.job-table thead {
  background: #1e3a8a;
  color: #fff;
}

.job-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-table th:nth-child(1) {
  width: 40%;
}

.job-table th:nth-child(2) {
  width: 25%;
}

.job-table th:nth-child(3) {
  width: 20%;
}

.job-table th:nth-child(4) {
  width: 15%;
}

.job-table td {
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-table tbody tr:hover {
  background: #f8fafc;
}

.job-table td a {
  color: #1e3a8a;
  font-weight: 500;
  transition: color 0.3s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-table td a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
}

.page-link {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #475569;
  font-size: 14px;
  transition: all 0.3s;
}

.page-link:hover {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.page-link.active {
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}

/* Job Detail Styles */
.job-detail {
  background: #fff;
}

.job-detail-section {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e2e8f0;
}

.job-detail-section:last-of-type {
  border-bottom: none;
}

.job-detail-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 15px;
}

.job-title-text {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
}

.job-description h3 {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  margin-top: 20px;
  margin-bottom: 10px;
}

.job-description ul {
  list-style: none;
  padding-left: 0;
}

.job-description ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  line-height: 1.6;
}

.job-description ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
  font-size: 18px;
}

.job-detail-buttons {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.btn-primary {
  background: #3b82f6;
  color: #fff;
}

.btn-primary:hover {
  background: #2563eb;
  color: #fff;
}

.btn-secondary {
  background: #64748b;
  color: #fff;
}

.btn-secondary:hover {
  background: #475569;
  color: #fff;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1e3a8a;
  margin: 0;
}

.modal-close {
  font-size: 28px;
  font-weight: bold;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #1e3a8a;
}

.modal-body {
  padding: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #475569;
  margin-bottom: 5px;
}

.required {
  color: #ef4444;
}

.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s;
}

.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-file {
  width: 100%;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-size: 14px;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  justify-content: flex-end;
}

/* Responsive Job Styles */
@media (max-width: 768px) {
  .search-row {
    flex-direction: column;
  }

  .search-field,
  .search-keyword,
  .search-btn-field {
    width: 100%;
  }

  .btn-search {
    width: 100%;
  }

  .job-table {
    font-size: 13px;
  }

  .job-table th,
  .job-table td {
    padding: 10px 8px;
  }

  .job-table th.hide-mobile,
  .job-table td.hide-mobile {
    display: none;
  }

  .job-table th:nth-child(1) {
    width: 65%;
  }

  .job-table th:nth-child(4) {
    width: 35%;
  }

  .job-detail-buttons {
    flex-direction: column;
  }

  .job-detail-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .modal-content {
    width: 95%;
    margin: 10px;
  }
}
