/*
Theme Name: 허들링컴퍼니
Theme URI: https://hurdling.co.kr
Author: 허들링컴퍼니
Author URI: https://hurdling.co.kr
Description: 병원 브랜딩 에이전시를 위한 커스텀 워드프레스 테마. 진정성 있는 스토리텔링 기반의 브랜딩 솔루션을 제공합니다.
Version: 1.2.0
Text Domain: hurdling
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: business, medical, branding, custom-menu, featured-images, translation-ready
*/

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Utility Classes for Animations */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-in-top {
  animation: slideInFromTop 0.5s ease-out forwards;
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFromLeft 0.7s ease-out forwards;
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(20px);
  animation: slideInFromRight 0.7s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-700 {
  animation-delay: 0.7s;
}

/* Subtle Pulse Animation for TO Badge */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2s ease-in-out infinite;
}

/* Scroll Animation Classes */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade-in-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.scroll-fade-in-delay.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Legal Pages (Terms & Privacy Policy) Styling */
.legal-page .legal-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.legal-page .legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

.legal-page .legal-content h1:first-child {
  margin-top: 0;
}

.legal-page .legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid #3b82f6;
}

.legal-page .legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page .legal-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #475569;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page .legal-content p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-page .legal-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.legal-page .legal-content ul li {
  list-style-type: disc;
}

.legal-page .legal-content ol li {
  list-style-type: decimal;
}

.legal-page .legal-content strong {
  font-weight: 600;
  color: #1e293b;
}

.legal-page .legal-content a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-page .legal-content a:hover {
  color: #1d4ed8;
}

.legal-page .legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.legal-page .legal-content table th,
.legal-page .legal-content table td {
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  text-align: left;
}

.legal-page .legal-content table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #1e293b;
}

.legal-page .legal-content table tr:nth-child(even) {
  background-color: #f8fafc;
}

.legal-page .legal-content blockquote {
  border-left: 4px solid #cbd5e1;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #64748b;
  font-style: italic;
}

.legal-page .legal-content code {
  background-color: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: #dc2626;
  font-family: 'Courier New', monospace;
}

.legal-page .legal-content hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.5rem 0;
}

/* 법적 문서 섹션 넘버링 */
.legal-page .legal-content ol {
  counter-reset: item;
}

.legal-page .legal-content ol > li {
  counter-increment: item;
}

/* 강조 박스 (선택사항) */
.legal-page .legal-content .notice,
.legal-page .legal-content .important {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0.25rem;
}

.legal-page .legal-content .notice p,
.legal-page .legal-content .important p {
  margin-bottom: 0;
}
