export default function Chair({ position = [0, 0, 0], rotation = [0, 0, 0] }) {
  return (
    <group position={position} rotation={rotation}>
      <mesh castShadow receiveShadow position={[0, 0.42, 0]}>
        <boxGeometry args={[0.7, 0.12, 0.7]} />
        <meshStandardMaterial color="#6e719c" roughness={0.9} />
      </mesh>
      <mesh castShadow receiveShadow position={[0, 0.9, -0.24]}>
        <boxGeometry args={[0.7, 0.84, 0.12]} />
        <meshStandardMaterial color="#6e719c" roughness={0.9} />
      </mesh>
      <mesh castShadow receiveShadow position={[0, 0.2, 0]}>
        <cylinderGeometry args={[0.07, 0.07, 0.42, 10]} />
        <meshStandardMaterial color="#3d4259" roughness={0.8} />
      </mesh>
      <mesh castShadow receiveShadow position={[0, 0.04, 0]}>
        <cylinderGeometry args={[0.32, 0.22, 0.08, 12]} />
        <meshStandardMaterial color="#32364a" roughness={0.8} />
      </mesh>
    </group>
  );
}
