/* 사이트 헤더 */
html,
body {
  margin: 0px !important;
  padding: 0px !important;
}

.site-header {
  padding: 1rem 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

a {
  text-decoration: none;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 100px;
  width: auto;
}

.logo-area h2 {
  font-size: 1.5rem;
  color: #002366;
  font-weight: 500;
}

/* 네비게이션 */
.main-nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.main-nav a {
  color: #666;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #007bff;
}

/* 메인 비주얼 */
.main-visual {
  position: relative;
  margin: 0 auto;
  background-color: rgb(135, 180, 225);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* 이미지 컨테이너 */
.visual-image {
}

.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 텍스트 컨테이너 */
.main-text {
  position: static;
  text-align: left;
  color: white;
  padding: 2rem;
  transform: none;
  width: auto;
  max-width: none;
}

.highlight-text {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.3;
}

.company-desc {
  font-size: 2rem;
  font-weight: 500;
}

.company-desc span {
  color: #00a1e9;
}

.image-note {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* 애니메이션 */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .main-visual {
    padding: 3rem 1.5rem;
  }

  .highlight-text {
    font-size: 2.5rem;
  }

  .company-desc {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .main-visual {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .visual-image {
    max-width: 100%;
    order: 1;
  }

  .main-text {
    order: 2;
    text-align: center;
    padding: 1rem;
  }

  .highlight-text {
    font-size: 2rem;
  }

  .company-desc {
    font-size: 1.5rem;
  }
}

/* 회사 소개 섹션 */
.company-intro {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.company-intro::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 35, 102, 0.03) 0%,
    rgba(0, 35, 102, 0) 70%
  );
  transform: rotate(-45deg);
}

.intro-title {
  text-align: center;
  margin-bottom: 5rem;
}

.intro-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #002366;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.intro-subtitle {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.logo-meaning {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 6rem 0;
  position: relative;
}

.logo-connector {
  position: relative;
  width: 100px;
  height: 2px;
}

.connector-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #002366 0%, #0056b3 100%);
}

.logo-circle {
  width: 200px;
  height: 200px;
  background: #002366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0, 35, 102, 0.2);
}

.circle-text {
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
  z-index: 1;
}

.circle-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-circle:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 35, 102, 0.3);
}

.logo-circle:hover .circle-glow {
  opacity: 1;
}

.logo-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: #002366;
}

.intro-description {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  text-align: center;
}

.intro-description p {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.intro-description p.highlight {
  color: #002366;
  font-weight: 500;
  font-size: 1.2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .company-intro {
    padding: 4rem 0;
  }

  .intro-title h2 {
    font-size: 2rem;
  }

  .logo-meaning {
    flex-direction: column;
    gap: 2rem;
  }

  .logo-connector {
    width: 2px;
    height: 50px;
  }

  .connector-line {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
  }

  .logo-circle {
    width: 150px;
    height: 150px;
  }

  .circle-text {
    font-size: 2rem;
  }

  .intro-description {
    padding: 2rem;
    margin: 0 1rem;
  }
}

/* 반응형 추가 */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .logo-meaning {
    flex-direction: column;
    gap: 3rem;
  }

  .circle {
    width: 150px;
    height: 150px;
    font-size: 1.8rem;
  }

  .company-mission {
    padding: 0 1rem;
  }
}

/* CEO 메시지 섹션 */
.ceo-message {
  padding: 8rem 0;
  background: linear-gradient(to right, #f8f9fa 50%, #fff 50%);
  position: relative;
}

.message-wrapper {
  position: relative;
  max-width: 1580px;
  margin: 0 auto;
}

.message-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.decoration-line {
  width: 60px;
  height: 3px;
  background: #007bff;
  margin: 0 auto 1rem;
}

.message-header h2 {
  font-size: 2.5rem;
  color: #333;
  font-weight: 600;
}

.message-content {
  display: flex;
  gap: 4rem;
  position: relative;
}

.message-text {
  flex: 1;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.greeting {
  font-size: 1.4rem;
  color: #007bff;
  margin-bottom: 2rem;
  font-weight: 500;
}

.message-body {
  color: #666;
  line-height: 1.8;
}

.message-body p {
  margin-bottom: 1.5rem;
}

.signature {
  margin-top: 4rem;
  text-align: right;
  font-size: 1.1rem;
}

.company {
  margin-bottom: 0.5rem;
  color: #333;
}

.ceo {
  color: #333;
}

.name {
  font-weight: 500;
  margin: 0 0.5rem;
}

.stamp {
  color: #666;
}

.message-visual {
  flex: 0.8;
  position: relative;
}

.tech-pattern {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 70%;
  background: radial-gradient(circle at 10% 10%, #007bff10 1px, transparent 1px),
    radial-gradient(circle at 90% 90%, #007bff10 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 10px;
}

.accent-box {
  position: absolute;
  top: 40%;
  left: 20%;
  width: 60%;
  height: 40%;
  background: linear-gradient(135deg, #007bff15, #00a1e915);
  border-radius: 10px;
  transform: rotate(-15deg);
}

/* 반응형 디자인 수정 */
@media (max-width: 1024px) {
  .message-content {
    flex-direction: column;
  }

  .message-visual {
    display: none;
  }

  .ceo-message {
    background: #f8f9fa;
  }
}

@media (max-width: 768px) {
  .ceo-message {
    padding: 4rem 0;
  }

  .message-text {
    padding: 2rem;
  }

  .message-header h2 {
    font-size: 2rem;
  }

  .greeting {
    font-size: 1.2rem;
  }
}

/* 비전 섹션 */
.vision {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vision-header {
  text-align: center;
  margin-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vision-circle {
  width: 220px;
  height: 220px;
  background: #007bff;
  border-radius: 50%;
  margin-bottom: 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.year {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 300;
}

.vision-target {
  background: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.vision-target .divider {
  color: #ddd;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
  max-width: 1580px;
  margin: 0 auto;
}

.vision-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
  margin-bottom: 2rem;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: #002366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.vision-card h3 {
  color: #007bff;
  margin-bottom: 1.8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.vision-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vision-card li {
  display: flex;
  align-items: flex-start;
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 0.5rem;
}

.bullet {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #007bff;
  border-radius: 50%;
  margin-top: 0.7rem;
  margin-right: 1rem;
}

@media (max-width: 1200px) {
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .vision-target {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 2rem;
  }

  .vision-target .divider {
    display: none;
  }

  .vision-circle {
    width: 180px;
    height: 180px;
  }

  .year {
    font-size: 2.5rem;
  }

  .goal {
    font-size: 1.1rem;
  }
}

/* 페이드인 애니메이션 기본 상태 */
.fade-in-section {
  opacity: 0;
  transform: translateY(20vh);
  visibility: hidden;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  will-change: opacity, visibility;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

/* 활성화 상태 */
.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* 로고 파트 애니메이션 */
.logo-meaning .logo-part {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.logo-meaning.is-visible .logo-part {
  opacity: 1;
  transform: translateY(0);
}

.logo-meaning.is-visible .logo-part:nth-child(1) {
  transition-delay: 0.2s;
}

.logo-meaning.is-visible .logo-part:nth-child(3) {
  transition-delay: 0.4s;
}

.logo-connector {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.logo-meaning.is-visible .logo-connector {
  opacity: 1;
  transition-delay: 0.3s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}

/* 기존 CSS는 유지하고 푸터 스타일만 수정d */

.site-footer {
  background: #1a1a1a;
  padding: 4rem 0 2rem;
  color: #fff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-top: -20px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  grid-column: 2 / 4;
}

.contact-us h4,
.quick-links h4 {
  color: #00c896;
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.contact-us p {
  color: #999;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin-bottom: 0.5rem;
}

.quick-links ul li a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.quick-links ul li a:hover {
  color: #00c896;
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
}

.copyright p {
  color: #666;
  font-size: 0.8rem;
  margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .contact-us,
  .quick-links {
    text-align: center;
  }
}

/* 햄버거 메뉴 버튼 스타일 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 100;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #002366;
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-toggle span:last-child {
  bottom: 0;
}

/* 햄버거 메뉴 활성화 상태 */
.mobile-menu-toggle.active span:first-child {
  transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
  transform: translateY(-11px) rotate(-45deg);
}

/* 반응형 네비게이션 수정 */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 2rem;
  }

  .main-nav a {
    display: block;
    font-size: 1.2rem;
    padding: 0.8rem 0;
  }

  /* 메뉴 오픈 시 배경 딤처리 */
  .menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
  }

  .menu-backdrop.active {
    display: block;
  }
}
