/*
Theme Name: QuickPack Move
Theme URI: https://example.com/
Author: QuickPack & Move
Description: WordPress theme conversion of the QuickPack launch page.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: quickpack-move
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --background: 220 14% 96%;
  --foreground: 220 20% 10%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 20% 10%;
  --primary: 222 47% 11%;
  --primary-foreground: 0 0% 98%;
  --secondary: 220 14% 92%;
  --secondary-foreground: 220 20% 10%;
  --muted: 220 12% 93%;
  --muted-foreground: 220 8% 46%;
  --accent: 32 95% 54%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 220 13% 89%;
  --input: 220 13% 89%;
  --ring: 222 47% 11%;
  --radius: 1rem;
  --highlight: 222 40% 18%;
  --highlight-foreground: 0 0% 98%;
  --navy-dark: 222 50% 7%;
  --silver: 220 8% 65%;
  --surface: 220 20% 97%;
  --surface-elevated: 0 0% 100%;
}

* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  text-decoration: none;
}

::selection {
  background: hsl(32 95% 54% / 0.25);
}

:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, hsl(var(--accent)), hsl(24 90% 60%));
  box-shadow: 0 0 18px hsl(var(--accent) / 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

.hover-lift {
  transition: all 400ms;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px hsl(222 47% 11% / 0.1);
}

.text-gradient {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, hsl(32 95% 54%), hsl(24 90% 60%));
}

.glass {
  backdrop-filter: blur(40px);
  background: hsl(0 0% 100% / 0.85);
  border: 1px solid hsl(220 13% 89% / 0.6);
}

.glass-dark {
  backdrop-filter: blur(40px);
  background: hsl(222 47% 11% / 0.6);
  border: 1px solid hsl(0 0% 100% / 0.06);
}

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.line-clamp-5 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

[data-navbar].is-scrolled {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: 0 25px 50px -12px hsl(222 50% 7% / 0.3);
}

[data-nav-link].is-active {
  color: hsl(var(--accent));
}

[data-mobile-menu] {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

[data-mobile-menu].is-open {
  max-height: 22rem;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

[data-gallery-grid].is-hovering [data-gallery-item]:not(.is-active) img {
  filter: brightness(0.5) saturate(0.5);
}

[data-form-message] {
  display: none;
}

[data-form-message].show {
  display: block;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(0 0% 100% / 0.08);
  background: hsl(0 0% 100% / 0.03);
}

.stat-card span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: hsl(var(--primary-foreground));
}

.stat-card small {
  font-size: 0.72rem;
  color: hsl(0 0% 100% / 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(0 0% 100% / 0.1);
  background: hsl(0 0% 100% / 0.04);
  color: hsl(0 0% 98% / 0.85);
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.trust-chip svg {
  width: 0.95rem;
  height: 0.95rem;
  color: hsl(var(--accent));
}

.process-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: linear-gradient(165deg, hsl(0 0% 100%), hsl(220 14% 97%));
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 210px;
}

.process-card span {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: hsl(var(--accent) / 0.15);
  color: hsl(24 80% 45%);
}

.process-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.process-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  font-size: 0.92rem;
}

.gallery-item-btn {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  background: hsl(0 0% 100% / 0.9);
  color: hsl(var(--foreground));
  backdrop-filter: blur(12px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top svg {
  width: 1rem;
  height: 1rem;
}

.mobile-dock {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 70;
  border-radius: 1rem;
  background: hsl(222 47% 11% / 0.92);
  border: 1px solid hsl(0 0% 100% / 0.1);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.5rem;
}

.mobile-dock a {
  border-radius: 0.75rem;
  color: hsl(0 0% 98% / 0.72);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.45rem 0.25rem;
  font-size: 0.66rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-dock a.is-primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.mobile-dock svg {
  width: 0.95rem;
  height: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: hsl(222 50% 7% / 0.88);
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  width: min(100%, 920px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.9rem;
  border: 1px solid hsl(0 0% 100% / 0.15);
  box-shadow: 0 40px 80px -30px hsl(222 50% 7% / 0.7);
}

.lightbox p {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: hsl(0 0% 98% / 0.8);
  font-size: 0.85rem;
  background: hsl(222 47% 11% / 0.75);
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid hsl(0 0% 100% / 0.2);
  background: hsl(222 47% 11% / 0.75);
  color: hsl(0 0% 98%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 768px) {
  .mobile-dock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
