@charset "utf-8";
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap'); */
/* NotoSans 쓸 경우 주석 풀고, body 적용 */

@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-1Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-2ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-3Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-5Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-6SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-8ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("fonts/Paperlogy-9Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  word-break: keep-all;
  box-sizing: border-box;
}

body {
  font-family: "Paperlogy", "Noto Emoji", "Segoe UI Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

/* 초기화 */
html {
  overflow-y: auto !important;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-family: inherit !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}

label,
input,
button,
select,
img {
  vertical-align: middle;
  font-size: 1em;
}

input,
button {
  margin: 0;
  padding: 0;
  font-family: inherit !important;
}

input[type="submit"] {
  cursor: pointer;
}

button {
  cursor: pointer;
}

textarea,
select {
  font-family: inherit !important;
}

select {
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
  word-break: break-all;
}

pre {
  overflow-x: scroll;
  font-size: 1.1em;
}

a {
  color: inherit;
  text-decoration: none;
}

:root {
  --primary: #2ec5eb;
  --seconday: #666;
  --ca-color: #333;
}

.overlay {
  position: relative;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

#header.active {
  background-color: #fff !important;
  color: #000 !important;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

#header.active #logo {
  background-image: url("../img/logo.png") !important;
}

/* 아이콘 있는 경우 header.active * {color: #000 !important;} 해주시면 됩니다. */

/* 애니메이션 관련 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
}

.fade-down {
  opacity: 0;
  transform: translateY(-30px);
}

/* 버튼 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #fff;
  color: var(--primary);
  outline: 1px solid var(--primary);
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
}

.btn-primary:active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary {
  background-color: var(--seconday);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #fff;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
}

.btn-secondary:active {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary);
  outline: 1px solid var(--primary);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
  outline: none;
}

.btn-primary-outline:active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
  outline: none;
}

.btn-secondary-outline:active {
  background: #fff;
  color: var(--seconday);
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-animation {
  position: relative;
  overflow: hidden;
  color: var(--primary);
  outline: 1px solid var(--primary);
}

.btn-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary);
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-animation:hover {
  color: #fff;
  outline: 0;
}

.btn-animation:hover::before {
  width: 100%;
}

.button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-primary-outline:disabled,
.btn-secondary-outline:disabled,
.btn-animation:disabled {
  background: #e5e7eb !important;
  /* Tailwind gray-200 */
  color: #b0b0b0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

.sit_icon {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.editor-content img {
  display: initial;
}

#sev_himg * {
  font-family: "Paperlogy", "Noto Emoji", "Segoe UI Emoji", sans-serif !important;
}

.sev_admin {
  display: none;
}

/* SIKMOOLWON MENU 스와이퍼 스타일 */
.menu-swiper {
  position: relative;
  width: 100%;
  padding: 0 1rem;
}

.menu-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 메뉴 이미지 기본 스타일 */
.menu-swiper .swiper-slide img {
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

/* 메뉴 제목 기본 스타일 */
.menu-swiper .swiper-slide h3 {
  transition: color 0.3s ease;
}

/* 반응형 패딩 조정 */
@media (max-width: 768px) {
  .menu-swiper {
    padding: 0 0.5rem;
  }
}

/* 메뉴 카드 스타일 */
.menu-card {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}

.menu-card:hover {
  transform: translateY(-4px);
}

/* 스와이퍼 페이지네이션 커스텀 스타일 */
.menu-swiper-pagination {
  position: relative;
  margin-top: 2rem;
}

.menu-swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d1d5db;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.menu-swiper-pagination .swiper-pagination-bullet-active {
  background: #017e44;
  opacity: 1;
  transform: scale(1.2);
}

/* 반응형 그리드 간격 조정 */
@media (min-width: 1024px) {
  .menu-swiper .swiper-slide .grid {
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .menu-swiper .swiper-slide .grid {
    gap: 3rem;
  }
}

/* 메뉴 카드 호버 효과 개선 */
.menu-card:hover h3 {
  color: #017e44;
}

/* 이미지 컨테이너 스타일 */
.menu-card .aspect-[522/375] {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.menu-card:hover .aspect-[522/375] {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Paperlogy 폰트 정의 */
/* @font-face {
  font-family: "Paperlogy";
  src: url("fonts/PaperlogyTTFLight.woff2") format("woff2"),
    url("fonts/PaperlogyTTFLight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("fonts/PaperlogyTTFMedium.woff2") format("woff2"),
    url("fonts/PaperlogyTTFMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("fonts/PaperlogyTTFBold.woff2") format("woff2"),
    url("fonts/PaperlogyTTFBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
} */

/* sec3 섹션 커스텀 스타일 */
.sec3-container {
  background-color: #dff5c5;
}

.sec3-title {
  font-family: "Paperlogy", sans-serif;
  line-height: 1.1;
}

.sec3-subtitle {
  font-family: "Paperlogy", sans-serif;
  line-height: 1.3;
}

.sec3-body-text {
  font-family: "Paperlogy", sans-serif;
  line-height: 1.8;
}

/* 반응형 텍스트 크기 조정 */
@media (max-width: 640px) {
  .sec3-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .sec3-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
  }

  .sec3-body-text {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .sec3-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .sec3-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  }

  .sec3-body-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
  }
}

@media (min-width: 1024px) {
  .sec3-title {
    font-size: clamp(2.5rem, 3.5vw, 4rem);
  }

  .sec3-subtitle {
    font-size: clamp(1.5rem, 2vw, 1.75rem);
  }

  .sec3-body-text {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
  }
}

/* 이미지 반응형 처리 */
.sec3-image {
  transition: transform 0.3s ease;
}

.sec3-image:hover {
  transform: scale(1.02);
}

/* 모바일에서 텍스트 정렬 최적화 */
@media (max-width: 1023px) {
  .sec3-text-content {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .sec3-text-content {
    text-align: left;
  }
}

/* pic_block_history 타임라인 애니메이션 스타일 */
.timeline-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-card.animated {
  transition: all 0.3s ease;
}

/* 타임라인 카드 호버 효과 */
.timeline-card:hover {
  transform: translateY(-8px);
}

.timeline-card:hover .timeline-card-shadow {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 타임라인 오버레이 호버 효과 */
.timeline-card:hover .timeline-overlay {
  background: linear-gradient(
    to bottom,
    rgba(82, 82, 82, 0) 0%,
    rgba(82, 82, 82, 0.5) 50%,
    rgba(82, 82, 82, 0.9) 100%
  );
}

/* 타임라인 그리드 반응형 조정 */
@media (max-width: 1023px) {
  .timeline-grid {
    gap: 2rem;
  }

  .timeline-card {
    margin-top: 0 !important;
  }
}

@media (min-width: 1024px) {
  .timeline-grid {
    gap: 3rem;
  }
}

/* 애니메이션 지연 시간 설정 */
.timeline-card:nth-child(1) {
  transition-delay: 0.1s;
}
.timeline-card:nth-child(2) {
  transition-delay: 0.2s;
}
.timeline-card:nth-child(3) {
  transition-delay: 0.3s;
}
.timeline-card:nth-child(4) {
  transition-delay: 0.4s;
}
.timeline-card:nth-child(5) {
  transition-delay: 0.5s;
}
.timeline-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* 스태거 효과를 위한 추가 마진 */
@media (min-width: 1024px) {
  .timeline-card:nth-child(1) {
    margin-top: 0;
  }
  .timeline-card:nth-child(2) {
    margin-top: 4rem;
  }
  .timeline-card:nth-child(3) {
    margin-top: 8rem;
  }
  .timeline-card:nth-child(4) {
    margin-top: 0;
  }
  .timeline-card:nth-child(5) {
    margin-top: 4rem;
  }
  .timeline-card:nth-child(6) {
    margin-top: 8rem;
  }
}
