/* 공통 */
body {
  font-family: "SEBANG Gothic", "세방고딕", 
               "Apple SD Gothic Neo", 
               "Noto Sans KR", 
               sans-serif;
  margin: 0;
  color: #222;
}

header {
  background: #ffffff;
  border-bottom: 4px solid #f4c300; /* 노란 포인트 */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
}

/* 로고의 투명도를 조정 */
.logo-area img {
  opacity: 0.7; /* 0 ~ 1 사이 값, 0은 완전히 투명, 1은 불투명 */
  transition: opacity 0.3s ease;
}

.logo-area img:hover {
  opacity: 1; /* 마우스 오버 시 원래 색상으로 복원 */
}

nav a {
  color: #fff;
  margin-left: 28px;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: #f4c300;
}

.hero {
  background: #f5c400; /* 노란색 */
  text-align: center;
  padding: 40px 20px;   /* ✅ 기존보다 줄임 */
}

.hero h1 {
  font-size: 2.2rem;    /* 제목 크기 조정 */
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 800px;     /* 글 폭 제한 */
  margin: 0 auto;      /* 가운데 정렬 */
  text-align: center;
}

.section {
  padding: 50px 0;
  text-align: center;
}

.gray {
  background: #f5f5f5;
}

/* 서비스 카드 */
.service-box {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.service-card {
  width: 250px;
  padding: 20px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

/* 좌측 카테고리 레이아웃 */
.layout {
  display: flex;
  width: 90%;
  margin: 50px auto;
}

.sidebar {
  width: 220px;
  border-right: 1px solid #ddd;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar li.active a {
  font-weight: bold;
  color: #f5c400;
}

.content {
  flex: 1;
  padding: 0 40px;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}

.footer-container {
  display: flex;
  justify-content: center; /* 전체 중앙 배치 */
  align-items: center;     /* 로고와 텍스트 상하 중앙 정렬 */
  flex-wrap: wrap;         /* 모바일 대응 */
  gap: 40px;               /* 로고와 텍스트 간격 */
}

.footer-left,
.footer-right {
  flex: 0 1 auto;
}

.footer-left img {
  height: 70px;  /* 로고 크기 */
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-left img:hover {
  opacity: 1;
}

.footer-right {
  max-width: 500px; /* 텍스트 폭 제한 */
  text-align: left;
}

.footer-right p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.4;
}

.footer-right p.footer-copyright {
  border-top: 1px solid #555;
  padding-top: 8px;
  margin-top: 8px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-right {
    text-align: center;
    max-width: 100%;
  }

  .footer-left img {
    height: 25px;
  }
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-area img {
  height: 36px;      /* ← 여기서 크기 조절 */
  width: auto;
  object-fit: contain;
}

/* 로고 텍스트 */
.logo-area span {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}



  /* 상단 네비게이션 링크 기본 색상 */
  header nav a {
    color: #000000; /* 기본 글자 블랙 */
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
  }

  /* 마우스를 올렸을 때 색상 변경 (노란색) */
  header nav a:hover {
    color: #FFD700; /* 노란색 */
  }

  /* 현재 페이지(active) 링크 색상 */
  header nav a.active {
    color: #FFD700; /* 노란색 강조 */
  }

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.company-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #444;
}

.main-nav a {
  margin-left: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  position: relative;
}

.main-nav a:hover {
  color: #f4b400; /* 노란 포인트 */
}

/* 밑줄 애니메이션 */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #f4b400;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* 공통 레이아웃 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0px;
}

/* 로고 크게 */
.logo-area img {
  height: 80px;   /* 여기서 크기 결정 */
  width: auto;
}

.logo-area span {
  font-size: 15px;
  font-weight: 600;
}

nav a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-size: 14px;
}

nav a.active,
nav a:hover {
  color: #f4c430;
}

/* CONTACT 페이지 */
.page-wrap {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.section-title {
  font-size: 26px;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form textarea {
  height: 120px;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #f4c430;
  border: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background: #e0b420;
}

.contact-info {
  margin-top: 30px;
  font-size: 14px;
  color: #555;
}

/* 푸터 */
footer {
  text-align: center;
  padding: 20px;
  background: #2b2b2b;
  color: #fff;
  font-size: 13px;
}

.footer-logo img {
  height: 70px;  /* 기존 로고 크기 유지 */
  width: auto;
  opacity: 0.6;  /* 0~1 사이 값, 0은 완전 투명, 1은 불투명 */
  transition: opacity 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;  /* 마우스 올리면 원래 색상으로 */
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .footer-logo img {
    height: 30px;
    opacity: 0.6;
  }
}

.footer-info p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.4;
}

/* 마지막 줄 위에 경계선 */
.footer-info p.footer-copyright {
  border-top: 1px solid #555; /* 회색 선, 필요하면 색상 조정 */
  padding-top: 8px;           /* 선과 텍스트 간격 */
  margin-top: 8px;
}


.sub-hero {
  background: #f5f5f5;
  padding: 50px 20px;
  text-align: center;
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.content img {
  width: 60%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto; /* 가운데 정렬 */

.page-content h2 {
  margin-top: 20px;
  font-size: 24px;
}

.page-content p {
  line-height: 1.7;
  margin: 20px auto;
  max-width: 800px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.feature-list li {
  margin: 10px 0;
  font-size: 16px;
}

/* content 내부 텍스트 가운데 정렬 */
.content {
  text-align: center;
}

/* 이미지 2개 가로 정렬 */
.image-container {
  display: flex;            /* 가로 정렬 */
  justify-content: center;  /* 가운데 정렬 */
  gap: 20px;                /* 이미지 사이 간격 */
  justify-content: space-between; /* 이미지들 간에 여백을 균등하게 분배 */
  margin: 20px 0;
}

.image-container img {
  width: 45%;               /* 이미지 크기 */
  max-width: 400px;         /* 최대 크기 제한 */
  height: auto;
  border-radius: 8px;       /* 모서리 살짝 둥글게 */
}


    /* Flexbox로 중앙 정렬 */
    .map-container {
      display: flex; /* Flexbox 사용 */
      justify-content: center; /* 가로 중앙 정렬 */
      align-items: center; /* 세로 중앙 정렬 */
      height: 400px; /* 부모 요소의 높이 설정 (지도 크기 조절) */
      margin-top: 20px; /* 위쪽 여백 */
    }

    /* 지도 iframe 스타일 */
    .map-container iframe {
      width: 80%; /* 화면 크기에 비례한 너비 설정 */
      max-width: 600px; /* 최대 너비 설정 */
      height: 400px; /* 고정된 높이 */
      border: 0; /* 테두리 제거 */
    }



