/**
 * ============================================================================
 * VEYAPURO CLEAN — LUXURY MOTION & MICRO-INTERACTIONS (luxury-motion.css)
 * ============================================================================
 * Calm, refined, high-end transitions inspired by luxury hospitality &
 * editorial coffee brands. GPU-composited (transform & opacity only).
 * ============================================================================
 */

:root {
  --lux-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lux-ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  scroll-behavior: smooth;
}

/* Refined Sticky Header Elevation on Scroll */
.ipp-header {
  transition: background-color 0.45s var(--lux-ease),
              box-shadow 0.45s var(--lux-ease),
              border-color 0.45s var(--lux-ease);
}
.ipp-header.lux-scrolled {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 10px 30px rgba(13, 31, 69, 0.08) !important;
  border-bottom-color: rgba(180, 197, 220, 0.55) !important;
}

/* Elegant Hairline Nav Link Underline */
.ipp-nav-link {
  position: relative;
}
.ipp-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--orange, #FF6700);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s var(--lux-ease);
}
.ipp-nav-link:hover::after,
.ipp-nav-link.active::after {
  transform: scaleX(1);
}

/* Refined Button Micro-Interactions */
.btn,
.btn-orange,
.btn-line,
.btn-primary,
.ipp-cta-btn {
  transition: transform 0.38s var(--lux-ease),
              box-shadow 0.38s var(--lux-ease),
              background-color 0.32s var(--lux-ease-soft),
              border-color 0.32s var(--lux-ease-soft),
              color 0.28s var(--lux-ease-soft) !important;
  will-change: transform;
}
.btn:hover:not(:disabled),
.btn-orange:hover:not(:disabled),
.btn-line:hover:not(:disabled),
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2.5px) !important;
  box-shadow: 0 10px 24px rgba(13, 31, 69, 0.16) !important;
}
.btn:active:not(:disabled),
.btn-orange:active:not(:disabled),
.btn-line:active:not(:disabled) {
  transform: translateY(-0.5px) scale(0.99) !important;
}

/* Hero Standing Service Pouches — Calm Float on Hover */
.service-pouch {
  transition: transform 0.5s var(--lux-ease),
              box-shadow 0.5s var(--lux-ease) !important;
  will-change: transform;
}
.service-pouch:hover {
  transform: translateY(-9px) scale(1.022) !important;
  box-shadow: 0 22px 38px rgba(13, 31, 69, 0.22) !important;
}

/* Carousel Arrows & Circular Search Button */
.ipp-carousel-arrow,
.ipp-search-circle {
  transition: transform 0.35s var(--lux-ease),
              box-shadow 0.35s var(--lux-ease),
              background-color 0.3s ease !important;
}
.ipp-carousel-arrow:hover,
.ipp-search-circle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px rgba(13, 31, 69, 0.16);
}

/* Editorial Service, Promo, News & Gallery Cards */
.ipp-editorial-item,
#promosGrid > *,
#galleryGrid > *,
#beforeAfterGrid > *,
#newsGrid > *,
.policy-card,
.lux-hover-card {
  transition: transform 0.52s var(--lux-ease),
              box-shadow 0.52s var(--lux-ease),
              border-color 0.4s ease;
  will-change: transform;
}
.ipp-editorial-item:hover,
#promosGrid > *:hover,
#galleryGrid > *:hover,
#beforeAfterGrid > *:hover,
#newsGrid > *:hover,
.policy-card:hover,
.lux-hover-card:hover {
  transform: translateY(-5px);
}
#promosGrid > *:hover,
.policy-card:hover,
.lux-hover-card:hover {
  box-shadow: 0 16px 34px rgba(13, 31, 69, 0.11);
}

/* Slow, Editorial Image Zoom Inside Frames */
.ipp-ed-photo,
.slot-img-wrap {
  overflow: hidden;
}
.ipp-ed-photo img,
.slot-img-wrap img {
  transition: transform 0.78s var(--lux-ease) !important;
  will-change: transform;
}
.ipp-editorial-item:hover .ipp-ed-photo img,
#profile .slot-img-wrap:hover img,
#galleryGrid > *:hover img,
#newsGrid > *:hover img {
  transform: scale(1.048);
}

/* Subtle Pill & Feature Icon Hover */
#profile .grid4 > div {
  transition: transform 0.42s var(--lux-ease);
}
#profile .grid4 > div:hover {
  transform: translateY(-3px);
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .ipp-header,
  .ipp-nav-link::after,
  .btn,
  .btn-orange,
  .btn-line,
  .service-pouch,
  .ipp-editorial-item,
  .ipp-ed-photo img,
  .slot-img-wrap img,
  #promosGrid > *,
  #galleryGrid > *,
  #newsGrid > * {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
