/* Services Page Styles */

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 600px);
  gap: 30px;
  justify-content: center;
  padding: 100px 20px 20px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== GOLD CROSS ICON FOR TABS ===== */
.gold-cross-icon {
  display: inline-flex;
  width: 3px;
  height: 14px;
  background: var(--gold);
  position: relative;
  margin-right: 10px;
  box-shadow: 0 0 5px var(--gold);
  vertical-align: middle;
}

.gold-cross-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  left: -5.5px;
  width: 14px;
  height: 3px;
  background: var(--gold);
  box-shadow: 0 0 5px var(--gold);
}

/* ===== SHARED SERVICE BUTTON BASE ===== */
.service-button {
  position: relative;
  width: 600px;
  height: 120px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 2px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  z-index: 2;
}

.service-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(201, 162, 39, 0.3);
}

/* ===== PET SERVICES BUTTON ===== */
.pet-button {
  width: 600px;
  height: 120px;
  display: flex;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 2;
  text-decoration: none;
}

/* pet-button:hover moved below panel img block */

.panel {
  flex: 1;
  width: 200px;
  height: 120px;
  overflow: hidden;
  border-right: 2px solid transparent;
}

.panel:last-child {
  border-right: none;
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pet-button:hover .panel img {
  transform: scale(1.18);
}

/* Pet button glow + label */
.pet-button::after {
  content: 'PET SERVICES';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  font-family: 'Orbitron', monospace, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 255, 255, 1), 0 0 20px rgba(0, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.pet-button:hover::after {
  opacity: 1;
}

.pet-button:hover {
  transform: translateY(-8px);
  box-shadow:
    0 15px 40px rgba(0, 255, 255, 0.6),
    0 0 30px rgba(0, 255, 255, 0.4),
    0 0 60px rgba(0, 255, 255, 0.2);
}

/* ===== TECH BUTTON ===== */
.tech-btn {
  position: relative;
  width: 600px;
  height: 120px;
  background: #1a1a1a;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 0.1s ease-out;
  border-radius: 15px;
  display: block;
  text-decoration: none;
}

.tech-btn:hover {
  transform: translateY(-5px);
  animation: pink-pulse 1s infinite;
}

.tech-btn:hover .plate-top {
  transform: translateY(-85%) scaleX(1.02);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(180deg, #333 0%, #111 100%);
  border-bottom: 2px solid #0ff;
}

.tech-btn:hover .plate-bottom {
  transform: translateY(85%) scaleX(1.02);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(0deg, #333 0%, #111 100%);
  border-top: 2px solid #0ff;
}

.tech-btn:hover .lock-left {
  transform: translateX(-15px) rotateY(-45deg);
  transition: transform 0.3s ease-out;
}

.tech-btn:hover .lock-right {
  transform: translateX(15px) rotateY(45deg);
  transition: transform 0.3s ease-out;
}

.tech-btn:hover .core {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s 0.1s, transform 0.3s 0.1s;
  background: radial-gradient(circle at center, #001a1a 0%, #000 100%);
}

.tech-btn:hover .core-text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s 0.2s, transform 0.3s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: glitch 0.15s infinite;
}

.tech-btn:hover .core-subtext {
  opacity: 1;
  transition: opacity 0.3s 0.3s;
}

.tech-btn:hover .status-light {
  background-color: #0f0;
  box-shadow: 0 0 10px #0f0;
}

.tech-btn:hover .circuit-lines {
  opacity: 1;
  transition: opacity 0.3s 0.2s;
  animation: pulse-grid 2s infinite;
}

@keyframes pink-pulse {
  0% {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5),
                0 0 50px rgba(255, 0, 102, 0.4),
                0 0 70px rgba(255, 0, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.7),
                0 0 70px rgba(255, 0, 102, 0.7),
                0 0 90px rgba(255, 0, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5),
                0 0 50px rgba(255, 0, 102, 0.4),
                0 0 70px rgba(255, 0, 255, 0.3);
  }
}

@keyframes glitch {
  0%   { text-shadow: 4px 0 #ff0066, -4px 0 #00ffff, 2px 2px #ff00ff; transform: translate(0); }
  20%  { text-shadow: -4px 0 #ff0066, 4px 0 #00ffff, -2px -2px #ff00ff; transform: translate(-2px, 1px); }
  40%  { text-shadow: 4px 0 #ff0066, -4px 0 #00ffff, 2px -2px #ff00ff; transform: translate(2px, -1px); }
  60%  { text-shadow: -4px 0 #ff0066, 4px 0 #00ffff, -2px 2px #ff00ff; transform: translate(-1px, 2px); }
  80%  { text-shadow: 4px 0 #ff0066, -4px 0 #00ffff, 2px 2px #ff00ff; transform: translate(1px, -2px); }
  100% { text-shadow: 4px 0 #ff0066, -4px 0 #00ffff, 2px 2px #ff00ff; transform: translate(0); }
}

@keyframes pulse-grid {
  0%   { opacity: 0.3; }
  50%  { opacity: 0.6; }
  100% { opacity: 0.3; }
}

.mechanism {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #2a2a2a 0%, #111 100%);
  border: 2px solid #444;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.core {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  box-shadow: inset 0 0 30px #000;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.1s, transform 0.1s;
}

.core-text {
  font-family: "Orbitron", monospace, sans-serif;
  color: #0ff;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
  z-index: 6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.1s, transform 0.1s;
  text-align: center;
}

.core-subtext {
  color: #ccc;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.1s;
  text-shadow: 0 0 2px #fff;
}

.circuit-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  background-image:
    linear-gradient(90deg, rgba(0,255,255,0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: opacity 0.1s;
}

.plate {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(90deg, #888, #ccc 10%, #555 50%, #ccc 90%, #888);
  border-top: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(0,0,0,0.8);
  z-index: 10;
  transition: transform 0.1s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.plate-top {
  top: 0;
  border-bottom: 1px solid #000;
  background:
    linear-gradient(90deg, transparent 49%, #000 50%, transparent 51%),
    linear-gradient(180deg, #555 0%, #222 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.2);
}

.plate-bottom {
  bottom: 0;
  border-top: 1px solid #000;
  background:
    linear-gradient(90deg, transparent 49%, #000 50%, transparent 51%),
    linear-gradient(0deg, #555 0%, #222 100%);
  box-shadow: inset 0 -2px 5px rgba(255,255,255,0.2);
}

.status-light {
  position: absolute;
  right: 25px;
  top: 15px;
  width: 6px;
  height: 6px;
  background-color: #f00;
  border-radius: 50%;
  box-shadow: 0 0 5px #f00;
  z-index: 30;
  transition: all 0.2s;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%   { opacity: 0.5; box-shadow: 0 0 2px #f00; }
  50%  { opacity: 1;   box-shadow: 0 0 8px #f00; }
  100% { opacity: 0.5; box-shadow: 0 0 2px #f00; }
}

@keyframes blink-tech {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.lock {
  position: absolute;
  top: 10%;
  width: 40px;
  height: 80%;
  background: linear-gradient(135deg, #444, #111);
  border: 1px solid #666;
  z-index: 20;
  box-shadow: 0 0 5px #000;
  transition: transform 0.1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lock-left {
  left: -5px;
  border-radius: 0 5px 5px 0;
  border-left: none;
}

.lock-right {
  right: -5px;
  border-radius: 5px 0 0 5px;
  border-right: none;
}

/* ===== JUNK REMOVAL BUTTON ===== */
.junk-button {
  position: relative;
  width: 600px;
  height: 120px;
  cursor: pointer;
  perspective: 1200px;
  border-radius: 4px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  text-decoration: none;
  display: block;
  background: #8B4513;
  isolation: isolate;
}

.junk-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(201, 162, 39, 0.5);
}

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  transform-style: preserve-3d;
  isolation: isolate;
}

.scene-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #87CEEB 0%, #E0F7FA 60%, #fff 60%, #eee 100%);
  border-radius: 4px;
  overflow: hidden;
  z-index: 0;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.truck {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 3rem;
  animation: truck-rumble 0.3s infinite;
}

@keyframes truck-rumble {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.trash {
  position: absolute;
  font-size: 1.5rem;
}

.t1 {
  bottom: 40px;
  left: 15px;
}

.t2 {
  bottom: 55px;
  left: 50px;
  animation: wobble 2s infinite;
}

.t3 {
  bottom: 30px;
  left: 80px;
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  75% {
    transform: rotate(-5deg);
  }
}

.mover-container {
  position: absolute;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.mover-group-1 {
  left: 120px;
}

.mover-group-2 {
  left: 180px;
}

.couch {
  font-size: 2rem;
}

.mover-1 {
  font-size: 1.8rem;
  animation: mover-step 0.5s infinite;
}

@keyframes mover-step {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.sheep-flock {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 4px;
}

.sheep {
  font-size: 1.2rem;
  animation: graze 1.5s infinite;
}

.shepherd {
  font-size: 1.5rem;
}

@keyframes graze {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(3px);
  }
}

.flap {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #dcb386;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.03) 50%, transparent 50%),
    linear-gradient(rgba(0,0,0,0.05) 50%, transparent 50%);
  background-size: 4px 4px;
  z-index: 10;
  transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d;
  border: 1px solid #c49a6c;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.flap-top {
  top: 0;
  transform-origin: top;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.flap-bottom {
  bottom: 0;
  transform-origin: bottom;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.flap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #cda478;
  transform: rotateX(180deg) translateZ(1px);
  backface-visibility: visible;
}

.junk-button:hover .flap-top {
  transform: rotateX(110deg);
}

.junk-button:hover .flap-bottom {
  transform: rotateX(-110deg);
}

.tape {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 100%;
  background-color: rgba(220, 200, 180, 0.7);
  border-left: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
  z-index: 11;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.flap-top .tape {
  border-bottom: 1px dashed rgba(0,0,0,0.2);
}

.flap-bottom .tape {
  border-top: 1px dashed rgba(0,0,0,0.2);
}

.cta-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(-10deg);
  font-family: 'Bangers', cursive;
  font-size: 3.5rem;
  color: #ff3300;
  text-shadow:
    3px 3px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    5px 5px 5px rgba(0,0,0,0.3);
  white-space: nowrap;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
}

.junk-button:hover .cta-text {
  animation: textZoom 25s linear forwards;
  animation-delay: 0.1s;
}

@keyframes textZoom {
  0%   { transform: translate(-50%, -50%) scale(0) rotate(-20deg); opacity: 0; }
  5%   { opacity: 1; }
  80%  { transform: translate(-50%, -50%) scale(4) rotate(0deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(6) rotate(10deg); opacity: 0; }
}

/* Junk button hover animations */
.junk-button:hover .mover-group-1 {
  opacity: 1;
  animation: walkRight 4s linear infinite;
}

.junk-button:hover .mover-group-2 {
  opacity: 1;
  animation: walkLeft 5s linear infinite;
  animation-delay: 1s;
}

.junk-button:hover .truck {
  opacity: 1;
  animation: truckDrive 6s linear infinite;
  animation-delay: 2s;
}

.junk-button:hover .sheep-flock {
  opacity: 1;
  animation: flockWalk 10s linear infinite;
  animation-delay: 0.5s;
}

.junk-button:hover .t1 { animation: flyTrash 2s ease-out infinite; left: 30%; }
.junk-button:hover .t2 { animation: flyTrash 2.5s ease-out infinite; left: 50%; animation-delay: 0.5s; }
.junk-button:hover .t3 { animation: flyTrash 1.8s ease-out infinite; left: 70%; animation-delay: 1s; }

.mover-container {
  position: absolute;
  bottom: 15px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
}

@keyframes walkRight {
  0%   { left: -100px; }
  100% { left: 700px; }
}

@keyframes walkLeft {
  0%   { right: -50px; transform: scaleX(-1); }
  100% { right: 700px; transform: scaleX(-1); }
}

@keyframes truckDrive {
  0%   { right: -100px; }
  40%  { right: 20px; }
  60%  { right: 20px; }
  100% { right: 700px; }
}

@keyframes flockWalk {
  0%   { left: -250px; }
  100% { left: 700px; }
}

@keyframes flyTrash {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  50%  { transform: translate(20px, -80px) rotate(180deg); opacity: 0.8; }
  100% { transform: translate(40px, 20px) rotate(360deg); opacity: 0; }
}

.sheep-flock {
  position: absolute;
  bottom: 15px;
  left: -250px;
  display: flex;
  align-items: flex-end;
  z-index: 25;
  opacity: 0;
  pointer-events: none;
}

.sheep {
  font-size: 1.5rem;
  filter: brightness(0);
  margin-right: -10px;
  animation: sheepBounce 0.4s infinite alternate ease-in-out;
}

.shepherd {
  font-size: 2rem;
  margin-left: 10px;
  z-index: 26;
  animation: shepherdWalk 0.5s infinite alternate ease-in-out;
}

@keyframes sheepBounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-4px); }
}

@keyframes shepherdWalk {
  from { transform: translateY(0) rotate(2deg); }
  to   { transform: translateY(-2px) rotate(-2deg); }
}

.truck {
  position: absolute;
  bottom: 15px;
  right: -100px;
  font-size: 3rem;
  z-index: 5;
  opacity: 0;
}

.trash {
  position: absolute;
  font-size: 1.2rem;
  bottom: 15px;
  opacity: 0;
  z-index: 2;
}

.mover-1 {
  font-size: 2.5rem;
  z-index: 20;
}

.couch {
  position: absolute;
  font-size: 2rem;
  bottom: 15px;
  left: 10px;
  z-index: 21;
}

.mover-group-2 {
  bottom: 15px;
  z-index: 15;
}

/* Foam particle styles */
.foam-particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}
/* ===== SOCIAL MEDIA BUTTON (DYNAMIC) ===== */
.social-card-container {
  perspective: 1200px;
  width: 600px;
  height: 120px;
  position: relative;
  cursor: pointer;
  z-index: 2;
}

.social-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.social-card-container:hover .social-card-inner {
  transform: rotateY(180deg) rotateX(5deg) translateZ(20px);
}

.social-card-front, .social-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.social-card-front {
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-card-back {
  background: linear-gradient(45deg, #0f0c29, #302b63, #24243e);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.social-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.social-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.2);
}

.social-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.social-card-container:hover .social-shimmer {
  animation: social-shimmer-anim 2s infinite;
  opacity: 1;
}

@keyframes social-shimmer-anim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.social-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
  transition: width 0.1s linear;
  z-index: 3;
}

.launch-btn {
  padding: 10px 20px;
  background: linear-gradient(to right, #3b82f6, #9333ea);
  color: white;
  font-weight: bold;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
  transition: transform 0.2s;
}

.launch-btn:hover {
  transform: scale(1.05);
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  color: white;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.platform-chip:hover {
  background: rgba(255,255,255,0.2);
}
.cleaning-button {
    position: relative;
    width: 600px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 2px solid var(--gold);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    z-index: 2;
}
