@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --primary-color: #0F4C81;     /* Trusting Navy Blue */
  --primary-hover: #0a3358;
  --secondary-color: #FF7F0F;   /* Safety Orange */
  --secondary-hover: #e06800;
  --bg-dark: #1E293B;
  --bg-light: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #475569;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Before / After Image Comparison Slider */
.comparison-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.comparison-slider img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.comparison-slider .img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-slider .img-after {
  object-fit: cover;
}

.comparison-slider .slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #FFF;
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.comparison-slider .slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  font-weight: bold;
}

/* Glassmorphism for modern floating menus */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating contact widget */
.floating-contact {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
