/* Services Page Styles */

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px 100px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===== SHARED SERVICE BUTTON BASE ===== */
.service-button {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid #2a2a2a;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

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

/* ===== PET SERVICES BUTTON ===== */
.pet-button {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  min-height: 180px;
  border: 1px solid #2a2a2a;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pet-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(100, 200, 255, 0.3);
}

.panel {
  position: relative;
  overflow: hidden;
  background: #111;
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  min-height: 180px;
}

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

/* ===== TECH BUTTON ===== */
.tech-btn {
  background: radial-gradient(ellipse at 60% 40%, #1c1c2e, #0a0a0a);
  border: 1px solid #333;
  border-radius: 16px;
  display: block;
  min-height: 180px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tech-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(150, 150, 255, 0.3);
}

.mechanism {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.core {
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.core-text {
  font-family: "Orbitron", monospace, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #c0c0ff;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(180, 180, 255, 0.8);
  margin-bottom: 6px;
}

.core-subtext {
  font-size: 0.7rem;
  color: #8888cc;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.circuit-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(100, 100, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 100, 200, 0.06) 1px, transparent 1px);
  background-size: 25px 25px;
  pointer-events: none;
}

.plate {
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(90deg, #1a1a2e, #2a2a4e, #1a1a2e);
  border: 1px solid #3a3a6e;
}

.plate-top {
  top: 0;
  border-radius: 16px 16px 0 0;
}

.plate-bottom {
  bottom: 0;
  border-radius: 0 0 16px 16px;
}

.status-light {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #44ff44;
  box-shadow: 0 0 6px #44ff44;
  animation: blink-tech 1.5s infinite;
}

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

  50% {
    opacity: 0.2;
  }
}

.lock {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #444;
  border-radius: 3px;
  transform: translateY(-50%);
}

.lock-left {
  left: 10px;
}

.lock-right {
  right: 10px;
}

/* ===== JUNK REMOVAL BUTTON ===== */
.junk-button {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(135deg, #1a0a00, #2a1500);
  border: 2px dashed #c9a227;
  min-height: 180px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.scene {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.scene-bg {
  position: relative;
  width: 100%;
  height: 100%;
}

.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;
  right: 0;
  height: 20px;
  background: #c9a227;
  z-index: 5;
}

.flap-top {
  top: 0;
  border-radius: 16px 16px 0 0;
}

.flap-bottom {
  bottom: 0;
  border-radius: 0 0 16px 16px;
}

.tape {
  width: 40px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto;
  opacity: 0.5;
}

.cta-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 900;
  color: #c9a227;
  text-shadow: 0 0 10px #c9a227, 0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 2px;
  white-space: nowrap;
  z-index: 10;
  text-align: center;
}

/* Foam particle styles */
.foam-particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}
