/*
Theme Name: What's The Move
Theme URI: https://whatsthemove843.com
Author: Skynet Labs
Author URI: https://www.skynetjoe.com
Description: Labor-only moving company theme for What's The Move - Charleston, SC. Built with Tailwind CSS. All business settings editable via Appearance > Customize.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whats-the-move
Tags: business, moving, one-page, custom-logo, custom-colors, featured-images
*/

/* ===== CUSTOM CSS (supplements Tailwind CDN) ===== */

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: #00273d;
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.025em;
}

/* Range slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(0, 39, 61, 0.1);
  border-radius: 999px;
}
input[type="range"]::-moz-range-track {
  height: 6px;
  background: rgba(0, 39, 61, 0.1);
  border-radius: 999px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 24px;
  width: 24px;
  background: #00273d;
  border: 4px solid white;
  border-radius: 50%;
  margin-top: -9px;
  box-shadow: 0 4px 12px rgba(0, 39, 61, 0.3);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
input[type="range"]::-moz-range-thumb {
  height: 24px;
  width: 24px;
  background: #00273d;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 39, 61, 0.3);
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-content {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

/* Animations */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}
@keyframes pulseRing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.fade-in { animation: fadeIn 0.6s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }
.animate-slide-in-right { animation: slideInRight 0.4s ease-out; }
.animate-blob { animation: blob 12s ease-in-out infinite; }

/* Blob background */
.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.3;
  animation: blob 12s ease-in-out infinite;
}

/* Dot backgrounds */
.dot-bg {
  background-image: radial-gradient(circle, rgba(0,39,61,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.dot-bg-light {
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Live pulse */
.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  background: #34d399;
  border-radius: 50%;
  display: inline-block;
}
.live-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Text stroke */
.text-stroke {
  -webkit-text-stroke: 2px currentColor;
  color: transparent;
}

/* Lift card hover */
.lift-card {
  transition: all 0.3s ease;
}
.lift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 39, 61, 0.1);
}

/* Scrollbar hide */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Form success/error */
.wtm-form-message {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}
.wtm-form-message.success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.wtm-form-message.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* WordPress admin bar fix */
body.admin-bar .sticky-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .sticky-nav {
    top: 46px;
  }
}
