@charset "UTF-8";
/* 기본 스타일 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

h2 {
  font-size: 3em;
  margin-bottom: 1rem;
}
h2 div {
  display: inline-block;
}
h2 span {
  color: #B20C00;
  display: inline-block;
}
@media (max-width: 720px) {
  h2 {
    font-size: 2.5em;
  }
}
h2 + p {
  margin-top: 1.5em;
}

h3 {
  font-size: 1.5em;
}
h3::after {
  content: "";
  display: block;
  width: 1.25em;
  height: 0.25rem;
  margin: 1rem auto 1.5rem 0;
  background-color: #B20C00;
}

p {
  margin-top: 1em;
}
p.note {
  display: inline-block;
  background-color: #000;
  color: #fff;
  margin-top: 2em;
  padding: 0.25em 1em;
  border-radius: 1.5em;
}
p.phrase {
  font-style: italic;
  font-size: 1.25em;
}

a.btn {
  display: inline-block;
  border: 1px solid #B20C00;
  padding: 0.5em 1.25em;
  border-radius: 2em;
  color: #B20C00;
  text-decoration: none;
  margin-top: 2em;
}
a.btn:hover, a.btn:active {
  background-color: #B20C00;
  color: #fff;
}
a.btn:last-child {
  margin-left: 1em;
}
a.btn:first-child {
  margin-left: 0 !important;
}

/* 헤더 스타일 */
.page-header {
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #B20C00;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* 상단 고정 */
  width: 100%;
  z-index: 1000;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
  height: 5em;
}
.page-header h1 {
  font-size: 1.5em;
}
.page-header nav a {
  color: inherit;
  text-decoration: none;
  margin-left: 1rem;
}

/* 섹션 스타일 */
.page-section {
  min-height: 100vh; /* 뷰포트 높이만큼 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background-color 0.5s ease;
}
.page-section:nth-child(even) {
  background-color: #f4f4f4; /* 짝수 섹션 배경색 */
}
.page-section:nth-child(odd) {
  background-color: #fff; /* 홀수 섹션 배경색 */
}

.content-wrapper {
  max-width: 900px;
  width: 100%;
  padding: 5em 1.5em; /* 헤더 공간 및 패딩 */
}

/* --- 애니메이션 정의 --- */
/* 1. 키프레임 정의: 아래에서 위로 부드럽게 나타남 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 2. 초기 상태: 스크롤 전에는 요소가 숨겨져 있고 아래로 내려가 있음 */
.page-section h2, .page-section p, .page-section ul, .page-section .cards, .page-section a, .page-section p {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 3. 활성화 상태: '.is-visible' 클래스가 추가되면 애니메이션 적용 */
.page-section.is-visible .content-wrapper > * {
  animation: fadeInUp 0.6s ease-out forwards; /* 1초 동안 애니메이션 실행 */
}

/* 자식 요소들의 지연 애니메이션 (Staggering) */
.page-section.is-visible h2 {
  animation-delay: 0s;
}

.page-section.is-visible p {
  animation-delay: 0.2s;
}

.page-section.is-visible ul {
  animation-delay: 0.4s;
}

.page-section.is-visible .cards {
  animation-delay: 0.4s;
}

.page-section.is-visible .contact-btn {
  animation-delay: 0.6s;
}

/* 작업 갤러리 (섹션 3) 레이아웃 */
.cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-top: 30px;
}
.cards.col-3 .card {
  min-width: 30% !important;
}
.cards.para {
  gap: 3em;
}
.cards.para .card {
  padding: 0;
  background-color: transparent;
  border: none;
  text-align: justify;
  min-width: 25% !important;
}
@media (max-width: 720px) {
  .cards {
    gap: 0.5em !important;
  }
}

.card {
  background-color: #fff;
  padding: 2em 1.5em;
  flex: 1;
  border: 1px solid #eee;
  border-radius: 1em;
  text-align: left;
  min-width: 40%;
}
.card span {
  font-size: 0.875em;
  font-weight: bold;
  text-align: center;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
}
.table th, .table td {
  padding: 0.75em 0.25em;
}
.table thead th {
  color: #B20C00;
  border-bottom: 1px solid #000;
}
.table tbody th, .table tbody td {
  border-bottom: 1px solid #ddd;
}
@media (max-width: 720px) {
  .table tbody th, .table tbody td {
    text-align: left;
  }
}
.table tbody th {
  font-weight: bold;
  min-width: 7em;
}
.table tbody tr:nth-child(even) {
  background-color: #fff; /* 짝수 섹션 배경색 */
}
.table tbody tr:nth-child(odd) {
  background-color: #f9f9f9; /* 홀수 섹션 배경색 */
}

.footer {
  font-size: 0.75em;
  color: #666;
  padding: 0 1.5rem 2em 1.5rem;
}
.footer .logo {
  height: 3em;
  width: 100%;
  margin-bottom: 1em;
  background-image: url("./../images/logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.footer a {
  color: #000;
  text-decoration: none;
  opacity: 1;
}

/* --- 반응형 웹 디자인 (@media query) --- */
/* 모바일 (화면 너비 768px 이하) */
@media (max-width: 720px) {
  .page-header {
    height: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .cards {
    flex-direction: column; /* 모바일에서 세로로 정렬 */
  }
  .card {
    width: 100%;
  }
}
.page-section {
  background-size: cover;
  background-position: center;
}

#section1 {
  background-image: url("./../images/sec-1.jpg");
}

#section2 {
  min-height: 50vh !important;
  color: #fff;
  background-image: url("./../images/sec-2.jpg");
}

#section3 {
  background-color: #f4f4f4;
  min-height: 50vh !important;
}

#section4 {
  background-image: url("./../images/sec-4.png");
}
#section5 {
  color: #fff;
  background-image: url("./../images/sec-5.jpg");
}
#section5 .card {
  background-color: rgba(51, 51, 51, 0.9);
  border-color: #222;
}

#section6 .card {
  background-repeat: no-repeat;
  background-size: 4em auto;
  background-position: right 1.5em top 1em;
}
#section6 .card:nth-child(1) {
  background-image: url("./../images/type-1.png");
}
#section6 .card:nth-child(2) {
  background-image: url("./../images/type-2.png");
}
#section6 .card:nth-child(3) {
  background-image: url("./../images/type-3.png");
}
#section6 .card:nth-child(4) {
  background-image: url("./../images/type-4.png");
}
#section6 .card:nth-child(5) {
  background-image: url("./../images/type-5.png");
}
#section6 .card:nth-child(6) {
  background-image: url("./../images/type-6.png");
}

#section8 {
  background-image: url("./../images/sec-8.png");
}
#section8 h2 {
  color: #fff;
  box-shadow: 1em rgba(0, 0, 0, 0.3);
}
#section8 .card {
  background-color: rgba(255, 255, 255, 0.9);
}

#section9 .card {
  background-color: #f4f4f4;
  border-color: #ddd;
}

#section10 {
  background-image: url("./../images/sec-10.jpg");
  flex-direction: column;
  align-items: flex-start;
}
#section10 .content-wrapper, #section10 .footer {
  margin-left: auto;
  margin-right: auto;
}
#section10 .content-wrapper {
  margin-top: auto;
  margin-bottom: auto;
}
#section10 .footer {
  width: 100%;
  margin-bottom: 0;
}/*# sourceMappingURL=style.css.map */