/* ==========================================================================
📁 info.css
📌 모두CMS 소개 페이지 전용 스타일
작성 목적: info_head.php와 함께 소개 페이지에 최적화된 레이아웃 구성
작성 일자: 2025-07
========================================================================== */

/* --------------------------------------------------------------------------
🎨 전역 컬러 및 기본 설정
--------------------------------------------------------------------------- */
:root {
  --theme-color: #03c75a;
}

body {
  margin: 0;
  font-family: 'SUIT', sans-serif;
  background: #f9f9fb;
  color: #222;
  line-height: 1.6;
}
a {
  color: var(--theme-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1, h2, h3 {
  font-weight: 700;
  margin: 0 0 16px;
}
p {
  margin: 0 0 20px;
}
.site-name {
  font-family: 'SUIT', sans-serif !important;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.3px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
📌 강조 텍스트 및 박스 (.highlight, .info-box)
--------------------------------------------------------------------------- */
.highlight {
  color: var(--theme-color);
  font-weight: 700;
}

.info-box {
  background: #fff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}

/* --------------------------------------------------------------------------
📌 상단 헤더 (sticky)
--------------------------------------------------------------------------- */
.info-header {
  position: sticky;
  top: 0;
  background: #ffffffee;
  backdrop-filter: blur(6px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}
.info-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 12px 0px;
  align-items: center;
}
@media (max-width: 768px) {
  .info-header-inner {
    padding: 12px 20px;
  }
}
.info-header .logo a {
  font-size: 20px;
  font-weight: 900;
  color: #111;
}
.info-nav a {
  margin-left: 20px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
🎬 Hero 영역 (전체 폭 유지)
--------------------------------------------------------------------------- */
.info-hero {
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  left: 0;
  right: 0;
  background: linear-gradient(120deg, rgba(11,84,177,0.85), rgba(3,199,90,0.85)),
              url('https://jeiljoa.com/cms_assets/img/hero-bg.jpg') center/cover no-repeat;
  padding: 120px 0px 100px;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}
.hero-inner {
  max-width: none;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.hero-inner h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}
.hero-inner p {
  font-size: 18px;
  color: #f0f0f0;
}

/* CTA 버튼 */
.cta-button {
  display: inline-block;
  margin-top: 30px;
  background: #fff;
  color: var(--theme-color) !important;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.cta-button:hover {
  background: #029a45;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
📦 본문 콘텐츠 영역
--------------------------------------------------------------------------- */
.info-main {
  width: 100%;
  max-width: 1080px;
  padding: 20px 0;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .info-main {
    padding: 20px;
  }
}
.info-section {
  padding: 20px 0;
  box-sizing: border-box;
}
.info-section h2 {
  position: relative;
  padding-left: 16px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #222;
  min-height: 36px;
}
.info-section h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #03c75a, #00a14b);
  border-radius: 3px;
  display: block;
  opacity: 1;
  visibility: visible;
  z-index: 0;
}

/* --------------------------------------------------------------------------
🧩 특징 카드
--------------------------------------------------------------------------- */
.info-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-card {
  background: #fff;
  flex: 1 1 180px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.feature-card i {
  color: var(--theme-color);
  margin-bottom: 10px;
}
.feature-card p {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
🔗 예제 버튼
--------------------------------------------------------------------------- */
.example-link {
  display: inline-block;
  background: var(--theme-color);
  color: #fff !important;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.example-link:hover {
  background: #029a45;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
📮 문의 버튼
--------------------------------------------------------------------------- */
.inquiry-button {
  display: inline-block;
  background: #f35a00;
  color: #fff !important;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.inquiry-button:hover {
  background: #029a45;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
📮 가격 문의 및 상담 (카드 스타일 복원)
--------------------------------------------------------------------------- */
.qna-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  padding: 24px 20px;
}

/* --------------------------------------------------------------------------
❓ FAQ
--------------------------------------------------------------------------- */
.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  background: #f5f5f5;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
}
.faq-answer {
  display: none;
  padding: 14px 16px;
  font-size: 14px;
  color: #444;
}
.faq-answer.open {
  display: block;
}
.faq-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  font-size: 18px;
  transition: transform 0.3s ease;
}
.faq-answer.open + .faq-question .faq-icon,
.faq-answer.open ~ .faq-question .faq-icon {
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
🧾 하단
--------------------------------------------------------------------------- */
.site-footer {
  background: #f8f8f8;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  font-size: 14px;
  color: #777;
}
.site-footer .footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
🧾 Swiper 슬라이더
--------------------------------------------------------------------------- */
.price-swiper {
  padding: 20px 0 40px;
}
.swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
}
.swiper-slide {
  width: calc((100% - 48px) / 3) !important; /* 카드 3개 + 간격 24px*2 */
  margin-right: 24px;
  box-sizing: border-box;
}
.price-card {
  background: white;
  padding: 24px;
  border-radius: 10px;
  margin: 6px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.2s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.price-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.price-card .price {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  margin-bottom: 10px;
}
.swiper-pagination {
  text-align: center;
  margin-top: -25px !important;
  margin-bottom: 20px !important;
}
@media (max-width: 768px) {
  .swiper-slide {
    width: 100% !important;
  }
  .price-card {
    margin: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
  }
  .price-card:hover {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
💫 애니메이션
--------------------------------------------------------------------------- */
.animated {
  opacity: 0;
  visibility: hidden;
  animation-duration: 1s;
  animation-fill-mode: both;
}
.animated.go {
  opacity: 1 !important;
  visibility: visible !important;
}
.animatedParent.go {
  visibility: visible !important;
}
.fadeInRightShort {
  animation-name: fadeInRightShort;
}
@keyframes fadeInRightShort {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUpShort {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
