@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

/* ── 햇빛보일러 (HAETBIT BOILER) Distinctive Solar Gold & Royal Sapphire Design System ── */
:root {
  --sun-gold: #f59e0b;
  --sun-amber: #d97706;
  --sun-honey: #fbbf24;
  --sun-warm: #fffbeb;
  --sun-sapphire: #0f274a;
  --sun-cobalt: #1e3a8a;
  --sun-azure: #0284c7;
  --sun-cream: #fcfbf8;
  --sun-dark: #071326;
  --sun-slate: #1e293b;
}

html {
  scroll-behavior: smooth;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: -0.025em;
}

body {
  color: #1e293b;
  background-color: #fcfbf9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Distinctive Solar & Sapphire Capsule Button Styles ── */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  color: #071326;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 20px -2px rgba(245, 158, 11, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-pill-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-pill-primary:hover::before {
  left: 140%;
  transition: all 0.75s ease-in-out;
}

.btn-pill-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px -2px rgba(245, 158, 11, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: #000000;
}

.btn-pill-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Outline Capsule Button */
.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #0f274a;
  font-weight: 700;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-pill-outline:hover {
  border-color: #d97706;
  background: #fffbeb;
  color: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
}

/* Dark Sapphire Glass Capsule Button */
.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(10, 24, 48, 0.9);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-pill-dark:hover {
  background: #14325e;
  border-color: #fbbf24;
  color: #fef08a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

/* Kakao Yellow Pill Button */
.btn-pill-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #fee500;
  color: #191919;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.45);
  transition: all 0.25s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-pill-kakao:hover {
  background-color: #fdd800;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(254, 229, 0, 0.65);
}

/* Header Navigation - No text wrapping */
#main-nav nav {
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

#main-nav nav a {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ── Ambient Sunlight & Sapphire Aurora Glows ── */
.sunlight-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.26) 0%, rgba(217, 119, 6, 0.12) 42%, transparent 70%);
  filter: blur(65px);
  pointer-events: none;
}

.sapphire-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(2, 132, 199, 0.1) 40%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.sunlight-hero-bg {
  background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.24) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.2) 0%, transparent 45%),
              linear-gradient(135deg, #061124 0%, #091a36 50%, #0d2448 100%);
}

.solar-grid {
  background-image: radial-gradient(rgba(245, 158, 11, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Floating Capsule Header Navigation ── */
.floating-capsule-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-capsule-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px -2px rgba(245, 158, 11, 0.15);
  border-bottom-color: rgba(245, 158, 11, 0.4);
}

/* ── Category Pill Tabs ── */
.tab-pill {
  padding: 0.625rem 1.35rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.925rem;
  color: #475569;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-pill:hover {
  color: #d97706;
  border-color: #fcd34d;
  background: #fffbeb;
  transform: translateY(-1px);
}

.tab-pill.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #071326;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* ── Brand Card Styles ── */
.brand-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #2563eb);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -4px rgba(245, 158, 11, 0.16);
  border-color: #fde68a;
}

.brand-card:hover::before {
  opacity: 1;
}

/* ── Real Construction Gallery Items ── */
.gallery-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0a172c;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 19, 38, 0.9) 0%, rgba(7, 19, 38, 0.3) 25%, transparent 60%);
  opacity: 0.95;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #ffffff;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -4px rgba(245, 158, 11, 0.28);
}

/* ── Pulse Indicator ── */
.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid #f59e0b;
  animation: pulseAnimation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  opacity: 0.75;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* ── Lightbox Modal ── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 19, 38, 0.93);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

/* ── RIGHT-SIDE FLOATING QUICK ACTION WIDGET (BOTTOM-RIGHT) ── */
.side-floating-dock {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(8, 19, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.6rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.5), 0 0 22px rgba(245, 158, 11, 0.2);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.dock-item-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.dock-btn:hover {
  transform: scale(1.15);
}

.dock-btn-call {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #071326;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}

.dock-btn-call:hover {
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.85);
  color: #000000;
}

.dock-btn-kakao {
  background-color: #fee500;
  color: #191919;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.45);
}

.dock-btn-kakao:hover {
  background-color: #fdd800;
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.7);
}

.dock-btn-estimate {
  background: #0f274a;
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.dock-btn-estimate:hover {
  background: #f59e0b;
  color: #071326;
  border-color: #f59e0b;
}

.dock-btn-calc {
  background: #0f274a;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.dock-btn-calc:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.dock-btn-top {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dock-btn-top:hover {
  background: #ffffff;
  color: #071326;
}

/* Tooltip on hover */
.dock-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #081426;
  color: #ffffff;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1000;
}

.dock-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #081426;
  border-right: 1.5px solid rgba(245, 158, 11, 0.45);
  border-top: 1.5px solid rgba(245, 158, 11, 0.45);
}

.dock-item-wrapper:hover .dock-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.tooltip-badge {
  background: #f59e0b;
  color: #071326;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 9999px;
  font-weight: 900;
}

.tooltip-badge.kakao {
  background: #fee500;
  color: #191919;
}

.tooltip-badge.estimate {
  background: #10b981;
  color: #ffffff;
}

.tooltip-badge.calc {
  background: #0284c7;
  color: #ffffff;
}

/* Mobile responsive widget adjustment */
@media (max-width: 640px) {
  .side-floating-dock {
    right: 0.75rem;
    padding: 0.45rem;
    gap: 0.45rem;
    bottom: 1rem;
    top: auto;
    transform: none;
  }
  .dock-btn {
    width: 38px;
    height: 38px;
  }
  .dock-btn svg, .dock-btn i {
    width: 17px;
    height: 17px;
  }
  .dock-tooltip {
    display: none;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

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

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