@charset "utf-8";

/* ===== 폰트 ===== */
@font-face {
  font-family: "Square";
  src: url(../fonts/Square.ttf);
}

@font-face {
  font-family: "Pretendard-Regular";
  src: url("https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

/* ===== 스크롤바 ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #111111;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ===== Swiper 오버라이드 ===== */
.swiper-wrapper {
  transition-timing-function: linear;
}

.review-slider {
  overflow: visible !important;
}

.bx-wrapper {
  box-shadow: none;
  border: none;
  background: inherit;
}

/* GSAP handles initial states via JS - no CSS needed */

/* ===== 히어로 스크롤 화살표 ===== */
@keyframes sdb {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.scroll-arrow span {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
  animation: sdb 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}

.scroll-arrow span:nth-of-type(1) {
  animation-delay: 0s;
}

.scroll-arrow span:nth-of-type(2) {
  bottom: 20px;
  animation-delay: 0.15s;
}

/* ===== 커스텀 커서 (데스크탑 only) ===== */
.custom-cursor {
  position: fixed;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(0, 255, 0, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
}

@media (min-width: 1440px) and (hover: hover) {
  .custom-cursor {
    display: block;
  }
}

/* ===== Swiper 페이저 ===== */
.swiper .swiper-pagination-bullet-active {
  background: #0f0;
}

/* ===== 포트폴리오 슬라이드 고정 폭 ===== */
.portfolio-slider .swiper-slide {
  width: 90%;
  max-width: 960px;
}

/* ===== 포트폴리오 Swiper nav ===== */
.portfolio-prev,
.portfolio-next {
  color: #ffffff !important;
  width: 50px !important;
  height: 50px !important;
  opacity: 1 !important;
  display: flex !important;
  z-index: 10 !important;
}

.portfolio-prev {
  left: calc(50% - 570px) !important;
}

.portfolio-next {
  right: calc(50% - 570px) !important;
}

.portfolio-prev:after,
.portfolio-next:after {
  font-size: 28px !important;
}

@media (max-width: 1100px) {
  .portfolio-prev {
    left: 5px !important;
  }
  .portfolio-next {
    right: 5px !important;
  }
}

/* ===== FAQ 답변 초기 상태 ===== */
.faq-answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

/* ===== 모바일 메뉴 트랜지션 ===== */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 500px;
}

/* ===== 햄버거 메뉴 애니메이션 ===== */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
