@charset "UTF-8";

/* ==========================================================================
   전국철거지원센터 Custom Styling & Utility Overrides
   ========================================================================== */

:root {
  --primary: #1B4D8F;
  --primary-dark: #0E3366;
  --primary-light: #3A6BB5;
  --accent: #FFB72A;
  --accent-hover: #E8A020;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: #333333;
  overflow-x: hidden;
  word-break: keep-all;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Page container */
.page-w {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) {
  .page-w {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* GNB Navigation Hover Effect */
.gnb-link {
  position: relative;
  transition: color 0.2s ease;
}

.gnb-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background-color: var(--accent);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.gnb-link:hover::before,
.gnb-link.active::before {
  width: 100%;
}

/* Embla Carousel styles */
.embla {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Real-time Inquiries Vertical Marquee */
.marquee-container {
  overflow: hidden;
  height: 320px;
  position: relative;
}

.marquee-content {
  display: flex;
  flex-direction: column;
  animation: marquee-vertical 24s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Floating Quick Menu Styling (Desktop Only) */
.quick-floating-menu {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px) {
  .quick-floating-menu {
    display: flex;
  }
}

/* Mobile Fixed Bottom Action Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  z-index: 999;
  display: flex;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

/* Mobile Side Menu Transitions */
.mobile-side-menu {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-side-menu.active {
  transform: translateX(0);
}

/* Form Styles */
.form-input-focus {
  transition: all 0.2s ease-in-out;
}

.form-input-focus:focus {
  border-color: #1B4D8F !important;
  box-shadow: 0 0 0 4px rgba(27, 77, 143, 0.15) !important;
  outline: none;
}
