/* ===================================
   Processor Section Styles
   =================================== */

/* === 이미지 크기 변수 === */
:root {
  /* PC 버전 이미지 크기 */
  --processor-img-width-pc: 100%;
  --processor-img-height-pc: auto;
  --processor-img-max-width-pc: 300px;
  
  /* 모바일 버전 이미지 크기 */
  --processor-img-width-mo: 100%;
  --processor-img-height-mo: auto;
  --processor-img-max-width-mo: 200px;
}

/* === 섹션 기본 배경 및 패딩 === */
.processor {
  padding: 60px 0;
  background-image: url('../images/processor_bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.processor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.processor .container {
  position: relative;
  z-index: 2;
}

/* === 제목 스타일 === */
.processor-title {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.processor-subtitle {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.processor-main-title {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

/* === 그리드 레이아웃 === */
.processor-grid {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* PC 버전: 3x2 그리드 + 화살표 */
@media (min-width: 912px) {
  .processor-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    grid-template-rows: repeat(2, 1fr);
    align-items: center;
  }
  
  .processor-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    padding: 0 10px;
  }
}

/* 모바일 버전: 2x3 그리드 */
@media (max-width: 911px) {
  .processor-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  
  .processor-arrow {
    display: none;
  }
  
  .processor {
    padding: 40px 0;
  }
  
  .processor-title {
    margin-bottom: 30px;
  }
  
  .processor-subtitle {
    font-size: 2rem;
  }
  
  .processor-main-title {
    font-size: 2rem;
  }
  
  .processor-grid {
    gap: 15px;
  }
}

/* === 프로세스 아이템 스타일 === */
.processor-item {
  background: transparent;
  padding: 0;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.processor-item:hover {
  transform: translateY(-5px);
}

.processor-item img {
  width: var(--processor-img-width-pc);
  height: var(--processor-img-height-pc);
  max-width: var(--processor-img-max-width-pc);
  object-fit: contain;
  display: block;
}

/* 모바일에서 아이템 높이 조정 */
@media (max-width: 911px) {
  .processor-item {
    min-height: 150px;
    padding: 0;
  }
  
  .processor-item img {
    width: var(--processor-img-width-mo);
    height: var(--processor-img-height-mo);
    max-width: var(--processor-img-max-width-mo);
  }
}

/* === 섹션 구분선 === */
.section-divider {
  background: #fff;
  padding: 1px 0;
  margin: 0;
}

.divider-content {
  width: 100%;
  height: 1px;
  background: transparent;
}

/* 모바일에서 구분선 높이 조정 */
@media (max-width: 911px) {
  .section-divider {
    padding: 0.5px 0;
  }
}

/* === 프로세서 섹션 스크롤 애니메이션 === */
.processor-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.processor-item.processor-show {
  opacity: 1;
  transform: translateY(0);
}

/* === 추가 스타일링 === */
/* 배경 그라데이션 제거 - 이미지만 표시 */
