/* ==========================================================================
   YKLOGIS custom overrides — loaded after style.css (Ayro UI Business template)
   Brand colors extracted from /logo assets: navy #2A3C9A, bright blue #0C8ED7
   ========================================================================== */

:root {
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  --primary: #0c8ed7;
  --primary-dark: #2a3c9a;
  --gradient-1: linear-gradient(135deg, #2e3192 0%, #0c8ed7 100%);
  --kakao: #fee500;
  --kakao-ink: #191919;
}

/* ---- GNB: shrink to logo height (template default oversizes nav links) ---- */
.navbar-area.navbar-nine {
  padding: 12px 0;
}
.navbar-area.navbar-nine .navbar-brand {
  padding: 0;
  line-height: 0;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a {
  padding: 8px 16px;
  margin: 0;
}

/* Hero: solid -> brand gradient */
.header-eight {
  background: var(--gradient-1);
}
.header-eight .button {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.header-eight .header-image video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* ---- Kakao button (official brand color, reused everywhere) ---- */
.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--kakao);
  color: var(--kakao-ink);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 28px;
  border: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-kakao:hover,
.btn-kakao:focus {
  filter: brightness(0.94);
  color: var(--kakao-ink);
  transform: translateY(-1px);
}
.btn-kakao svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.navbar-btn .btn-kakao {
  padding: 9px 20px;
  font-size: 0.9rem;
}
.call-action .btn-kakao,
.contact-cta .btn-kakao {
  padding: 14px 34px;
  font-size: 1rem;
}

/* ---- Ghost button for use on dark/gradient backgrounds ---- */
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  border-radius: 50px;
  padding: 11px 26px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn-ghost-light:hover,
.btn-ghost-light:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---- Mockup placeholder blocks (real photos come later) ---- */
.mock-block {
  background: repeating-linear-gradient(
    135deg,
    var(--light-2),
    var(--light-2) 10px,
    var(--white) 10px,
    var(--white) 20px
  );
  border: 1.5px dashed var(--gray-3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-1);
  font-size: 0.85rem;
  line-height: 1.6;
  min-height: 180px;
  padding: 1rem;
}
.header-eight .mock-block {
  min-height: 320px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.16) 10px,
    rgba(255, 255, 255, 0.05) 10px,
    rgba(255, 255, 255, 0.05) 20px
  );
  border-color: rgba(255, 255, 255, 0.55);
  color: #eaf1ff;
  font-weight: 600;
}
.svc-mock.mock-block {
  min-height: 140px;
}
.thumb-mock.mock-block {
  min-height: 100px;
  font-size: 0.75rem;
}

/* ---- Trust strip (4-up strengths bar) ---- */
.trust-strip {
  background: var(--white);
  padding: 50px 0 20px;
}
.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 10px;
  border-left: 1px solid var(--light-1);
}
.trust-strip .col-lg-3:first-child .trust-item {
  border-left: none;
}
@media (max-width: 991px) {
  .trust-strip .trust-item {
    border-left: none;
    border-top: 1px solid var(--light-1);
    margin-top: 10px;
    padding-top: 25px;
  }
}
.trust-strip .trust-item i {
  font-size: 34px;
  color: var(--primary);
  flex: none;
}
.trust-strip .trust-item span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.4;
}

/* ---- Service badge (e.g. "유료 옵션") ---- */
.svc-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 30px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---- Photo gallery: horizontal scroll-snap strip ---- */
.photo-gallery-area {
  padding-bottom: 90px;
}
.photo-gallery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.photo-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 16px;
  margin: 0;
  scrollbar-width: thin;
}
.photo-gallery-item {
  flex: 0 0 auto;
  width: clamp(230px, 30vw, 340px);
  scroll-snap-align: start;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-3);
}
.photo-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.photo-gallery-item figcaption {
  padding: 12px 4px 0;
  font-size: 0.88rem;
  color: var(--dark-3);
  text-align: center;
}
.gallery-nav {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--light-1);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.gallery-nav:hover {
  background: var(--primary);
  color: var(--white);
}
.gallery-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.photo-gallery.no-scroll .gallery-nav {
  display: none;
}
@media (max-width: 575px) {
  .gallery-nav {
    display: none;
  }
}

/* ---- Promise video band (muted, looping, non-interactive) ---- */
.promise-video-area {
  position: relative;
  overflow: hidden;
  height: 46vh;
  min-height: 320px;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promise-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.promise-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.35) 50%,
    rgba(15, 23, 42, 0.55) 100%
  );
  z-index: 1;
}
.promise-video-area .container {
  position: relative;
  z-index: 2;
}
.promise-video-text {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  word-break: keep-all;
}
@media (max-width: 767px) {
  .promise-video-area {
    height: 40vh;
    min-height: 260px;
  }
  .promise-video-text {
    font-size: 1.15rem;
  }
}

/* ---- Process section (replaces pricing table) ---- */
.process-area {
  padding: 100px 0;
  background: var(--light-3);
}
@media (max-width: 767px) {
  .process-area {
    padding: 60px 0 40px;
  }
}
.process-steps {
  display: flex;
  gap: 24px;
}
@media (max-width: 991px) {
  .process-steps {
    flex-wrap: wrap;
  }
}
.process-step {
  flex: 1 1 0;
  background: var(--white);
  border: 1px solid var(--light-1);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  min-width: 220px;
}
@media (max-width: 991px) {
  .process-step {
    flex: 1 1 45%;
  }
}
.process-step .step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}
.process-step h5 {
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--dark-3);
  font-size: 0.92rem;
  margin: 0;
}
.process-step .step-arrow {
  display: none;
  position: absolute;
  right: -30px;
  top: 44px;
  font-size: 1.3rem;
  color: var(--gray-3);
}
@media (min-width: 992px) {
  .process-step .step-arrow {
    display: block;
  }
  .process-step:last-child .step-arrow {
    display: none;
  }
}

/* ---- Contact: kakao CTA panel (replaces the lorem contact form) ---- */
.contact-cta {
  text-align: center;
  padding: 60px 40px;
}
@media (max-width: 767px) {
  .contact-cta {
    padding: 40px 20px;
  }
}
.contact-cta .note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--dark-3);
}

/* ---- Contact / Map ----
   The template's .map-style-9 ships `margin-top: -130px` to make the map
   peek up behind a taller contact form card. Our contact section is shorter
   (no form), so that negative margin instead pulls the map up over our
   content. Neutralize it and give contact-section its own bottom spacing. */
.contact-section {
  padding-bottom: 60px;
}
.map-style-9 {
  margin-top: 0;
}
.map-section .ncp-static-map {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

/* ---- Floating Kakao consult button (bottom-right, always on) ---- */
.kakao-float {
  position: fixed;
  right: 30px;
  bottom: 95px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.kakao-float-btn {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--kakao);
  color: var(--kakao-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.kakao-float-btn svg {
  width: 30px;
  height: 30px;
}
.kakao-float:hover .kakao-float-btn {
  transform: scale(1.06);
}
.kakao-float-bubble {
  position: relative;
  background: var(--white);
  color: var(--kakao-ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}
.kakao-float-bubble::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 480px) {
  .kakao-float {
    right: 20px;
    bottom: 85px;
  }
  .kakao-float-bubble {
    display: none;
  }
  .kakao-float-btn {
    width: 50px;
    height: 50px;
  }
}

/* ---- Scroll reveal (fade + rise, once) ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Subtle hover lift on cards ---- */
.single-services,
.process-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.single-services:hover,
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* ---- FAQ accordion ---- */
.faq-area {
  padding: 100px 0 110px;
}
@media (max-width: 767px) {
  .faq-area {
    padding: 60px 0 50px;
  }
}
.faq-accordion .accordion-item {
  border: 1px solid var(--light-1);
  border-radius: 12px !important;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--black);
  padding: 22px 24px;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  background: var(--light-3);
}
.faq-accordion .accordion-button::after {
  flex-shrink: 0;
}
.faq-accordion .accordion-body {
  padding: 0 24px 22px;
  color: var(--dark-3);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Footer: business-info widget ---- */
.f-biz p {
  margin: 0 0 6px;
  color: var(--dark-2);
  font-size: 0.92rem;
}
.f-biz p b {
  color: var(--black);
  font-weight: 600;
  margin-right: 6px;
}
.footer-eleven .f-link a.kakao-link {
  color: var(--primary-dark);
  font-weight: 600;
}
